DayZ plugin

Recommended RCON preset (+ native mod stub).

both claim · steam poller ou mod

Step-by-step guide

From server listing to automatic rewards — DayZ.

  1. Create the server listing

    Add your DayZ server on VoteServeur — create my listing. You get the server_token in the panel.

  2. Download the ZIP pack

    Sign in, pick your server in the right panel → Ready-to-use ZIP. The token is injected automatically.

  3. Install on the server

    Native (poller ou mod) or universal Node poller.

  4. Test the claim

    Vote on the listing with the reward checkbox + your Steam ID (64-bit). The script polls /api/v1/votes/pending then /votes/claim-steam (~15 s) — when claimed = 1, give the reward once.

  5. Configure monthly tiers

    Edit tiers in the pack (YAML / Lua / JSON). The plugin reads /api/v1/votes/player (votes_month) for progressive rewards.

Full server guide: Create a DayZ server · API docs

Vote → reward flow

  1. The player votes on the DayZ listing with the reward checkbox + their in-game name (Steam recommended).
  2. Your script polls /votes/pending then claims (every ~15 s).
  3. claimed = 1 → give the reward once for that vote.
  4. Monthly tiers use /api/v1/votes/player (votes_month).

Install — DayZ

Native pack — unzip into poller ou mod. The server_token is already written in the ZIP config.

Universal poller (Node, runs outside the game process):

cd universal
npm i          # optional: rcon-client
# config.json = token already injected + game RCON commands
node poller.js
Signed in on VoteServeur → “Ready-to-use ZIP” button: auto-injected token, zero copy-paste.

Monthly tiers (example)

Editable in the pack (YAML / Lua / JSON per game). Placeholders: {player} {votes_month} {votes_total}.

  • 7+ Palier 7 #spawnitem {steam64} Ammo_9x19 30
  • 15+ Palier 15 #spawnitem {steam64} FirstAidKit 1
  • 30+ Palier 30 #spawnitem {steam64} PlateCarrierVest 1

Endpoints

GET /api/v1/votes/pending?server_token=…
GET /api/v1/votes/claim?server_token=…&identity=…
GET /api/v1/votes/player?server_token=…&playername=…
GET /api/v1/votes/check?server_token=…&playername=…
GET /api/v1/votes/top?server_token=…&period=month&limit=10
GET /api/v1/server?server_token=…

Full API documentation →