Skip to main content

Base alarms

This page explains how base alarms work in dzbot, how notifications are sent, and which rights are needed for staff and players.

What a base alarm doesโ€‹

A base alarm monitors a configured position and radius.

  • when relevant player activity happens inside that area, a notification is sent
  • notifications go either to direct messages (DM mode) or a dedicated Discord channel (channel mode)
  • base alarms can belong to a player or a faction

Core lifecycleโ€‹

Base alarms are usually managed in this lifecycle:

  1. Create alarm (personal or faction-related).
  2. Set/check position and verify radius behavior.
  3. Define recipients (owner, faction members, and optional extra players).
  4. Keep alarm active (and its package paid).
  5. Review recent alarm timeline and adjust if needed.

Players book alarms themselves as a package โ€” a subscription offer with the benefit Base alarm that the server team sets up, for themselves or for their faction. A booked alarm can only be placed near a spot where the buyers built in the last 30 days: the player alone, or the faction's members, linked accounts included. That keeps players from watching other people's bases. Staff place free alarms anywhere from the admin base alarm page.

The radius of a booked alarm comes from its package; moving to a higher tier gives the alarm the bigger radius right away. Admins set the radius of the alarms they create themselves.

Every alarm is shown by a four-character code such as #7KQM, in the app and in Discord. The code is random, so it reveals nothing about how many alarms exist. Staff find an alarm by its code in the admin base alarm list and in the global admin search.

Trigger and recipient mechanicsโ€‹

Trigger conditionsโ€‹

An alarm is considered for notification only when all of these are true:

  • alarm is active
  • alarm is in range of the event position
  • alarm is not paused because its package is unpaid

Data freshness note: trigger timelines and nearby activity context depend on imported server logs and may appear with delay (see Logs import).

Who receives notificationsโ€‹

Recipients are based on alarm ownership and sharing:

  • personal alarm owner
  • manually added players (notification recipients only)
  • all members of the linked faction (for faction alarms)

Muted users are excluded from DM delivery.

In shop UI, manually added players on personal alarms receive notifications but do not get management access to that alarm page.

Who does not trigger an alarmโ€‹

The system excludes allowed players and their linked device-players from trigger notifications. This avoids self-alert noise from owners/members and their linked accounts.

For a faction alarm, members of allied factions do not trigger it either, as long as the alarm's switch Allies do not trigger the alarm is on. It is on by default, also for alarms that existed before; members with change_base_alarm can turn it off per alarm, for example when the faction does not trust its allies near the base.

Payment modelโ€‹

Every base alarm belongs to a subscription. That subscription is either a booked package or one the server team set up.

  • Packages are subscriptions players and factions book: the server team decides the radius and the price โ€” in-game money per hour, per month or once until the next wipe, or real money monthly or once until the next wipe (see Base alarm packages). The alarm is created when the package starts and belongs to it.
  • Alarms the server team sets up on the admin base alarm page, on a faction's page or through the AI companion are subscriptions without an offer. Staff choose the holder (a player or a faction), the radius, and a price per hour, per month or once until the next wipe โ€” at price 0, the default, the alarm is free and nothing is ever charged. Holder, radius, price and billing of such an alarm are changed on the alarm itself; deleting it ends its subscription.
  • Hourly billing charges the holder's wallet (or the faction treasury) once an hour, the first hour right away. An hour in which the alarm is switched off by its owner, the server is switched off in dzbot, or the subscription is paused is not charged.
  • While a charge is unpaid, the alarm is off and shows Paused โ€“ not paid; dzbot tries again (every hour for an hourly one, daily for a monthly one) and switches the alarm back on by itself once a charge goes through. After 7 days without payment a monthly subscription ends; an hourly one waits, paused, until it is paid.
  • When the subscription ends โ€” cancelled, a monthly one unpaid for 7 days, ended by staff, or at the wipe for one until the wipe โ€” the alarm and its Discord channel go away. The alarm of a booked package cannot be deleted on its own: end the subscription instead.
  • Owner and radius of a package alarm come from its subscription: to give it to someone else or change its radius, edit the subscription, and the alarm follows. An alarm paused because its subscription is unpaid cannot be switched on by hand. Everything else โ€” extra players, allies, the Discord channel, the position โ€” is edited on the alarm as usual.

Alarms from before subscriptionsโ€‹

Base alarms used to be bought by the hour. Every such alarm became a subscription without an offer automatically: one with an hourly price is billed by the hour as before, from the same wallet, and one without a price stays free. An alarm that was switched off stays off and is not charged until it is switched on again. The free base alarm coupons from the Wheel of Fortune are gone with the old billing.

For the wider economy model, see Transactions concept.

Notification modesโ€‹

Players who show up together share one alert: dzbot collects everyone the alarm sees for about 15 seconds after the first one and then sends a single message naming all of them. Each one is listed with their distance from the alarm's centre and when they were seen, in each reader's own time zone. On Chernarus, Livonia, Sakhal and Nasdara the alert also carries a map of the area with your base and every intruder marked. Buttons open the spot on the server's map and the alarm's details page.

DM modeโ€‹

If no dedicated Discord channel is set, eligible recipients receive direct notifications.

Channel modeโ€‹

If a channel is assigned, alerts are sent to that channel instead of individual DMs. They are written in the server's language.

With a base alarm category set, dzbot can create a private channel for an alarm. It keeps that channel's name and permissions up to date and deletes it when the alarm is deleted. Once the category holds Discord's maximum of 50 channels, new channels go into a follow-up category next to it. If the channel cannot be created โ€” the bot lacks the Manage Channels permission, or the Discord server has reached 500 channels โ€” the alarm is still saved and you see why. A channel you picked yourself is never renamed, moved, re-permissioned or deleted by dzbot โ€” it only posts the alerts there.

Note: muting is DM-specific. In channel mode, alerts are posted to the channel.

Access-right modelโ€‹

Base alarms use server-level rights plus optional faction-member rights.

Server-level base alarm rightsโ€‹

  • base_alarm.access: open and use player-facing base alarm pages
  • base_alarm.create: book base alarm packages, personal and for a faction (together with subscriptions.use)
  • admin.base_alarm.access: access full admin overview and broad visibility
  • admin.base_alarm.create: create base alarms from admin workflows
  • admin.base_alarm.edit: bypass normal ownership restrictions for editing
  • base_alarm.delete: remove alarms from admin area
  • admin.factions.access: broad faction workspace access
  • faction member right change_base_alarm: allows members to manage faction alarm changes

Booking a package uses base_alarm.create and subscriptions.use (plus the faction member right change_base_alarm for a faction alarm). What can be booked at all is decided by the base alarm offers the server has: without an active one, nothing can be booked.

Faction alarm management in shop detail views still depends on faction membership checks unless admin.base_alarm.edit is granted.

Admin rights assignment guidanceโ€‹

Recommended practical bundles:

  • Player self-service: base_alarm.access, base_alarm.create, subscriptions.use
  • Faction operator: base_alarm.access, base_alarm.create, subscriptions.use + faction member right change_base_alarm
  • Moderator (read-focused): admin.base_alarm.access
  • Alarm manager: admin.base_alarm.access, admin.base_alarm.create, admin.base_alarm.edit
  • Full admin control: add base_alarm.delete

If staff must manage faction alarms without faction membership, use admin base alarm flows with admin.base_alarm.access and admin.base_alarm.edit. admin.factions.access alone does not grant full shop detail access for faction alarms.

Where users interact with base alarmsโ€‹

Player-facing entry points are documented in Base alarms in player view.