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.
triviaTime
- Build a custom trivia question library.
- Schedule trivia rounds at configured intervals.
- Reward correct answers with currency or item prizes.
- Give players a simple answer command.
- Add a low-friction community event that keeps chat active.
Module details
Limon_triviaTime: Interactive Trivia Game System
Key Benefits:
- Customizable Question Library: Build your own collection of trivia questions and answers
- Flexible Reward System: Choose between currency or item rewards for winners
- Automated Scheduling: Set trivia events to run at specified intervals
- Player Engagement Tool: Keeps your community active and entertained
- Simple Answer Validation: Easy command-based answer submission system
Features:
- Configurable question database with pre-populated examples
- Dual reward types (currency or items)
- Customizable item quality and quantity settings
- Permission-based participation control
- Automated trivia scheduling with cron jobs
- Real-time feedback on incorrect answers
- Server-wide announcements for winners
Components Overview
New Module: triviaTime
NEWplayerAnswer. Added 1 scheduled task: TriviaTime. New permission: TRIVIA_PARTICIPATE. New configuration options: rewardItems, rewardType, rewardAmount, questions.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 (4)
Items
If you choose items as a rewardtype, you will be able to select a list of items.
rewardType
Choose Currency or items
currencyrewardAmount
If you choose currency this will be the reward amount
0Questions
Key value pairs of questions and answers
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.
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.
TriviaTime
Schedule Details
Cron Expression
Human-Readable Schedule
Daily at midnight
Function Implementation
TriviaTime 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 (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
TRIVIA_PARTICIPATE
TRIVIA_PARTICIPATEPermission KeyDescription
TRIVIA_PARTICIPATE
Permission Details
TRIVIA_PARTICIPATEAbout 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.







































