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
- 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.
Components Overview
Command Update: vote
New Module: VotingSystem
NEWvote. 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
Site where players vote. Example: https://7daystodie-servers.com for 7 Days to Die; https://rust-servers.net for RUST
https://7daystodie-servers.comvotekey
Vote key provided by the voting site
novote
Message to send to the player when voting site reports no vote was cast.
You haven't voted yet. Please vote at https://7daystodie-servers.com first.alreadyclaimed
Message to send to the player when the voting site reports the vote reward was already claimed.
You have already claimed your last vote.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.
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.
currency
How much currency to add to the player in Takaro, if any. Make sure to enable economy for this server.
0randomitemnumber
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.
0Items
List of items that will be used to select a random reward for the vote, as many times as defined at randomitemnumber.
Items
All the items in this list will be given as a reward for the vote.
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.
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.







































