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.

utils

A collection of useful commands
builtinTakaro >=0.0.1

Components Overview

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

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

No configuration properties defined. This module uses default settings.

UI 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 (2)

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

ping

/pingTrigger Command

Description

Replies with pong, useful for testing if the connection works.

Function Implementation

ping Function

JAVASCRIPT

Usage Example

Player types: /ping

help

/helpTrigger Command

Description

The text you are reading right now, displays information about commands.

Arguments (2)

command
stringPosition 0
Help: The command to get help for, or "search" to search for commands
Default: "all"
searchTerm
stringPosition 1
Help: Search term to find commands (when first argument is "search")
Default: "none"

Function Implementation

help Function

JAVASCRIPT

Usage Example

Player types: /help <command> <searchTerm>

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.