How to create a zone limited by the number of members of the clan "AntiZerg zone"

Deazer

Head Developer
Staff member
Path: data/zone
Format: XML

To limit we take any zone, for example:
XML:
<zone name="[queen_ant_epic]" type="epic" >
        <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>

Next, we need to add parameters to it that will add restrictions:
XML:
    <zone name="[queen_ant_epic]" type="epic" >
        <set name="restrictInsideClanCount" val="5" />
        <set name="restrictInsidePerClanPlayerCount" val="10" />
        <set name="restrictClanCapacityBackLoc" val="-25464 172424 -4203" />
        <set name="restrictInsideNonClanCount" val="0" />
        <set name="restrictClanLevelMin" val="0" />
        <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>

If you want to restrict clans and their alliances then you use another parameter:
*Clans without ally can pass 10 ppls too.
XML:
    <zone name="[queen_ant_epic]" type="epic" >
        <set name="restrictInsideClanCount" val="5" />
        <set name="restrictInsidePerAlliancePlayerCount" val="10" />
        <set name="restrictClanCapacityBackLoc" val="-25464 172424 -4203" />
        <set name="restrictInsideNonClanCount" val="0" />
        <set name="restrictClanLevelMin" val="0" />
        <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>


Description of parameters:
<set name="restrictInsideClanCount" val="5" /> - then the maximum number of clans within the zone
<set name="restrictClanCapacityBackLoc" val="-25464 172424 -4203" /> - the coordinate to which the participants will be sent that do not meet the conditions
<set name="restrictInsidePerClanPlayerCount" val="10" /> - then the maximum number of participants in one clan - members.
<set name="restrictClanLevelMin" val="0" /> - clan level limit in zone. 0 by default - any clan member can enter.
<set name="restrictInsideNonClanCount" val="0" /> - the number of players WITHOUT a clan who will be allowed into the zone. Default 0 - don't let anyone in without clan
AND (if you need limit ally members too)
<set name="restrictInsidePerAlliancePlayerCount" val="10" /> - then the maximum number of participants in one clan and players inside ally clans - members.
 
Last edited:
if someone puts this setting there is a problem, anyone not in a clan can't enter!!
how can i prevent this from happening?
 
I'm writing it here so you don't forget, because you definitely have a lot to do since the tickets for the classic alone are over 200.
 
added the option to allow players without a clan to enter the zone
<set name="restrictInsideNonClanCount" val="0" /> - the number of players WITHOUT a clan who will be allowed into the zone. Default 0 - don't let anyone in without clan
AND (if you need limit ally members too)

Good afternoon friend, this parameter is not working, my friend Gilmei bought the REV from you, I'm editing it for him, if you can take a look at this parameter, and see if everything is ok. Thank you, and success!
 
<set name="restrictInsideNonClanCount" val="0" /> - the number of players WITHOUT a clan who will be allowed into the zone. Default 0 - don't let anyone in without clan
AND (if you need limit ally members too)

Good afternoon friend, this parameter is not working, my friend Gilmei bought the REV from you, I'm editing it for him, if you can take a look at this parameter, and see if everything is ok. Thank you, and success!
it works right, just set the number you want them to enter without clan put example 10000.

<set name="restrictInsideNonClanCount" val="10000" />
 
I've tried every way, I set the option to limit 27 players per Clan so there wouldn't be zerg, and I set the option for players to go without a clan too, but every time a player without a clan goes to the area, they are teleported
 
I've tried every way, I set the option to limit 27 players per Clan so there wouldn't be zerg, and I set the option for players to go without a clan too, but every time a player without a clan goes to the area, they are teleported
CSS:
        <set name="enabled" val="True" />
        <set name="restrictInsidePerClanPlayerCount" val="27" />
        <set name="restrictInsidePerAlliancePlayerCount" val="27"/>
        <set name="restrictInsideNonClanCount" val="10000" />
        <set name="restrictClanCapacityBackLoc" val="83255 148626 -3408" />
        <set name="uniqHwidLimit" val="1" />

 
Last edited:
It is mandatory to add this parameter for each restriction? <set name="restrictClanCapacityBackLoc" val="-25464 172424 -4203" />
 
Back
Top