Skip to main content

Configuration

This guide covers all configuration options available in RocketPlaceholders.

Configuration File

The main configuration file is located at plugins/RocketPlaceholders/config.yml.

Basic Configuration

Here’s the default configuration with explanations:

Configuration Options

Basic Settings

prefix - The prefix shown in plugin messages. Supports Minecraft color codes. no_permission - Message shown when a player doesn’t have permission to use a command. debug - Enable debug mode for troubleshooting. Set to true to see detailed logs. update-message - Enable or disable update notifications when joining the server.

MySQL Configuration

RocketPlaceholders supports MySQL for synchronizing placeholders across multiple servers. mysql.enabled - Enable or disable MySQL synchronization. mysql.main - Set to true on your main server. The main server is where placeholders are stored and copied from. mysql.ip - MySQL server IP address. mysql.port - MySQL server port (default: 3306). mysql.username - MySQL username. mysql.password - MySQL password (leave empty if no password). mysql.database - MySQL database name.
For detailed MySQL setup instructions, see the MySQL guide.

Placeholder Storage

All custom placeholders are stored in the placeholders folder. Each placeholder is defined in its own YAML file.
The placeholders folder structure allows for better organization and easier management of multiple placeholders.

Example Configuration

Basic Setup (Local Storage)

MySQL Setup