public class TitleCommand extends GlowVanillaCommand
GlowVanillaCommand.CommandMessages, GlowVanillaCommand.GenericMessageCACHE_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, testPermissiongetDouble, getDouble, getInteger, getRelativeDouble, matchesbroadcastCommandMessage, broadcastCommandMessage, getAliases, getDescription, getLabel, getName, getPermission, getPermissionMessage, getTimingName, getUsage, isRegistered, register, setAliases, setDescription, setLabel, setName, setPermission, setPermissionMessage, setUsage, tabComplete, tabComplete, testPermission, testPermissionSilent, toString, unregisterpublic 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)
GlowVanillaCommandexecute in class GlowVanillaCommandsender - 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.