Skip to main content

Events

Tournaments, races and team events that players sign up for, with entry fees, a prize pot, brackets and results โ€” and evenings that simply happen at a set time, like a purge or a casino night, with everything they switch on and back off. Internally the feature is built from generic building blocks, so a boxing tournament, a car race and a purge are the same machinery arranged differently.

Navigation path:

  • Server Admin โ†’ Events

Access requirementsโ€‹

Five rights, all under the Economy section of the rights matrix:

  • admin.events.access โ€” See Events In The Admin Area. Without it there is no page at all.
  • admin.events.manage โ€” Create And Manage Events: create, edit, publish, cancel, delete.
  • admin.events.run โ€” Run Events (Draws, Results): close and reopen registration, enter participants manually, check-in, withdraw, disqualify, reinstate, group and edit teams, draw, rearrange, start matches, enter results, create bets, award points, close and reset phases.
  • admin.events.payout โ€” Close And Pay Out Events.
  • admin.events.manage_templates โ€” Create And Manage Event Templates: create, edit and delete templates and recurring events, and save an event as one. Using a template only needs manage.

An automation that changes something on the server โ€” anything but a Discord message โ€” also needs admin.automations.edit, and the right you would need to do the same by hand โ€” restart, vehicle wipe, mods, a setting, a zone. An event action takes admin.automations.manage_marketplace. It is checked when the event or template is saved.

Nothing was granted automatically

These rights ship deliberately without a backfill. A group without the admin.* wildcard does not see events until you grant them. access must accompany any run or payout grant โ€” the other rights are useless without the door.

There is no subscription gate. The rights are the only thing between you and the feature.

How an event is put togetherโ€‹

An event is an ordered list of phases, and each phase is one of three kinds:

  • Bracket โ€” knockout pairings, optionally with a third-place match
  • Lineup โ€” everyone competes at once and you enter placements, which suits a race
  • Points โ€” you award points over time and the standings follow

The standard templates on the create screen โ€” boxing tournament, car race, team event, group stage plus knockout, time window, or an empty event โ€” only pre-arrange these phases for you. Nothing behind them is special. Your own templates sit above them; see Templates.

Registration is none, solo or team. In team mode you set a minimum and maximum team size. Without registration nobody signs up โ€” the event just happens.

Events without roundsโ€‹

An event without any phase runs by the clock: it starts at its start time and finishes at its end time on its own, and its Discord scheduled event goes active and completed with it. That is the shape for a purge, a casino night or a "hot map" evening โ€” use the Time window template, which also turns registration off. With solo or team registration, signing up means "I'm in": players can still join while it runs as long as no registration deadline is set, and their automations can DM them. Prizes and markers need rounds, so they do not show on such an event.

Templatesโ€‹

A template is a saved starting point for new events, so a moderator can set up your usual Friday boxing tournament in a click instead of rebuilding it every week. Templates belong to one server and live in the Templates tab of the events page.

The template editor looks like the event settings, but every field sits behind an In template switch. Only switched-on fields are part of the template; everything else is left at its normal default when an event is created. Start, end and registration close are never part of a template. Phases and automations are switched on or off as a whole.

There are two ways to make one:

  • Create template in the Templates tab starts empty.
  • Save as template on any event โ€” in any state, finished and cancelled ones included โ€” opens the editor with that event's values and every field switched on. Switch off what should not carry over, typically the name and description, and give the template a name.

To use a template, pick it under Your templates when creating an event, or press Create event on it in the Templates tab. The event is created as a normal draft with the template's fields filled in โ€” nothing is locked, you edit and publish it as usual.

An event created from a template shows a Template: โ€ฆ badge in the admin list and on its detail page. It only records where the event came from, not whether it still matches. Deleting a template leaves its events untouched; their badge then reads (deleted). Players never see the badge.

The lifecycleโ€‹

Draft โ†’ Registration open โ†’ Registration closed โ†’ Running โ†’ Finished, and Cancelled from anywhere before the end.

Publishing needs a start time in the future and valid team sizes if you are in team mode. An event without registration goes straight to Registration closed โ€” shown as Scheduled โ€” until it starts. Registration closes either at the time you set or when you close it by hand.

If the event is postponed after registration has closed, move the registration deadline into the future, save, and use Reopen registration on the Settings tab. This works until the first draw. Teams that were dropped for being too small when registration closed stay out; their fees were already refunded.

