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.

community-fund

by Takaro
for All Games
Give players a shared game server goal they can fund together with in-game currency. Community Fund turns individual contributions into a visible community progress loop, then runs configured completion actions when the fund reaches its target.
Use this module to:
  • Let players contribute currency with /fund.
  • Show current progress, target, round count, and fund history.
  • Broadcast contributions so the server sees momentum build.
  • Trigger server commands or rewards when the community goal completes.
Good fit for communities that want shared economy goals, server-wide reward drives, group unlocks, or recurring participation events managed through Takaro.

Module details

Community Fund

Give players a shared server goal they can fund together with in-game currency. Each contribution moves the community toward a configurable threshold; once the goal is reached, the fund resets, the next round starts, and optional completion commands fire on the game server.

What it does

  • Players run /fund <amount> to contribute their own currency toward the active goal.
  • /fundstatus shows the current total, target, progress percentage, and round count.
  • /fundhistory shows total completions and the last player who pushed the fund over the line.
  • Contributions can be globally broadcast so the server sees momentum build.
  • When the target is reached, the module broadcasts a configurable completion message.
  • Completion commands let staff unlock server-wide rewards, effects, events, or other game-server actions.
  • Overshoot carries into the next round instead of being discarded.

Verified dashboard chat flow

The main evidence is the Takaro dashboard chat for the Paper sandbox koji-paper-1. For this capture the game-server command prefix was temporarily set to ! so Mineflayer sends normal chat messages instead of Minecraft slash commands. On a normal server the same module commands use whatever command prefix the server has configured.
The screenshot shows the full player-facing fund flow:
  1. Bot1_fund90dj runs !fundstatus and sees 0/50.
  2. Bot1_fund90dj contributes 20 currency with !fund 20.
  3. Bot1_pool90dj runs !fundstatus and sees 20/50 (40%).
  4. Bot1_pool90dj contributes 35 currency with !fund 35.
  5. The fund reaches the 50 threshold, broadcasts the unlock message, executes the configured completion command, and starts round #1.
  6. !fundhistory confirms 1 completion total and records Bot1_pool90dj as the player who completed the round.
Takaro dashboard chat showing the Community Fund flow

Player commands

CommandPurpose
/fund <amount>Contribute currency to the active community fund.
/fundstatusShow current total, target, progress, and round count.
/fundhistoryShow completion count and the last completed round.

Permissions

PermissionPurpose
COMMUNITY_FUND_CONTRIBUTEAllows a player to contribute currency with /fund <amount>.
COMMUNITY_FUND_VIEW_HISTORYAllows a player to view /fundhistory.
/fundstatus is intentionally public and does not require a permission.

Install configuration

  • fundThreshold: target amount that completes a round.
  • minimumContribution: minimum currency amount a player can contribute per command.
  • completionMessage: broadcast message sent when the threshold is reached. Supports {threshold}.
  • completionCommands: raw game-server commands executed after completion, for rewards or server events.
  • broadcastContributions: whether each contribution is announced globally.

Verified sandbox result

This module was smoke-tested against the Takaro Minecraft Paper sandbox (koji-paper-1) with real Mineflayer players and live Takaro chat events. The run imported and installed the module, assigned the contribution/history permissions, granted test currency, sent the commands through real bot chat, and verified persisted variables after completion.
Test config used for the capture:
  • fundThreshold: 50
  • minimumContribution: 5
  • completionMessage: Community Fund reached {threshold}! Server-wide bonus unlocked!
  • completionCommands: say Community Fund complete: reward unlocked
  • broadcastContributions: true
Final state from the dashboard-backed run:
  • First contribution: 20 currency from Bot1_fund90dj
  • Second contribution: 35 currency from Bot1_pool90dj
  • Threshold reached: 50
  • Carryover into next round: 5
  • Completion count: 1
  • Last completion: Round #1, 2026-04-27, by Bot1_pool90dj

Readable variable evidence

The final Takaro variables are shown below with readable values.
Community Fund total variable
Community Fund round/cycle variable
Community Fund last completion variable
communityTakaro 0.0.0

Components Overview

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

New Module: community-fund

May 8, 2026
Added community-fund to the repository

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

fundThresholdnumber

Target amount that triggers fund completion and reset

Default: 1000000
Constraints: min: 1
minimumContributionnumber

Minimum amount a player must contribute per command

Default: 1
Constraints: min: 1
completionMessagestring

Broadcast message when threshold is reached. Supports {threshold} placeholder.

Default: The community fund has reached {threshold}! Thank you everyone!
completionCommandsarray

Raw game server commands executed on fund completion. E.g. Minecraft: 'effect give @a luck 3600'

Default: [] (empty array)
broadcastContributionsboolean

Whether to broadcast each contribution to all players

Default: true

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

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

fund-contribute

/fundTrigger Command

Description

Contribute currency to the community fund. Amount must be a positive whole number.

Arguments (1)

amount
numberPosition 0
Help: The amount of currency to contribute
Default: None

Function Implementation

fund-contribute Function

JAVASCRIPT

Usage Example

Player types: /fund <amount>

fund-history

/fundhistoryTrigger Command

Description

Shows the number of community fund completions and the last completion details.

Function Implementation

fund-history Function

JAVASCRIPT

Usage Example

Player types: /fundhistory

fund-status

/fundstatusTrigger Command

Description

Shows the current community fund total, target, and round count.

Function Implementation

fund-status Function

JAVASCRIPT

Usage Example

Player types: /fundstatus

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.

Functions (1)

Reusable JavaScript functions that can be imported and used by other module components like commands, hooks, and cron jobs. These promote code reuse and modularity.

fund-helpers

functionReusable Component

Function Implementation

fund-helpers Function

JAVASCRIPT

Import Usage

Import: import { fund-helpers } from './utils';

About Module Functions

Functions are reusable JavaScript components that can be imported and used by commands, hooks, and cron jobs within your module. They promote code reuse, improve maintainability, and allow you to organize complex logic into modular pieces. Functions must be exported with proper ES6/CommonJS syntax to be importable by other components.

Permissions (2)

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

2 permissions

Contribute to Fund

COMMUNITY_FUND_CONTRIBUTEPermission Key
Description

Allows a player to contribute currency to the community fund

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

View Fund History

COMMUNITY_FUND_VIEW_HISTORYPermission Key
Description

Allows a player to view the community fund completion history

Permission Details
Full Key:COMMUNITY_FUND_VIEW_HISTORY
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.