Class InfoCommand
- java.lang.Object
-
- com.pneumaticraft.commandhandler.Command
-
- com.onarandombox.MultiverseCore.commands.MultiverseCommand
-
- com.onarandombox.MultiverseCore.commands.InfoCommand
-
public class InfoCommand extends MultiverseCommand
Returns detailed information about a world.
-
-
Field Summary
-
Fields inherited from class com.onarandombox.MultiverseCore.commands.MultiverseCommand
messaging, plugin
-
-
Constructor Summary
Constructors Constructor Description InfoCommand(MultiverseCore plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.bukkit.ChatColor
getChatColor(boolean positive)
Gets a "positive" or "negative"ChatColor
.void
runCommand(org.bukkit.command.CommandSender sender, java.util.List<java.lang.String> args)
-
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
-
InfoCommand
public InfoCommand(MultiverseCore plugin)
-
-
Method Detail
-
runCommand
public void runCommand(org.bukkit.command.CommandSender sender, java.util.List<java.lang.String> args)
- Specified by:
runCommand
in classMultiverseCommand
-
getChatColor
protected org.bukkit.ChatColor getChatColor(boolean positive)
Gets a "positive" or "negative"ChatColor
.- Parameters:
positive
- Whether thisChatColor
should be "positive".- Returns:
- The
ChatColor
.
-
-