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.

slotMachines

by Limon
Add slot machine gambling to your Takaro game server economy. slotMachines lets players spend in-game currency on a three-reel slot game with configurable payouts, statistics, and admin controls.
Use this module to:
  • Let players spin slot machines through chat commands.
  • Configure symbols, payouts, betting limits, and cooldowns.
  • Announce big wins to the server.
  • Track personal gambling stats.
  • Give admins reset and rules commands for the minigame.
Good fit for communities that want casino-style minigames, currency sinks, jackpot moments, and repeatable player activities managed through Takaro.

Module details

Limon_slotMachines: Casino-Style Gambling for Your Game Server
This module adds an exciting slot machine to your game server, letting players gamble their in-game currency for a chance to win big prizes!
Key Features:
Slots gameplay
  • Authentic Casino Experience: Three-reel slot machine with multiple symbols and varied payouts
  • Visual Animation: Progressive reel reveals with suspenseful animations
  • Big Win Announcements: Server-wide jackpot notifications for big winners
  • Statistics Tracking: Detailed personal gambling stats for each player
Commands:
  • /slots [amount] - Place a bet and spin the slot machine
  • /slotsstats - View your personal gambling statistics
  • /slotsrules - Check payouts, rules and betting information
  • /slotsreset [player] - Admin command to reset player statistics
Slots rules
Winning Combinations:
  • Three matching symbols (Three sevens: 25x your bet!)
  • Three bells: 10x your bet
  • Three plums: 6x your bet
  • Three oranges: 4x your bet
  • Three lemons: 3x your bet
  • Three cherries: 2x your bet
  • Any combination ending with seven: 1.5x your bet
Player Statistics:
Slots statistics
  • Games played, wins, losses, and total currency wagered
  • Win rate percentage calculation
Configuration:
Slot machine configuration
  • minimumBet: Lowest possible wager amount
  • maximumBet: Highest possible wager amount
  • houseEdge: Percentage profit margin for the server
Permissions:
  • SLOTS_PLAY: Basic permission to use the slot machine
  • SLOTS_HIGHER_LIMITS: VIP permission allowing higher maximum bets
  • SLOTS_ADMIN: Administrative access to reset stats and manage the module
communityTakaro v0.0.24
(2 versions available)

Components Overview

1
config
4
commands
0
hooks
0
Cron Jobs
0
functions
3
permissions

New Module: slotMachines

NEW
August 6, 2025
Updated to version latest. Added 4 commands: slots, slotsstats, slotsreset, slotsrules. New permissions: SLOTS_PLAY, SLOTS_HIGHER_LIMITS, SLOTS_ADMIN. New configuration options: minimumBet , maximumBet, houseEdge.

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 (3)

minimumBet number
minimumBet

The minimum amount of currency a player can wager on a single spin.

Default: 10
Constraints: min: 0
maximumBetnumber
maximumBet

The maximum amount of currency a player can wager on a single spin.

Default: 100
houseEdgenumber
houseEdge

Percentage of winnings the house takes as profit (5 = 5%).

Default: 5

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 (4)

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

slots

/slotsTrigger Command

Description

Play the slot machine with a bet amount.

Arguments (1)

amount
numberPosition 0
Help: Play the slot machine with a bet amount
Default: ""

Function Implementation

slots Function

JAVASCRIPT

Usage Example

Player types: /slots <amount>

slotsstats

/slotsstatsTrigger Command

Description

Shows your slot machine statistics

Function Implementation

slotsstats Function

JAVASCRIPT

Usage Example

Player types: /slotsstats

slotsreset

/slotsresetTrigger Command

Description

Reset a player's slot machine statistics (admin only)

Arguments (1)

player
stringPosition 0
Help: Reset a player's slot machine statistics (admin only)
Default: ""

Function Implementation

slotsreset Function

JAVASCRIPT

Usage Example

Player types: /slotsreset <player >

slotsrules

/slotsrulesTrigger Command

Description

Shows the rules and payouts for the slot machine

Function Implementation

slotsrules Function

JAVASCRIPT

Usage Example

Player types: /slotsrules

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.

Permissions (3)

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

3 permissions

Slots Admin

SLOTS_ADMINPermission Key
Description

Allows resetting player statistics and other administrative functions.

Permission Details
Full Key:SLOTS_ADMIN
Can Have Count:No
Category:General

Higher Betting Limits

SLOTS_HIGHER_LIMITSPermission KeyCountable
Description

Allows the player to exceed the normal maximum bet. Count is multiplier for max bet.

Permission Details
Full Key:SLOTS_HIGHER_LIMITS
Can Have Count:Yes
Category:General
Countable 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.

Play Slots

SLOTS_PLAYPermission Key
Description

Allows the player to play the slot machine.

Permission Details
Full Key:SLOTS_PLAY
Can Have Count:No
Category:General

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.