Ruler
A simple plugin to Rule them all.
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
Ruler
📜 Ruler
Ruler is a Paper plugin that enforces your server rules by showing players a rules screen before they join. Players must ✅ accept the rules to play; if they ❌ disagree, they are kicked. Once a player agrees, they will not see the rules screen again. The plugin stores accepted players using 💾 SQLite for persistence.
---
✨ Features
- 📋 Displays a fully customizable rules dialog to new players. - 🚫 Prevents joining if players do not accept the rules. - 💾 Automatically remembers players who have agreed using SQLite. - 🎨 Configurable `rules.yml` supports MiniMessage formatting, including colors, bold, and tooltips. - 🔘 Customizable buttons for accepting or disagreeing. - ⚡ Lightweight and compatible with Paper 1.21+.
---
⚙️ Configuration (`rules.yml`)
```yaml title: "<bold><color:#ffffff>Server Rules"
disagree-message: "<red>You must accept the rules to play!"
buttons: accept: text: "<green>I accept the rules" tooltip: "Click to agree to follow the server rules." disagree: text: "<red>I do not accept" tooltip: "Clicking this will prevent you from joining the server."
rules: - "<green>No hacking or cheating" - "<yellow>No griefing or destroying builds" - "<aqua>Be respectful to all players"```