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.
economyUtils
Components Overview
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 (2)
Pending amount
When a player transfers money, they must confirm the transfer when the amount is equal or above this value. Set to 0 to disable.
0Zombie kill reward
The default amount of currency a player receives for killing a zombie. This can be overridden by roles.
1UI Schema
No UI schema defined. Configuration form will use default rendering.
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 (8)
These commands can be executed by players in-game. Each command has a trigger word, optional arguments, and executes JavaScript code on the server.
topCurrency
Description
Function Implementation
topCurrency Function
JAVASCRIPTUsage Example
grantCurrency
Description
Arguments (2)
receiver
playerPosition 0Noneamount
numberPosition 1NoneFunction Implementation
grantCurrency Function
JAVASCRIPTUsage Example
revokeCurrency
Description
Arguments (2)
receiver
playerPosition 0Noneamount
numberPosition 1NoneFunction Implementation
revokeCurrency Function
JAVASCRIPTUsage Example
confirmTransfer
Description
Function Implementation
confirmTransfer Function
JAVASCRIPTUsage Example
transfer
Description
Arguments (2)
receiver
playerPosition 0Noneamount
numberPosition 1NoneFunction Implementation
transfer Function
JAVASCRIPTUsage Example
claim
Description
Arguments (1)
all
booleanPosition 0"false"Function Implementation
claim Function
JAVASCRIPTUsage Example
shop
Description
Arguments (3)
page
numberPosition 0"1"item
numberPosition 1"0"action
stringPosition 2"none"Function Implementation
shop Function
JAVASCRIPTUsage Example
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.
Scheduled Jobs (1)
These jobs run automatically on a schedule defined by cron expressions. Each job executes JavaScript code at specific times or intervals.
zombieKillReward
Schedule Details
Cron Expression
Human-Readable Schedule
Every 5 minutes
Function Implementation
zombieKillReward Function
JAVASCRIPTCron Expression Format
Each field can contain numbers, ranges (1-5), lists (1,3,5), or wildcards (*). Use */n for intervals (e.g., */5 for every 5 units).
About Scheduled Jobs
Cron jobs allow your module to execute code automatically on a schedule. Each job has a cron expression that defines when it runs, and a JavaScript function that executes at those times. Jobs run server-side and can perform maintenance tasks, send notifications, or update game state automatically.
Permissions (2)
These permissions control who can access different features of this module. Administrators can assign these permissions to roles, allowing fine-grained access control.
General Permissions
Manage currency
ECONOMY_UTILS_MANAGE_CURRENCYPermission KeyDescription
Allows players to manage currency of other players. This includes granting and revoking currency.
Permission Details
ECONOMY_UTILS_MANAGE_CURRENCYZombie kill reward override
ZOMBIE_KILL_REWARD_OVERRIDEPermission KeyCountableDescription
Allows a role to override the amount of currency a player receives for killing a entity.
Permission Details
ZOMBIE_KILL_REWARD_OVERRIDECountable Permission
This permission supports numeric values/levels. For example, you could grant someone "10" of this permission to limit their usage or set permission levels.
About Module Permissions
Permissions control access to module features and functionality. Each permission has a unique key for identification, a friendly name for display, and a description explaining what it allows. Some permissions are countable, meaning they can have numeric values or limits assigned. Administrators assign these permissions to user roles to control who can use different module features.







































