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.

BetterBloodMoons

by Mad
Control Better Blood Moons settings on a 7 Days to Die server with Takaro commands. BetterBloodMoons helps admins switch blood moon behavior on or off without manually repeating server command changes every time.
Use this module to:
  • Enable Better Blood Moons behavior with a permissioned command.
  • Disable the modified settings and return to default behavior.
  • Give staff clear reminders about related XML setting changes.
  • Reduce manual work around horde night and blood moon event setup.
Good fit for 7 Days to Die admins who run configurable blood moon events and want faster, permission-controlled server management through Takaro.

Module details

Provides commands to easily enable or disable 'Better Blood Moons' settings on a 7 Days to Die server, automating the configuration changes typically done manually via XML editing.

Key Functionality

  • Enable Better Blood Moons: The /BBM command automatically sets the necessary server commands to activate 'Better Blood Moons'. It also provides a reminder about a recommended XML setting change.
  • Disable Better Blood Moons: The /BBMoff command reverts the server settings to their default, effectively disabling 'Better Blood Moons'. It also provides a reminder about reverting the XML setting if changed.
  • Simplified Management: This module eliminates the need for manual editing of the CPMsettings.xml file, reducing the risk of errors and making it easier to switch between default and enhanced Blood Moon settings.
  • Permission Control: Access to the /BBM and /BBMoff commands is controlled by a dedicated permission.

How to Use

  1. Installation: Install the module on your Takaro instance.
  2. Configuration: (Optional) No configuration is typically needed for this module.
  3. Permissions: Grant the BETTER_BLOOD_MOONS permission to the user roles or players who should be able to use the /BBM and /BBMoff commands.
  4. In-Game Usage:
    • /BBM: Executes the commands to enable 'Better Blood Moons' and displays a recommended XML setting.
    • /BBMoff: Executes the commands to disable 'Better Blood Moons' and displays a reminder about the XML setting.

Important Considerations

  • CPM Mod Dependency: This module is designed to work in conjunction with the 'CPM' (Custom Prefabs Mod) for 7 Days to Die. Ensure that CPM is installed and configured on your server.
  • XML Setting Awareness: The module provides reminders about a specific setting (BloodmoonSpawner_DespawnAllOnStart) in the CPMsettings.xml file. While the module automates other settings, this XML setting might need manual adjustment for optimal behavior.
  • Permission Management: Control access to the module's commands using the provided permission to prevent unintended changes to Blood Moon settings.
communityTakaro main

Components Overview

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

New Module: BetterBloodMoons

NEW
August 6, 2025
Updated to version latest. Added 2 commands: BBMoff, BBM. New permission: BETTER_BLOOD_MOONS.

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.

BBMoff

/BBMoffTrigger Command

Description

Run this command to set Better Blood Moons to default. If you changed the CPMsettings.xml line BloodmoonSpawner_DespawnAllOnStart to true, set it back to false

Function Implementation

BBMoff Function

JAVASCRIPT

Usage Example

Player types: /BBMoff

BBM

/BBMTrigger Command

Description

[FF6D6A]Run this command to set Better Blood Moons to default. If you change dthe CPMsettings.xml line BloodmoonSpawner_DespawnAllOnStart to true, set it back to false,

Function Implementation

BBM Function

JAVASCRIPT

Usage Example

Player types: /BBM

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

1 permission

Better Blood Moons

BETTER_BLOOD_MOONSPermission Key
Description

Blood Moons

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