Service · version 1.0.3
DayzHUB Authentication
Keep your server for the players who belong to your community.

Keep your server for the players who belong to your community. A joining player is held until he accepts your server rules and is verified through the DayzHUB Discord bot: he is a member of your Discord and has linked his Steam account. The menu opens by itself, the player follows four short steps, and the moment Discord confirms him the menu closes and he plays. You write and change the rules in game, from the admin bar. Ten languages, Thai included.
Updating to this release (2026-11-27): install DayzHUB Core 1.0.11 and the new version of every DayzHUB mod you own together, client and server parts, before you start your server. Your data and settings are kept.
Start from zero, step by step#
- Add the DayzHUB bot to your Discord server from dayzhub.net and log in to the dashboard with the Discord account that owns the server. Keep an active bot plan.
- Bind your Discord to your game server in the dashboard and create the Authentication key. It starts with
dhau_. - Optional - verify role: pick a Discord role your members already have (see below).
- Install the mod on the game server as below and paste the key into
server_key.txt. - Start the server, join, press Insert, open Authentication and write your rules in the rules editor.
- Test it with a second account: it is held on join, accepts the rules, links Steam in Discord with
/link-steamand unlocks by itself. Staff of the admin bar are not held by default (bypassStaffis on): to test with your own admin account, switch Staff skip verification off on the Settings page first.
Install (server owners)#
- DayzHUB Core 1.0.11 or newer is required (free with any DayzHUB mod): install or update
@DayzHUB_Corefirst. - Copy
@DayzHUB_Authentication(client + server: the player menu and the admin page) and@DayzHUB_AuthenticationServer(server only - never give it to players) into your server folder. - Copy
keys\DayzHUB.bikey(from the mod folder you downloaded) into your server'skeysfolder. The client mod is already signed by DayzHUB. The server mod needs no signing. - Start parameters:
-mod=@CF;...;@DayzHUB_Core;@DayzHUB_Authenticationand-servermod=@DayzHUB_AuthenticationServer - Start the game server once: it writes
<profiles>\DayzHUB\DHUB_Authentication\Config\server_key.txt(empty). Paste the key on the first line and save, then admin bar (Insert) > Authentication > Reload, or restart. While the key is missing, the server reads the file again every 10 minutes. - On dayzhub.net, Dashboard > your Discord server > Authentication > Game servers card: once the server connects with the key it appears there by itself, in the order the servers first connected (5 are included). Its IP and game port are checked together with the server key. Players see nothing of this. The state is in
Licenses\STATUS_Authentication.txt. - Put your Steam64 ID in
<profiles>\DayzHUB\DHUB_Core\Config\admins.json(written by DayzHUB Core on the first start) so the admin bar opens with Insert.
What players see#

- Read and accept the rules (only when you wrote rules): the second tab Rules lists them.
- Join our Discord and stay a member.
- Link your Steam account: in Discord type
/link-steamand sign in with Steam. Nothing is typed in the game. - Unlocks by itself: the game checks every few seconds. The moment Discord confirms the player, the menu closes with a short welcome note.

- A held player cannot move, shoot, use items, open the inventory, take damage or hurt anyone. The server enforces it, so removing the mod on the client does not help.
- Join delay: with a join delay set, a new player can look around for a few seconds before the menu opens. A player who links in that time is never held.
- Players who were verified recently (default 72 hours) are not held at join; the check still runs in the background.
- A player who leaves your Discord is held at his next join, not in the middle of a session.

Verify role (optional)#
- Every player links his Steam once with
/link-steam, even if he already holds the role. The game knows Steam IDs; a Discord role only knows Discord accounts. There is no import list to keep. - A linked player without the role is not let in. A player with the role who never linked sees the normal steps, links once, and then passes with nothing else to do.
- Without a role set, a linked member of your Discord is verified.
Admin bar#
Press Insert and open the Authentication page of the DayzHUB admin bar. It has four sections.

Settings#
Every value is saved at once. They are the same values as in Settings.json below.

Rules and the rules editor#

