How to make a zone with anonymity and a ban on chat

Path: data/zone
Format: XML

Example Zone Configuration:
XML:
    <zone name="[queen_ant_epic]" type="epic" >
        <set name="anonymousZone" val="true" />
        <set name="anonymousCharName" val="Hidden" />
        <set name="anonymousZoneBlockChat" val="true" />
        <set name="anonymousZoneBlockChatMinutes" val="9999" />
        <polygon>
            <coords loc="-23176 185080 -6000 -5500" />
            <coords loc="-20104 185080 -6000 -5500" />
            <coords loc="-20104 177928 -6000 -5500" />
            <coords loc="-23176 177928 -6000 -5500" />
        </polygon>
    </zone>

Parameters:
  • <set name="anonymousZone" val="true" /> - enables anonymity (hides player’s name).
  • <set name="anonymousCharName" val="Hidden" /> - sets the display name (default: "Hidden").
  • <set name="anonymousZoneBlockChat" val="true" /> - enables a chat ban.
  • <set name="anonymousZoneBlockChatMinutes" val="9999" /> - chat ban duration in minutes.
Features:
  • On entering the zone, the player’s name changes to anonymousCharName, and chat is blocked for the specified duration.
  • On leaving the zone, name and chat are restored.
  • Players with cursed weapons are teleported to the nearest town.
  • Restrictions do not apply to GM players.
 
Last edited:
Back
Top