Class GhostModeAction

java.lang.Object
games.stendhal.server.actions.admin.AdministrationAction
games.stendhal.server.actions.admin.GhostModeAction
All Implemented Interfaces:
ActionListener

public class GhostModeAction extends AdministrationAction
changes the ghostmode flag of admins
  • Constructor Details

    • GhostModeAction

      public GhostModeAction()
  • Method Details

    • register

      public static void register()
    • perform

      public void perform(Player player, RPAction action)
      Specified by:
      perform in class AdministrationAction
    • activateGhostmode

      public static void activateGhostmode(Player player)
      activtes ghostmode and makes the player invisible to monsters.
      Parameters:
      player - the admin