Package ch.njol.skript.command
Class Commands
java.lang.Object
ch.njol.skript.command.Commands
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
copied from CraftBukkit (org.bukkit.craftbukkit.help.CommandAliasHelpTopic) -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static @Nullable org.bukkit.command.SimpleCommandMap
static @Nullable ScriptCommand
loadCommand(SectionNode node)
static @Nullable ScriptCommand
loadCommand(SectionNode node, boolean alsoRegister)
static void
registerCommand(ScriptCommand command)
static void
static boolean
skriptCommandExists(String command)
static int
unregisterCommands(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()
-