public class TitleCommand extends GlowVanillaCommand
GlowVanillaCommand.CommandMessages, GlowVanillaCommand.GenericMessage
CACHE_SIZE, JOINER
Constructor and Description |
---|
TitleCommand()
Creates the instance for this command.
|
Modifier and Type | Method and Description |
---|---|
String |
convertJson(@NonNls Map<String,Object> json)
Converts a valid JSON chat component to a basic colored string.
|
boolean |
execute(org.bukkit.command.CommandSender sender,
String commandLabel,
String[] args,
GlowVanillaCommand.CommandMessages commandMessages)
Executes the command, returning its success.
|
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, tabComplete, testPermission, testPermissionSilent, toString, unregister
public String convertJson(@NonNls @NonNls Map<String,Object> json)
json
- the json chat componentpublic boolean execute(org.bukkit.command.CommandSender sender, String commandLabel, String[] args, GlowVanillaCommand.CommandMessages commandMessages)
GlowVanillaCommand
execute
in class GlowVanillaCommand
sender
- Source object which is executing this commandcommandLabel
- The alias of the command usedargs
- All arguments passed to the command, split via ' 'commandMessages
- Object containing the title, description and permission message in
the sender's locale, or set with settersCopyright © 2021. All rights reserved.