public class DifficultyCommand extends GlowVanillaCommand
GlowVanillaCommand.CommandMessages, GlowVanillaCommand.GenericMessage
CACHE_SIZE, JOINER
Constructor and Description |
---|
DifficultyCommand()
Creates the instance for this command.
|
Modifier and Type | Method and Description |
---|---|
boolean |
execute(org.bukkit.command.CommandSender sender,
String label,
String[] args,
GlowVanillaCommand.CommandMessages messages)
Executes the command, returning its success.
|
List<String> |
tabComplete(org.bukkit.command.CommandSender sender,
String alias,
String[] args) |
execute, getBundle, getBundle, readResourceBundle, sendUsageMessage, testPermission
getDouble, getDouble, getInteger, getRelativeDouble, matches
broadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, testPermission, testPermissionSilent, toString, unregister
public DifficultyCommand()
public boolean execute(org.bukkit.command.CommandSender sender, String label, String[] args, GlowVanillaCommand.CommandMessages messages)
GlowVanillaCommand
execute
in class GlowVanillaCommand
sender
- Source object which is executing this commandlabel
- The alias of the command usedargs
- All arguments passed to the command, split via ' 'messages
- Object containing the title, description and permission message in
the sender's locale, or set with setterspublic List<String> tabComplete(org.bukkit.command.CommandSender sender, String alias, String[] args) throws IllegalArgumentException
tabComplete
in class org.bukkit.command.Command
IllegalArgumentException
Copyright © 2021. All rights reserved.