Package ch.njol.skript.bukkitutil
Class CommandReloader
java.lang.Object
ch.njol.skript.bukkitutil.CommandReloader
Utilizes CraftServer with reflection to re-send commands to clients.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
syncCommands(org.bukkit.Server server)
Attempts to register Bukkit commands to Brigadier and synchronize them to all clients.
-
Constructor Details
-
CommandReloader
public CommandReloader()
-
-
Method Details
-
syncCommands
public static boolean syncCommands(org.bukkit.Server server)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.
-