Class CommandReloader

java.lang.Object
ch.njol.skript.bukkitutil.CommandReloader

@Deprecated(since="2.17", forRemoval=true) public class CommandReloader extends Object
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

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.