Class StoreMessageOnBehalfOfPlayerAction
java.lang.Object
games.stendhal.server.actions.admin.AdministrationAction
games.stendhal.server.actions.admin.StoreMessageOnBehalfOfPlayerAction
- All Implemented Interfaces:
ActionListener
,TurnListener
public class StoreMessageOnBehalfOfPlayerAction
extends AdministrationAction
implements TurnListener
Stores a message to another player on behalf of any player
for admins >= level 2000 (e.g. postman)
-
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
Modifier and TypeMethodDescriptionvoid
onTurnReached(int currentTurn)
Completes handling the store message actionvoid
static void
register()
Methods inherited from class games.stendhal.server.actions.admin.AdministrationAction
getLevelForCommand, getTarget, getTargetAnyZone, isPlayerAllowedToExecuteAdminCommand, onAction, registerActions, registerCommandLevel
-
Constructor Details
-
StoreMessageOnBehalfOfPlayerAction
public StoreMessageOnBehalfOfPlayerAction()
-
-
Method Details
-
register
public static void register() -
perform
- Specified by:
perform
in classAdministrationAction
-
onTurnReached
public void onTurnReached(int currentTurn)Completes handling the store message action- Specified by:
onTurnReached
in interfaceTurnListener
- Parameters:
currentTurn
- ignored
-