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.
arenaModule
- Add permissioned arena commands for staff or players.
- Support repeatable combat or event moments on the server.
- Use Takaro permissions to control who can access the arena workflow.
- Tie arena activity to player-death events where supported by the module version.
Components Overview
New Module: arenaModule
NEW09 arena wait 125, 10 arena wait 135, 04 arena wait 15, 06 arena wait 55, 12 arena wait 195, 03 arena wait 5, 07 arena wait 85, 11 arena wait 165, 08 arena wait 95, 02 arena wait 2, 01 arena, 05 arena wait 45. Added 1 hook: PlayerDied (player-death). New permission: ARENA_PERMISSION. New configuration options: xlocation, ylocation, zlocation, 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 (6)
xlocation
East West Location
ylocation
Height teleport location. -1 for the highest block
-1zlocation
Set North South location. South is negative
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.
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 completing the arena.
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 (12)
These commands can be executed by players in-game. Each command has a trigger word, optional arguments, and executes JavaScript code on the server.
12 arena wait 195
Description
Function Implementation
12 arena wait 195 Function
JAVASCRIPTUsage Example
02 arena wait 2
Description
Function Implementation
02 arena wait 2 Function
JAVASCRIPTUsage Example
03 arena wait 5
Description
Function Implementation
03 arena wait 5 Function
JAVASCRIPTUsage Example
09 arena wait 125
Description
Function Implementation
09 arena wait 125 Function
JAVASCRIPTUsage Example
10 arena wait 135
Description
Function Implementation
10 arena wait 135 Function
JAVASCRIPTUsage Example
06 arena wait 55
Description
Function Implementation
06 arena wait 55 Function
JAVASCRIPTUsage Example
08 arena wait 95
Description
Function Implementation
08 arena wait 95 Function
JAVASCRIPTUsage Example
11 arena wait 165
Description
Function Implementation
11 arena wait 165 Function
JAVASCRIPTUsage Example
04 arena wait 15
Description
Function Implementation
04 arena wait 15 Function
JAVASCRIPTUsage Example
05 arena wait 45
Description
Function Implementation
05 arena wait 45 Function
JAVASCRIPTUsage Example
01 arena
Description
Function Implementation
01 arena 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.
Hooks (1)
These hooks respond to various game events automatically. Each hook executes JavaScript code when its specific event type occurs, allowing modules to react to player actions, system changes, and more.
System Events
PlayerDied
Description
Pattern Match
.*playerDied.*This hook only triggers when the event data matches this regular expression pattern.
Function Implementation
PlayerDied Hook Function
JAVASCRIPTEvent Details
About Module Hooks
Hooks allow your module to respond automatically to game events like player actions, server status changes, and chat messages. Each hook has an event type that determines when it triggers, optional regex patterns for filtering specific events, and a JavaScript function that executes when the conditions are met. Hooks are grouped by category for better organization.
Permissions (1)
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
Arena Permission
ARENA_PERMISSIONPermission KeyDescription
Gives players access to the arena command
Permission Details
ARENA_PERMISSIONAbout 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.







































