Takaro module library

Takaro Modules

Takaro is a game server management platform for running, automating, and moderating multiplayer communities. These modules install into Takaro to add server automation, Discord workflows, economy systems, and moderation tools.

VotingSystem

by Mad x R20
Run vote rewards for your game server community through Takaro. VotingSystem gives players a /vote command and gives admins a simple module foundation for rewarding voting activity.
Use this module to:
  • Add a player-facing vote command.
  • Connect voting behavior to a community reward workflow.
  • Encourage players to support server visibility.
  • Keep vote-related commands inside Takaro's module system.
Good fit for server owners who use voting sites, vote rewards, or community growth loops and want that workflow represented in Takaro.
communityTakaro v0.4.9
(2 versions available)

Components Overview

1
config
1
commands
0
hooks
0
Cron Jobs
0
functions
0
permissions

Command Update: vote

December 12, 2025
Updated 1 command implementation.

New Module: VotingSystem

NEW
August 6, 2025
Updated to version latest. Added 1 command: vote. New configuration options: votingsite, votekey, novote, alreadyclaimed, privatemessage, publicmessage, currency, randomitemnumber, randomitemlist, fixedrewards.

Configuration

Configure this module using the schemas below. The JSON schema defines the data structure, while the UI schema customizes how the configuration form is displayed.

Configuration Schema

Configuration Properties (10)

votingsite*string
votingsite

Site where players vote. Example: https://7daystodie-servers.com for 7 Days to Die; https://rust-servers.net for RUST

Default: https://7daystodie-servers.com
votekey*string
votekey

Vote key provided by the voting site

novote*string
novote

Message to send to the player when voting site reports no vote was cast.

Default: You haven't voted yet. Please vote at https://7daystodie-servers.com first.
alreadyclaimed*string
alreadyclaimed

Message to send to the player when the voting site reports the vote reward was already claimed.

Default: You have already claimed your last vote.
privatemessagestring
privatemessage

Optional message to send to the player when the voting site reports a vote with no reward claimed yet. Example: Thanks for voting. Leave it blank if you want nothing to be sent instead.

Default:
publicmessagestring
publicmessage

Optional message to broadcast to all players online when vote is successful. Use {name} in the message to refer to the player name. Example: [00FF00]{name}[-] voted at 7daystodie-servers.com and was rewarded Takaro Coins! Leave it blank if you want nothing to be sent instead.

Default:
currencynumber
currency

How much currency to add to the player in Takaro, if any. Make sure to enable economy for this server.

Default: 0
randomitemnumbernumber
randomitemnumber

Defines how many random items will be rewarded to the player, picked from randomitemlist config field. The quantities for each item picked is defined on the mentioned config field.

Default: 0
randomitemlistarrayitem
Items

List of items that will be used to select a random reward for the vote, as many times as defined at randomitemnumber.

Constraints: uniqueItems
fixedrewardsarrayitem
Items

All the items in this list will be given as a reward for the vote.

Constraints: uniqueItems

UI Schema

No configuration properties defined. This module uses default settings.

About Configuration Schemas

The Configuration Schema defines the structure and validation rules for module settings. The UI Schema customizes how the configuration form is displayed in the Takaro interface, including field ordering, labels, and input types.

Commands (1)

These commands can be executed by players in-game. Each command has a trigger word, optional arguments, and executes JavaScript code on the server.

vote

/voteTrigger Command

Description

Claim rewards for voting for the server

Function Implementation

vote Function

JAVASCRIPT

Usage Example

Player types: /vote

About Module Commands

Commands allow players to interact with your module through chat. Each command has a trigger word that players type (prefixed with /), optional arguments for parameters, and a JavaScript function that executes when the command is used. Arguments are automatically validated and passed to the function.