Class CommandGetItem

java.lang.Object
valorless.rarespawns.commands.CommandGetItem

public class CommandGetItem extends Object
Command handler that gives a configured item to the player.

Supports optionally generating a randomized variant of the item. Usage: /rare item [random]

  • Constructor Details

    • CommandGetItem

      public CommandGetItem()
  • Method Details

    • Run

      public static boolean Run(RSCommand command)
      Executes the get item command.
      Parameters:
      command - encapsulated command context
      Returns:
      true if command was handled