A Minecraft plugin for Paper and Folia servers that manages game rules through a configuration file.
## Features
- Supports Minecraft versions 1.21.1 - 1.21.8
- Compatible with both Paper and Folia servers
- Configure game rules in a centralized config file
- Apply game rules to all worlds automatically
- Reload configuration without restarting the server
- Uses `paper-plugin.yml` for modern Paper plugin format
## Commands
- `/gamerulemanager reload` or `/grm reload` - Reload the configuration and apply game rules to all worlds
## Configuration
The plugin uses a file called `config.conf` located in the plugin's data folder. This file contains key-value pairs where the key is the game rule name and the value is what the game rule should be set to.
# Integer game rules
randomTickSpeed: 3
maxEntityCramming: 24
```
## Installation
1. Download the compiled jar file
2. Place it in your server's `plugins` folder
3. Restart the server
4. Edit the generated `config.conf` file in `plugins/GameRuleManager/`
5. Use `/grm reload` to apply changes without restarting
## Building from Source
This is a Maven project. To build:
```bash
mvn clean package
```
The resulting jar will be located in the `target` folder.