Class GhostModeAction
java.lang.Object
games.stendhal.server.actions.admin.AdministrationAction
games.stendhal.server.actions.admin.GhostModeAction
- All Implemented Interfaces:
ActionListener
changes the ghostmode flag of admins
-
Field Summary
Fields inherited from class games.stendhal.server.actions.admin.AdministrationAction
logger, REQUIRED_ADMIN_LEVEL_FOR_SUPER, REQUIRED_ADMIN_LEVEL_FOR_SUPPORT
-
Constructor Summary
-
Method Summary
Methods inherited from class games.stendhal.server.actions.admin.AdministrationAction
getLevelForCommand, getTarget, getTargetAnyZone, isPlayerAllowedToExecuteAdminCommand, onAction, registerActions, registerCommandLevel
-
Constructor Details
-
GhostModeAction
public GhostModeAction()
-
-
Method Details
-
register
public static void register() -
perform
- Specified by:
perform
in classAdministrationAction
-
activateGhostmode
activtes ghostmode and makes the player invisible to monsters.- Parameters:
player
- the admin
-