An event with phases starts running at its first draw; closing it requires every phase to be closed first, and computes the final placements from the last phase. An event without phases starts and finishes at its times; End early in its menu finishes it now (see Ending early).

Paying out is a separate step, on purpose. Closing an event does not move money. The Finish tab shows a preview โ€” the pot, who gets what, and which placements were already paid โ€” and paying out again skips whatever has already been settled.

Settings, participants, running, finishingโ€‹

The event list shows Drafts, Active and Completed; completed events are paged, and a search field finds events by name or code.

The detail page has up to five tabs; an event without phases only shows Settings, Participants (if it has registration) and Automations.

Settings โ€” name, description, times, registration mode, entry fee, team sizes, whether a no-show is refunded, whether check-in is required, the phase builder, the prize table, the zone exemptions, the markers and the Discord configuration.

Automations โ€” everything the event posts, DMs or switches on the server; see Automations.

Two things freeze as you go: entry fee, registration mode and team sizes lock as soon as anybody has registered, and a phase locks once it has been drawn โ€” every other phase stays fully editable, even while the first one is already running. A drawn phase still takes a new name and a new Advance per pool, the latter until the following phase is drawn: only that draw reads the number. The screen tells you per phase what is still open.

Participants โ€” search (by player, team or team member), enter somebody manually, check in, undo a check-in, withdraw somebody, disqualify somebody, and group solo participants into a team (only before the first draw).

Entering somebody works until the first draw, so after the registration deadline as well โ€” beyond that point everybody sits in a pool and a latecomer would have nowhere to go. The entry fee is charged by default; the checkbox in the dialog leaves it out when somebody paid elsewhere. If the balance does not cover it, nothing is entered at all. In team mode you pick an existing team or open a new one; the maximum team size deliberately does not apply here.

Teams stay editable until the first draw: remove a player from a team (a paid entry fee goes back to them, and if they created the team the role passes to the next member) and add the replacement with Add player on the team. A team keeps at least one member โ€” to take a whole team out, withdraw it. A team can be renamed at any time until the event ends. Withdrawing a team is final: its players cannot be entered again, so to swap a player, remove them instead of withdrawing the team.

Withdrawal and disqualification after registration has closed give no refund, and any open match is scored as a walkover.

A mistake can be taken back with Reinstate on the withdrawn or disqualified participant, until the event is closed. They come back with the status they had (checked in stays checked in). A bracket walkover caused by the removal is undone as long as the following match has not started; cancelled bets stay cancelled. Somebody reinstated after the first draw who has no place yet can be put into a race or group with Rearrange.

Run โ€” per phase: produce a draw and adjust it before you commit it, handle byes, start matches, enter or correct results, and close the phase, which opens the next one's draw. Points phases award and remove points here.

The draw dialog shows the phase the way it will play out: a bracket as its tree, with every round-one pairing as a card and byes already moved on to round two; a race as its start order; a group stage as its pools. To swap two teams, drag one onto the other โ€” or click one and then the other. Nothing else moves.

Rearrange changes a phase that is already drawn, without a new draw: everything that has not started yet can still move. Swap two bracket pairings, move a racer to another heat or change the start order, move somebody between groups. Places whose match has started or is decided (a group once it has points) are locked. Moved participants get a direct message with their new pairing or start position, and a linked bet on a changed match is cancelled.

Reset a phase that went wrong โ€” even one that already has results. Its draw and the draws of every later phase are deleted, open linked bets are cancelled, and bets already paid out stay paid out. Resetting the first phase puts the event back to Registration closed: you can add participants again, and anyone dropped for missing the check-in is back in. Once prizes are paid out, phases can no longer be reset.

Finish โ€” close the event, review the payout preview, pay out.

Markers: who wears whatโ€‹

Most events hand each side something to wear so everybody can tell them apart. Under Markers in the settings you choose what this event offers: colors from a fixed palette (14 standard colors plus 12 more for big events), items from the item catalogue such as armbands or tracksuits, or both. Presets add a whole set in one click โ€” all armbands, all tracksuit jackets, raincoats, ski gloves and more. The order matters โ€” it is the order markers are handed out. A boxing event with just Red and Blue has every match fight Red against Blue. Templates carry the list too.

Items show their picture and their in-game name with the color, for example Armband (Red). Names and colors come from dzbot's item catalogue, so nobody has to type them.

