Package ch.njol.skript.command
Class Commands
java.lang.Object
ch.njol.skript.command.Commands
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
copied from CraftBukkit (org.bukkit.craftbukkit.help.CommandAliasHelpTopic) -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
A Converter flag declaring that a Converter cannot be used for parsing command arguments.static final Message
static final Message
static final ArgsMessage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static @Nullable org.bukkit.command.SimpleCommandMap
static @Nullable ScriptCommand
getScriptCommand
(String key) static void
registerCommand
(ScriptCommand command) static void
static boolean
scriptCommandExists
(String command) static boolean
skriptCommandExists
(String command) Deprecated.static String
static void
unregisterCommand
(ScriptCommand scriptCommand) static int
unregisterCommands
(File script) Deprecated.
-
Field Details
-
m_too_many_arguments
-
m_internal_error
-
m_correct_usage
-
CONVERTER_NO_COMMAND_ARGUMENTS
public static final int CONVERTER_NO_COMMAND_ARGUMENTSA Converter flag declaring that a Converter cannot be used for parsing command arguments.- See Also:
-
currentArguments
-
-
Constructor Details
-
Commands
public Commands()
-
-
Method Details
-
getScriptCommands
-
getCommandMap
@Nullable public static @Nullable org.bukkit.command.SimpleCommandMap getCommandMap() -
escape
-
unescape
-
getScriptCommand
-
skriptCommandExists
Deprecated. -
scriptCommandExists
-
registerCommand
-
unregisterCommands
Deprecated. -
unregisterCommand
-
registerListeners
public static void registerListeners()
-