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.

gimme

Randomly selects item from a list of items and entities. Fixed issue with item identifiers.
builtinTakaro >=0.0.1

Components Overview

1
config
1
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

Configuration Properties (2)

items*arrayitem
Items

List of items that a player can receive.

Constraints: uniqueItems
commandsarray
Commands
Default: ["say hello from gimme"]

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.

gimme

/gimmeTrigger Command

Description

Randomly selects item from a list of items and entities.

Function Implementation

gimme Function

JAVASCRIPT

Usage Example

Player types: /gimme

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.