EnesRules Plugin
Features
Rules GUI
Modern and elegant interface
HEX color code support
Customizable title and texts
2 different rule books
Fully Customizable
Item Types: Choose any item from config (BOOK, ENCHANTED_BOOK, PAPER, etc.)
Slot Locations: Determine the position of books in GUI
Name and Description: Set custom name and lore for each book
Colors: Use HEX format color codes (&#RRGGBB)
Sound Effects
Click sounds
Success/failure notifications
Customizable sounds from config
Access Control
All players can open GUI
Only permission required for reload command
Configuration reload with
Commands
/rules
Opens the rules GUI
Any player can use
/rules reload
Reloads the config file
Success/failure messages
Configuration
config.yml Settings
Platform Support
Paper(1.21.1 - 1.21.11)
Folia (1.21.1 - 1.21.11)
Purpur (1.21.1 - 1.21.11)
Installation
1. Put
2. Restart the server
3. Config file is automatically created
4. Customize as you wish
Usage
1. Players type
2. Admins use
3. Completely customize GUI from config
Additional Features
Smart Inventory Detection: Plugin uses both InventoryHolder and title-based detection for maximum compatibility
Multiple Event Protection: Click, drag, and interact events are all blocked
Configurable GUI Size: 27-slot inventory with customizable items
Fallback System: If invalid item type is specified, defaults to KNOWLEDGE_BOOK
Real-time Sound Feedback: Click sounds when interacting with rule books
Auto-close on Click: Inventory closes when players click on rule books
Features
Modern and elegant interface
HEX color code support
Customizable title and texts
2 different rule books
Item Types: Choose any item from config (BOOK, ENCHANTED_BOOK, PAPER, etc.)
Slot Locations: Determine the position of books in GUI
Name and Description: Set custom name and lore for each book
Colors: Use HEX format color codes (&#RRGGBB)
Click sounds
Success/failure notifications
Customizable sounds from config
All players can open GUI
Only permission required for reload command
Configuration reload with
rules.reload permissionCommands
/rules
Opens the rules GUI
Any player can use
rules.admin permission NOT REQUIRED/rules reload
Reloads the config file
rules.reload permission requiredSuccess/failure messages
Configuration
config.yml Settings
YAML:
title: "&8ʀᴜʟᴇꜱ"
gui-settings:
rules_1:
name: "B5F5Server Rules"
item: "KNOWLEDGE_BOOK"
slot: "11"
lore:
- "⏺ No hacking"
- "⏺ Respect others"
rules_2:
name: "B5F5Chat Rules"
item: "BOOK"
slot: "15"
lore:
- "⏺ No spamming"
- "⏺ Be respectful"
messages:
reload: "Config reloaded!"
no-permission: "You do not have permission to use this command."
sounds:
click: "ui.button.click"
reload: "entity.experience_orb.pickup"
no-permission: "entity.villager.no"
Installation
1. Put
EnesRules.jar file in server's plugins folder2. Restart the server
3. Config file is automatically created
4. Customize as you wish
Usage
1. Players type
/rules to see rules2. Admins use
/rules reload to refresh settings3. Completely customize GUI from config
Additional Features
Smart Inventory Detection: Plugin uses both InventoryHolder and title-based detection for maximum compatibility
Multiple Event Protection: Click, drag, and interact events are all blocked
Configurable GUI Size: 27-slot inventory with customizable items
Fallback System: If invalid item type is specified, defaults to KNOWLEDGE_BOOK
Real-time Sound Feedback: Click sounds when interacting with rule books
Auto-close on Click: Inventory closes when players click on rule books
