Skip to main content

Zones management

This page explains how admins create and maintain zones: drawing their area on the map and how they look on the live map. A zone is only an area. What is allowed inside it โ€” or outside it โ€” is decided by zone rules, which are actions.

Navigation path:

  • Server Admin โ†’ Zones

Access requirementsโ€‹

  • zones.view to open the list
  • zones.create to create zones
  • zones.edit to update zones
  • zones.delete to remove zones

The zone mapโ€‹

The page is a map with every zone drawn on it. On a computer the list of zones sits on the left and the selected zone's settings on the right; on a phone the list and the settings slide up from the bottom, and the map stays visible above them.

  • Tap a zone in the list or directly on the map to select it. The map moves to the zone.
  • The search field narrows the list.
  • A link to a zone (?open=<id>, for example from the admin search) opens the page with that zone selected.

Zone settingsโ€‹

The settings of the selected zone, in this order:

  • Name and Active. Only active zones count for zone rules and appear on the live map. An inactive zone counts as if it did not exist โ€” see Inactive zones.
  • Rules โ€” a note that zone rules are actions now, with a link to the actions. A zone's rules are set up there (see Zone rules).
  • Map display โ€” the colour on the live map, whether and how players inside the zone are shown, and whether the player count is shown, and Visible to guests (outline and name on the map everyone sees, when the server shows its map to guests โ€” never players). Border style and the opacity of area and label are under Fine-tuning.
  • Mark in game โ€” optional: an object (spawn item class) placed in the game at every corner of the zone, for example a wreck as a visible border, with a Spawn Y offset added to the surface height (the ground, or the first walkable surface above it such as a pier, bridge or building floor).

Changes are kept until you Save or Discard them. Selecting another zone or closing the panel with unsaved changes asks first. Duplicate and Delete are in the โ‹ฏ menu.

Editing the areaโ€‹

Edit area switches the map into editing mode; the other zones stay visible, dimmed.

  • Drag a corner to move it. On a phone a loupe above your finger shows what lies under it.
  • Tap the + on an edge to insert a corner there (or drag the + to place it right away).
  • Tap a corner and choose Delete point to remove it.
  • Click or tap the map to add a point; it goes into the nearest edge.
  • Undo reverts the last step, Clear all removes every point.

If corners lie too close together to grab, zoom in further. A zone needs at least three points. Done keeps the new area in the zone's unsaved changes; Cancel (phone) restores the area from before.

To create a zone, use + Zone: tap the map to place the first points, continue with Next once there are three, then set the name and Create the zone.

Zone rulesโ€‹

Zone rules are three verified actions in the action marketplace (Server Admin โ†’ Automations โ†’ Marketplace). Each one bans a player automatically for something they do in the zones you pick:

ActionBans a player who โ€ฆ
Zone Kill Autobankills another player where killing is not allowed
Zone Build Autobanbuilds, rebuilds, takes apart or destroys base parts where that is not allowed. The switches building and rebuilding and taking apart and destroying (both on) choose what counts
Zone Access: Linked Accounts Onlyshows up in the zones while neither they nor another account on one of their devices has linked a dzbot account. Every logged sign of the player counts: the five-minute position ping, login, respawn, a kill, building, placing or packing items, flags, emotes and the like

Zone Kill Autoban and Zone Build Autoban ask where their rule applies:

  • Inside these zones โ€” the zones are forbidden ground: a safe zone, a trader.
  • Outside all of these zones โ€” everything except the zones is forbidden ground. This is the setting for a PvE server that allows PvP only in its military zones.

By default a kill counts at both ends: Zone Kill Autoban punishes the killer when the victim died in the forbidden area or the killer stood in it โ€” shooting out of a safe zone is punished as well as shooting into it. Kills logged before this was introduced have no killer position and count by where the victim died.

The field Which end of a kill counts changes that: Victim only judges a kill only by where the victim died, so a player inside a PvP zone can be shot from anywhere, even from outside the zone. Killer only judges it only by where the killer stood. Keep Both for safe zones.

Each zone rule can be installed several times, once per set of zones and exemptions. Give every installation a label; it is shown after the name, for example Zone Kill Autoban ยท Safezone, Trader. Installing takes automations.manage_marketplace, changing an installed rule automations.edit.

Common setupsโ€‹

  • Safe zone or trader: install Zone Kill Autoban and Zone Build Autoban, each with the zone and Inside these zones.
  • PvE server with PvP areas: draw your military zones and install Zone Kill Autoban with them and Outside all of these zones. A kill anywhere else is banned. To let players shoot into a PvP zone from outside, set Which end of a kill counts to Victim only.
  • PvE during the week, full PvP at weekends: set up the PvE rule above, then add a weekly automation Switch an automation on or off that pauses Zone Kill Autoban from Friday evening, with a duration until Monday โ€” at the end it is switched back on by itself. Kills are checked when the log arrives, a few minutes late, so switch it back on with a few minutes to spare.
  • Members-only area: install Zone Access: Linked Accounts Only with the zone.

Exemptionsโ€‹

Each installation has its own exemptions: players, factions (with also allies of these factions, members of factions allied with them count too) and dzbot groups.

Always exempt, without any setting:

  • players with the access right Ignored by zone rules (player.zones.ignored_by_check),
  • participants of a running event that lists the zone under Zone exemptions โ€” see Events.

Every exemption covers the player's other accounts on the same device: if any of them is exempt, so is the player.

What happens on a violationโ€‹

  • Ban (on by default): switch it off to only report โ€” every case is then listed in the action's log and, if set, posted to the Discord channel, but nobody is banned. Useful for the first days of a new rule.
  • Ban length (from 1 hour to 6 months, permanent โ€” the default โ€” or until a date), ban reason (what happened, where and when is always added), ban all accounts (off: only the account that broke the rule) and ban on every server of the organization (on by default).
  • Discord channel (optional): every case is posted there with a map link.

Inactive zonesโ€‹

An inactive zone counts as if it did not exist. For an inside rule, nothing in that zone is punished. For an outside rule, the zone's area becomes forbidden ground. Together with a Switch a zone on or off automation, a PvP zone that is only active at weekends allows PvP there only at weekends. A changed zone counts for new events within about ten seconds.

Rules set up before zone rules were actionsโ€‹

Rules switched on in a zone before (no kills, no building, linked accounts only, with their excluded players, groups and factions) were turned into zone rule installations automatically โ€” one per server, rule and set of exemptions, labelled with the zone names. They ban exactly as before: permanently, on every server of the organization, only the account that broke the rule. There is nothing for you to do.

Operational notesโ€‹

  • Zones are only active when the Active toggle is enabled. To switch a zone on and off at set times, use a Switch a zone on or off automation โ€” with a duration, it switches the zone back afterwards.
  • Spawn item and Y offset are optional; leave them empty if the zone should not spawn anything.
  • Every log event with a position records the active zones it happened in. Actions read them as data.zones and can pick zones with a zone_select field โ€” see Zones of an event. Your own actions can check the exemptions described above with zone.exempt.