Package ch.njol.skript.command
Class Commands
java.lang.Object
ch.njol.skript.command.Commands
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
copied from CraftBukkit (org.bukkit.craftbukkit.help.CommandAliasHelpTopic) -
Field Summary
FieldsModifier 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
Constructors -
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, for removal: This API element is subject to removal in a future version.static String
static void
unregisterCommand
(ScriptCommand scriptCommand) static int
unregisterCommands
(File script) Deprecated, for removal: This API element is subject to removal in a future version.
-
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(since="2.8.0", forRemoval=true) public static boolean skriptCommandExists(String command) Deprecated, for removal: This API element is subject to removal in a future version.UsescriptCommandExists(String)
instead. -
scriptCommandExists
-
registerCommand
-
unregisterCommands
Deprecated, for removal: This API element is subject to removal in a future version. -
unregisterCommand
-
registerListeners
public static void registerListeners()
-
scriptCommandExists(String)
instead.