▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
143
5

📜 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)

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"```

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:MIT
Опубликован:5 месяцев назад
Обновлён:5 месяцев назад
Главная