New release: server-side module backends, Zorp offline protection, reset-to-default — view the changelog →
Rust Central Docs
Modules

Voting

Let players vote with an emote to skip the night or call in an event.

Voting

Settings save per server. Votes run on the server side with no browser open.

Rewards

With Enable Rewards on (Global Settings), every player who voted on a vote that passes is paid the reward amount, as long as their in-game name is linked to an account on this server. The amount is read from the saved settings on the server.

Lottery

Set Entries open and Draw at (both in UTC) and the lottery runs on a schedule: the server opens entries at the first time, players enter with the emote, and one entrant is drawn at random at the second time. Players cannot open a scheduled lottery themselves. Leave a time blank and the lottery works the old way: the first emote opens it and the entry window length decides when it ends. If at least the minimum number of players entered, the winner is paid the payout amount and announced in chat. Otherwise the failure message is announced. Set a Ticket Price to charge each entry from the player's balance (done on the server; a player who is not linked or can't afford it is not entered). The prize is the payout amount plus all ticket money. If nobody wins, the ticket money stays in the pot and is added to the next draw. With a ticket price of 0 entry is free. A winner whose name is not linked to an account is not paid and the failure message is announced.

How a vote works

  1. A player uses the vote emote you chose for Skip Night or an event (Patrol Helicopter, Cargo Ship, Airdrop, Chinook, Bradley APC). If the cooldown has passed, this opens a vote and announces your "during" message.
  2. Other players use the same emote to add their vote. Each player counts once.
  3. Votes longer than a minute get a "30 seconds left" reminder in chat. When the vote duration ends, the vote passes if there are at least the minimum votes and the voters are at least the required percentage of players online (the online count refreshes about once a minute).
  4. A passing vote announces your success message, then sets the time of day (Skip Night, to the "skip to" time) or starts the event. A failing vote announces your failure message.

The cooldown counts from when the last vote of that type opened.

Limits

  • Only votes set to All Players run. Votes restricted to VIPs, Moderators or Admins are ignored until roles are available.
  • Skip Night only opens between its start time and the "skip to" time. The server reads the game clock when a player starts the vote; outside that window the vote is cancelled with a chat note and no cooldown is used. If the clock can't be read, the vote is allowed.
  • Each vote has its own cooldown, minimum votes and duration. Global Cooldown (Global Settings) adds a wait between any two Skip Night / event votes. Each event also has Minimum Players Online; if the online count is unknown the vote is allowed.
  • If two votes share an emote, Skip Night wins, then Heli, Cargo, Airdrop, Chinook. The dashboard warns when this happens.
  • Emotes bound in Teleportation are ignored by Voting, so one press never does both.
  • A passing Bradley APC vote runs bradley.quickrespawn, which respawns the Bradley at Launch Site. Set a Spawn position (x,y,z) to spawn one there with entity.spawn bradleyapc instead.
  • Each vote can also be triggered by a chat command (for example !skipnight). The whole chat message must match the command, ignoring case and spaces at the ends, and it works exactly like the emote: it opens the vote or adds the player's vote. Set the emote to None to use chat only, or clear the command to use the emote only. Give each vote its own command; if two share one, the first in the order below wins.

History

The History tab lists the last 25 closed votes and lottery draws: who started it, yes votes against players online, the outcome, how many voters were paid (and how many had no linked balance), and the lottery winner. If the game command for a passed vote could not be sent, the error is shown in red so you can check your server connection.

Vote rewards are paid only after the game command is delivered, so a failed command never pays voters.

Player view

Players (and anyone viewing the module as a player) see live votes with counts and a countdown, whether they have voted, each vote's cooldown, the lottery pot, whether they hold a ticket, and the next draw. Cancelled votes (for example Skip Night outside night hours) are also posted to your voting Discord channel.

Need help? Join the Rust Central support server.

On this page

Try Rust Central

Free to start. Pro from £9/month, Advanced £17/month.

Get started →