Class PlayerVisitedZonesCondition

java.lang.Object
games.stendhal.server.entity.npc.condition.PlayerVisitedZonesCondition
All Implemented Interfaces:
ChatCondition, PreTransitionCondition

@Dev(category=LOCATION, label="Zone?") public class PlayerVisitedZonesCondition extends Object implements ChatCondition
Checks if player has visited a list of certain zones
Author:
madmetzger
  • Constructor Details

    • PlayerVisitedZonesCondition

      public PlayerVisitedZonesCondition(String... zones)
      Creates a new PlayerVisitedZonesCondition
      Parameters:
      zones - the zone names
  • Method Details