Package ch.njol.skript.command
Class Commands
java.lang.Object
ch.njol.skript.command.Commands
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classcopied from CraftBukkit (org.bukkit.craftbukkit.help.CommandAliasHelpTopic) -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic @Nullable org.bukkit.command.SimpleCommandMapstatic @Nullable ScriptCommandloadCommand(SectionNode node)static @Nullable ScriptCommandloadCommand(SectionNode node, boolean alsoRegister)static voidregisterCommand(ScriptCommand command)static voidstatic booleanskriptCommandExists(String command)static intunregisterCommands(File script)
-
Field Details
-
m_too_many_arguments
-
m_internal_error
-
m_correct_usage
-
currentArguments
-
-
Constructor Details
-
Commands
public Commands()
-
-
Method Details
-
getScriptCommands
-
getCommandMap
public static @Nullable org.bukkit.command.SimpleCommandMap getCommandMap() -
loadCommand
-
loadCommand
-
skriptCommandExists
-
registerCommand
-
unregisterCommands
-
registerListeners
public static void registerListeners() -
clearCommands
public static void clearCommands()
-