Class CommandReloader
java.lang.Object
ch.njol.skript.bukkitutil.CommandReloader
Deprecated, for removal: This API element is subject to removal in a future version.
This behavior should not be relied upon. There is no replacement.
Utilizes CraftServer with reflection to re-send commands to clients.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleansyncCommands(org.bukkit.Server server) Deprecated, for removal: This API element is subject to removal in a future version.Attempts to register Bukkit commands to Brigadier and synchronize them to all clients.
-
Constructor Details
-
CommandReloader
public CommandReloader()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
syncCommands
public static boolean syncCommands(org.bukkit.Server server) Deprecated, for removal: This API element is subject to removal in a future version.Attempts to register Bukkit commands to Brigadier and synchronize them to all clients. This may fail for any reason or no reason at all!- Parameters:
server- Server to use.- Returns:
- Whether it is likely that we succeeded or not.
-