Automatic assignment (on by default) gives every match its markers on its own:

  • At the draw the draw dialog shows each side's marker next to its name. Click it to pick a different one before you confirm.
  • In later rounds a side keeps what it wore before. If both sides wore the same, the first slot keeps it and the other gets the next free marker.
  • Staff choices are never overwritten. Markers on any undecided match on Run changes them at any time. Picking the other side's marker swaps the two, and two sides of one match never wear the same.

Players pick their own (off by default) lets a solo participant or a team's creator choose a marker on the event page after registering, until the draw. Each marker goes to one side only, first come first served. That pick is the side's marker for the whole event.

The bracket on the admin and the player page tints each side in its marker color and shows the item picture, what it wears and the team's members. When a match gets its markers โ€” at its start, or when they change while it runs โ€” the event fires Markers assigned; an automation on it posts "who wears what" or DMs the players of the match.

Results per sideโ€‹

When you enter a result you can give each side an optional result of up to 8 characters โ€” rounds, points, a lap time. It appears on the right of the side's row. The winner gets an accent frame, and a trophy if no result was entered; the losing side fades out. Who wins is always what you pick as winner or placement, never the result text.

Prizes and the potโ€‹

The pot is the sum of the entry fees actually paid. A prize row gives a rank a fixed amount, a share of the pot, or both. Pot shares cannot add up to more than 100%.

Team prizes are split evenly among the members; whatever does not divide evenly goes to the player who created the team.

Entry fees and prizes move on the player's normal per-server wallet โ€” the same balance the shop uses.

Winner rolesโ€‹

A prize row can also carry a Discord role. When you pay out, each such role is taken from everybody who currently holds it on your Discord server and given to the players on that rank โ€” every tied player and every member of a winning team. A role whose rank nobody reached is only taken away. This happens once, when the payout first completes; paying out again does not touch the roles.

