Class GiveAllCommand

java.lang.Object
emu.grasscutter.command.commands.GiveAllCommand
All Implemented Interfaces:
CommandHandler

public final class GiveAllCommand extends Object implements CommandHandler
  • Constructor Details

    • GiveAllCommand

      public GiveAllCommand()
  • Method Details

    • execute

      public void execute(Player sender, Player targetPlayer, List<String> args)
      Description copied from interface: CommandHandler
      Called when a player/console invokes a command.
      Specified by:
      execute in interface CommandHandler
      Parameters:
      sender - The player/console that invoked the command.
      args - The arguments to the command.
    • giveAllItems

      public void giveAllItems(Player player, int amount)
    • isTestAvatar

      public boolean isTestAvatar(int avatarId)
    • isTestItem

      public boolean isTestItem(int itemId)