Class ModifyCommand
- java.lang.Object
-
- com.pneumaticraft.commandhandler.Command
-
- com.onarandombox.MultiverseCore.commands.MultiverseCommand
-
- com.onarandombox.MultiverseCore.commands.ModifyCommand
-
public class ModifyCommand extends MultiverseCommand
Used to modify various aspects of worlds.
-
-
Field Summary
-
Fields inherited from class com.onarandombox.MultiverseCore.commands.MultiverseCommand
messaging, plugin
-
-
Constructor Summary
Constructors Constructor Description ModifyCommand(MultiverseCore plugin)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
runCommand(org.bukkit.command.CommandSender sender, java.util.List<java.lang.String> args)
protected static boolean
validateAction(Action action, java.lang.String property)
Validates the specified action.-
Methods inherited from class com.pneumaticraft.commandhandler.Command
addAdditonalPermission, addCommandExample, addKey, addKey, checkArgLength, getAllPermissionStrings, getCommandDesc, getCommandExamples, getCommandName, getCommandUsage, getKey, getKeys, getKeyStrings, getMaxArgs, getMinArgs, getNumKeyArgs, getPermission, getPermissionString, getPlugin, isOpRequired, removeKeyArgs, setArgRange, setCommandUsage, setName, setPermission, setPermission, showHelp
-
-
-
-
Constructor Detail
-
ModifyCommand
public ModifyCommand(MultiverseCore plugin)
-
-
Method Detail
-
validateAction
protected static boolean validateAction(Action action, java.lang.String property)
Validates the specified action.- Parameters:
action
- TheAction
.property
- The property.- Returns:
- Whether this action is valid.
-
runCommand
public void runCommand(org.bukkit.command.CommandSender sender, java.util.List<java.lang.String> args)
- Specified by:
runCommand
in classMultiverseCommand
-
-