RulesPlugin – Custom GUI Rules Acceptance
A clean, flexible, and fully customizable way to show and accept server rules via GUI.
------
✨ Features
• Highly customizable via config.yml
• Supports unlimited rules with pagination
• Choose custom icons, descriptions, and punishments
• Customizable accept button block and name
• Block all commands until rules are accepted
• ️️Logs every player that accepts rules (rules.log)
• ⚙️In-game reload command /rules reload
• Permissions support (perfect with LuckPerms)
• Smart tab-completion: /rules logs, /rules reload
• Supports latest Paper / Spigot 1.21.1
------
Commands
1.
/rules – Opens the rules GUI (no permission required)
2.
/rules reload – Reloads the configuration (Permission: rulespl.reload)
3.
/rules logs – Shows accepted players (Permission: rulespl.seelogs)
------
Configuration Preview
Code (YAML):
gui-title
:
" Server Rules"
error-message
:
"§cYou must accept the rules before doing anything!"
no-permission-reload
:
"§cYou don't have permission to reload the plugin."
no-permission-logs
:
"§cYou don't have permission to see the logs."
invalid-command-message
:
"§cUsage: /rules [logs|reload]"
log-empty-message
:
"§cNo one has accepted the rules yet."
log-error-message
:
"§cError reading log file."
log-header
:
"§7§m-----------------------------"
log-title
:
"§a§lAccepted Players:"
log-footer
:
"§7§m-----------------------------"
accept-button:
item
: EMERALD_BLOCK
name
:
"§aClick here to accept the rules"
rules:
- title
:
"§e1. Respect others"
description
:
"§7No toxicity, racism, or harassment."
item
: PAPER
- title
:
"§e2. No cheating"
description
:
"§7Hacks or unfair mods = ban."
punishment
:
"§cBan: 7 days"
item
: BARRIER
Full config explained here:
https://rulesplugin.netlify.app/config
------
Installation
• Download the latest .jar file
• Drop it into your /plugins folder
• Start your server
• Customize the config.yml
• Use /rules reload to apply changes
------
Notes
This plugin is
not open-source.
Redistribution is not allowed.
Feel free to suggest new features or report bugs in the Discussion section.
Visit
RulesPlugin on Modrinth too!