Class CommandReload

java.lang.Object
valorless.rarespawns.commands.CommandReload

public class CommandReload extends Object
Command handler that reloads plugin configuration and content.

Supports selective reload of abilities, config, entities, and items. When reloading entities, it optionally updates existing rare entities in worlds to match the latest definitions.

  • Constructor Details

    • CommandReload

      public CommandReload()
  • Method Details

    • Run

      public static boolean Run(RSCommand command)
      Executes the reload command. Usage: /rs reload [abilities|config|entities|items] If no argument is provided, performs a full reload.
      Parameters:
      command - encapsulated command context
      Returns:
      true if command was handled without errors