Discord problems never hold up the money. A winner without a linked Discord account, a player who is not on the server, or a role the bot is not allowed to manage (it must sit below the bot's own role) shows up as a warning after the payout.

Zone exemptionsโ€‹

Events held inside a zone โ€” a boxing tournament in the safe zone, say โ€” would otherwise trip that zone's zone rules: a knockout where Zone Kill Autoban forbids kills means an instant permanent ban. Pick those zones under Zone exemptions in the settings. While the event is Running โ€” from the first draw until you close it โ€” its active participants are exempt from every zone rule in those zones, including through their linked accounts. Withdrawn and disqualified participants are not exempt, and neither is anybody else.

The exemption ends with the status, not with the scheduled end time: close the event when it is over, or the zones stay open for its participants.

Automationsโ€‹

An event says and does nothing on its own: every Discord post, every DM and every change to the server is an automation on the Automations tab of the event or template. Each one has a when and a what.

When

  • Point in time โ€” once, a number of minutes before or after the start or the end. "Announce 30 minutes before the start" is a point at Start, 30 min before.
  • Time range โ€” holds a state from one point to another and puts back what was there before afterwards. If somebody changed the value in between โ€” an admin, another automation, another event โ€” it is left alone and the automation shows Not restored.
  • On trigger โ€” every time something happens in the event: published, started, finished, cancelled, a player registered or left, a round was drawn, a match is ready, a result was entered, a prize was paid, and more. The event only offers the triggers its setup can produce โ€” no team triggers without team registration, no match triggers without rounds.

What โ€” the same built-in operations as any automation: switch another automation or a zone on or off, install or uninstall mods, change server settings, a mod's or an automation's configuration, restart the server, wipe vehicles, or send a Discord message. A time range only takes the blocks that can be undone; restart, wipe and messages only run at a point in time.

A Discord message goes to a channel โ€” Event channel is one of the choices when the event has its own โ€” or as DMs to players: All participants, on a trigger Players concerned (the player who registered, the players of a match, the team), or players you pick. Its text completes placeholders as you type {: the event's ({event.name}, {event.starts_at}, {event.channel} โ€ฆ) and the trigger's ({player.username}, {match_text} โ€ฆ), each with a sample, and a DM {recipient.name}. Each trigger starts with a standard text. Marketplace event actions offer the same choices and placeholders in their settings โ€” see Placeholders. Add the usual participant DMs on an empty Automations tab sets up the direct messages events used to send by themselves.

Event actions โ€” a marketplace action marked for events can be added as a time range. Each event gets its own copy, active only while its range runs; it hears this event's triggers and the game events it listens to.

The Automations tab shows the time automations as lanes โ€” server, mods, actions, Discord โ€” with ranges as bars, points as markers and lines for start, end and now; trigger automations are listed below. Each shows its state: pending, active, done, restored, not restored, skipped, failed or partly failed. An automation that names something no longer on the server โ€” a mod that was removed, a deleted zone โ€” is marked with a warning before it runs, on the event and on its template, and a recurring event says so when its template has one. An automation that has already run keeps its definition: only its name changes, and an active range may still move its end.

Failures never stop the event. A point is retried a few times; putting a range back is retried until it works. A range whose start keeps failing ends as Failed; one that only partly got through ends as Partly failed โ€” for example Install or uninstall mods when one of its mods no longer exists: it installs the others and names the missing one. Set a channel for automation failures under Discord in the settings to get a note when one fails or only partly runs.

Moving or extending the event moves every automation that has not run yet.

A purge as an example: Mod uninstalled from start โˆ’15 min to end โˆ’15 min (so the restart picks it up), Whitelist on over the same range, Safe-zone autoban paused from start to end, an announcement 30 minutes before the start and a results post at the end.

Ending early and cancellingโ€‹

End early (an event without phases) and Cancel event show what is still open: the active ranges to put back and the points still due. Putting back every range and running what hangs on the end are preselected; points that would have come before the end are not. When a mod or setting is put back, Restart the server now is offered โ€” a restored mod otherwise only reaches the game server with its next regular restart.

Cancelling also refunds every entry fee that has not already been refunded, no matter what state a participant was in, and cancels any linked bets that have not been settled. Cancelling before anything ran only puts back ranges that had already started.

Recurring eventsโ€‹

A recurring event creates the next date of an event from a template on its own โ€” a purge every second Saturday at 20:45, a casino night every Sunday. Set them up under Events โ†’ Series with admin.events.manage_templates: a template, a rhythm (daily, weekly or every few weeks, monthly), a duration and how many days ahead each date is created and published (7 by default). The series page lists the next dates and the last one created.

Each date is a copy of the template, automations included: change or cancel one date without touching the series, and changes to the template apply from the next date created. Paused stops new dates; dates already created stay.

Deletingโ€‹

A finished or cancelled event can be deleted from its settings tab. It disappears from every list, for admins and players alike; bookings, payouts and bets stay as they were. A running event cannot be deleted โ€” cancel it first.

Betting on matchesโ€‹

With admin.events.run you can attach a bet to a match that has at least two known participants. The admin who creates it becomes its bookmaker, and players bet through the ordinary bookmaker feature.

  • Betting closes automatically when the match starts. Event bets have no deadline of their own.
  • Entering a result settles the bet automatically.
  • Correcting a result does not re-settle an already-settled bet. The screen warns you when this is the case; putting the money right is then a manual job.
  • Walkovers, disqualifications and cancelling the event cancel the bet and refund the stakes.

Discordโ€‹

On publishing, dzbot can create a dedicated channel for the event and a Discord scheduled event in your guild; the scheduled event goes active when the event starts and completed when it ends. Everything posted or sent as a DM is an automation โ€” events created before automations existed had their announcement channels and participant DMs turned into automations once.

The event channel goes into the category you pick under Discord in the settings, or to the top of your channel list without one. If it could not be created on publishing โ€” the bot lacked MANAGE_CHANNELS, or the channel was switched on later โ€” saving the event creates it.

A missing bot permission fails silently here

Creating the Discord scheduled event needs the MANAGE_EVENTS permission. If your bot was invited without it, everything else still works โ€” the event publishes, announcements post โ€” but no Discord scheduled event ever appears and the admin screen says nothing about it. If you expect scheduled events in your guild and never see them, re-invite the bot with that permission.

Staff with admin.events.run can also run check-in and withdraw participants right in Discord with /event, and players can register there โ€” see Discord commands.

Guestsโ€‹

Show Events to guests is on by default. It makes the event list and detail pages publicly visible without a login, which is what turns an event into advertising. Turn it off if you would rather keep them behind the door.

The guest navigation entry appears only when the setting is on and at least one event exists.

What to do before your first eventโ€‹

  1. Grant the rights. Nothing happens without them, and nobody got them automatically.
  2. Re-invite the Discord bot with MANAGE_EVENTS if you want scheduled events in your guild.
  3. Decide whether guests should see events.
  4. Set up the automations you want โ€” at least the participant DMs, if players should hear from the event.