Class JailAction

java.lang.Object
games.stendhal.server.entity.npc.action.JailAction
All Implemented Interfaces:
ChatAction, PostTransitionAction

@Dev(category=OTHER, label="Jail-") public class JailAction extends Object implements ChatAction
Action for an NPC to jail a player
Author:
kymara
  • Constructor Details

    • JailAction

      public JailAction(int minutes, String reason)
      Creates a new JailAction.
      Parameters:
      minutes - sentence duration in minutes
      reason - reason for jailing player
  • Method Details