Open rules editor opens a full screen editor: your rules as cards on the left, the Title and Text boxes on the right. Up to 30 rules; a title up to 60 characters and a text up to 400, with live counters.
- Add as new adds the rule at the end. Save changes saves a rule you picked and changed. Move up and Move down change the order.
- Remove asks for a second click within a few seconds. Close asks for confirmation when something is unsaved.
- A new or changed rule raises the rules version: with Players must accept again on, every player accepts the new version at his next join.
- The rules are shown exactly as you write them; they are never translated.

Players#

- Let in lets a held player in at once; Kick removes him.
- The bypass list holds Steam IDs that skip Discord and the rules. Only players who joined this server can be picked.
- Staff of the admin bar are never held while
bypassStaffis on.
Your files#
Everything is in <profiles>\DayzHUB\DHUB_Authentication\. The settings and rules are written once and never overwritten by an update; new settings are added once, with a dated copy of the old file.
Updating from an older version: at the first start the files move to this folder by themselves and every setting is kept. A copy of each original file stays in Backups\<date>\pre-migration\. If the move cannot finish, the old files stay in use and the move is tried again at the next restart.
| File | What it holds |
|---|---|
Config\Settings.json | the settings below |
Config\Rules.json | your rules and the rules version: up to 30 rules, each with id, title (up to 60 characters, no |) and text (up to 400 characters). A rule with an empty title or over a limit is dropped on load. rulesVersion goes up when rules are added or changed; updatedUtc is set by the mod |
Config\Bypass.json | Steam IDs that skip Discord and the rules (steamIds: up to 500 Steam64 IDs of 17 digits; duplicates and wrong entries are dropped) |
Config\server_key.txt | the Authentication key from the dashboard, on the first line (never written to a log). Changed only by hand |
Config\Console.json | DayzHUB Console link, only written when the DayzHUB Console agent is installed: {"configVersion":1,"enabled":true}. Set "enabled": false to switch the link off. Read once at server start: a change needs a restart |
Data\Cache.json | verified players and saved answers about the Discord server, invites and commands |
Data\Recent.json | recent events shown in the admin bar |
Data\Players\<steam64>.txt | one line per player: the rules version they accepted, when they accepted, when they were verified |
Data\layout.txt | marker that the new folder layout is in use |
Backups\<date>\ | a daily copy of Settings.json, Rules.json, Bypass.json, Console.json, Cache.json and Recent.json; the newest 7 days are kept. The old .bak1 / .bak2 copies are no longer written |
Logs\auth-<date>.log | one log per day, written through DayzHUB Core. Log level and days kept are set in DHUB_Core\Config\Logger.json (logLevel, keepLogsDays) |
Never edit the Data\ files by hand.
Apply a change: edit the file, then admin bar (Insert) > Authentication > Reload, or Overview > "Reload every DayzHUB mod", or restart. Overview > "Reload settings files" does not cover Authentication. Console.json needs a restart.
Backups\ (up to 7 day folders) and logs BACKUP-USED with the file and folder. With no good copy it uses its built-in defaults for that file; the server keeps running. To fix it, put the right file back from Backups\<date>\, or delete the damaged file so a fresh default is written, then restart.Settings.json#
| Setting | Default | Range | What it does |
|---|---|---|---|
enabled | true | true / false | The main switch. Off: nobody is held |
kickEnabled | false | true / false | Remove players who do not verify in time |
kickMinutes | 10 | 1-120 | Minutes a player has, counted from the moment the menu opens |
pollSeconds | 5 | 3-60 | How often Discord is asked while someone is held |
hubWaitSeconds | 20 | 5-120 | How long a waiting player is kept when the site gives no answer; then he is let in |
verifiedCacheHours | 72 | 0-720 | How long a verified player is remembered. 0 = he is held at every join |
joinGraceSeconds | 0 | 0-600 | Seconds a new or not yet verified player can play freely before the menu opens. The kick timer starts when the menu opens |
requireReaccept | true | true / false | Players accept again when you add or change a rule |
bypassStaff | true | true / false | The admin bar staff are never held |
apiBaseUrl | https://dayzhub.net/api/auth | https:// only, 12-200 characters, no @ or spaces | Address of the DayzHUB service. Kept by the mod: do not change it. Not changeable from the admin bar or the Console |
Switches are true / false (1/0, on/off and yes/no also work). Numbers are plain digits. Every value is checked when it loads: a value that is not allowed is ignored, the default is used and a warning is logged. In the admin bar a wrong entry refuses the whole page and nothing is saved.
When Discord or the site cannot be reached#
Nobody is locked out. If the site gives no usable answer, the players who are waiting are let in after about 20 seconds (hubWaitSeconds), the admin bar shows a warning and the game server keeps running. The answers of the site are signed; an answer that is not signed correctly, or that is a replay of an old one, is ignored.
When the authentication pauses#
Authentication pauses while the bot plan of your Discord server is not active, while the bot is not in your Discord, while the Authentication key is missing or wrong, or when you switch it off. Everybody who was held is released, nothing is deleted, and the admin bar says why. It works again by itself at the next good answer.
DayzHUB Console#
With the DayzHUB Console agent the mod shows up in the Console as Authentication. Everything the admin bar does can be done from the Console:
| Part | Actions |
|---|---|
| Status, rules | AUTHENTICATION_status, _rules_show |
| Edit the rules | _rule_add, _rule_edit, _rule_remove, _rule_move |
| Settings | _setting_set (enabled, kickEnabled, kickMinutes, pollSeconds, hubWaitSeconds, verifiedCacheHours, requireReaccept, bypassStaff, joinGraceSeconds), _reload_config |
| Bypass list | _list_show, _list_size, _list_add, _list_remove |
| One player | AUTHENTICATION_letin, AUTHENTICATION_kick |
- Events: a player locked (with the reason), unlocked, kicked, a player who accepted the rules, rules changed, paused and resumed. No Steam ID, key or signature is written in an event line.
- Switch it off in
Console.json("enabled": false, then restart). Webhooks for kicks, rule changes and a licence pause are available in the DayzHUB Core webhook settings (off by default).
Thai language#
Every DayzHUB menu and admin page of this mod can show in Thai. Set "language": "th" in <profiles>\DayzHUB\DHUB_Core\Config\Settings.json and restart the server (or admin bar > Overview > "Reload settings files"). The rules you write stay as you wrote them.
FAQ and troubleshooting#
Status says "paused"
server_key.txt is the one from the dashboard.Nobody is held
Status says running, and that the joining player is not on the bypass list or staff with bypassStaff on.A player says "I already have the role"
/link-steam. Without the link the game cannot know which Discord account he is.A player is held again after leaving Discord
The menu shows no rules tab
The admin page does not open
admins.json and your rank needs the Authentication permission.Players are let in without being checked
hubWaitSeconds. Look at the log (LET-IN-HUB-DOWN) and at your server's internet access to dayzhub.net.Compatibility#
DayZ 1.30. Needs DayzHUB Core 1.0.11 or newer and the DayzHUB Discord bot. Works with Expansion, LBmaster and TB mods.
Support: dayzhub.net and the DayzHUB Discord.
Settings explorer#
Every setting of this mod in one list. Type to narrow it down. Click a name to copy it.
Settings.jsonThe main switch. Off: nobody is held
Range: true / falseRemove players who do not verify in time
Range: true / falseMinutes a player has, counted from the moment the menu opens
Range: 1-120How often Discord is asked while someone is held
Range: 3-60How long a waiting player is kept when the site gives no answer; then he is let in
Range: 5-120How long a verified player is remembered. 0 = he is held at every join
Range: 0-720Seconds a new or not yet verified player can play freely before the menu opens. The kick timer starts when the menu opens
Range: 0-600Players accept again when you add or change a rule
Range: true / falseThe admin bar staff are never held
Range: true / falseAddress of the DayzHUB service. Kept by the mod: do not change it. Not changeable from the admin bar or the Console
Range: https:// only, 12-200 characters, no @ or spacesCheck your settings file#
Paste a settings file. The checker finds JSON mistakes, keys it does not know (with a suggestion for typos), values of the wrong kind and numbers outside the documented range. It runs in your browser: nothing is uploaded.
Settings.json
Something missing or wrong on this page? Tell us in the DayzHUB Discord and we fix it.