Permissions 🔒
📄 Introduction
Permissions are used to control who can access specific features and commands in the MiniBook plugin. By assigning the correct permissions, you can ensure that only authorized players can create, manage, or access books.
Below is a complete list of all available permissions in MiniBook, along with their descriptions.
🔒 Plugin Permissions
| 🔒 Permission | 📄 Description |
|---|---|
| minibook.admin | Grants full access to all MiniBook commands and bypasses all permission checks. Intended for server administrators only. |
| minibook.reload | Allows the player to use the /minibook reload command to reload configuration files and books. |
| minibook.help | Grants access to the /minibook help command, displaying the list of available commands. |
| minibook.info | Allows the player to view plugin information using /minibook info. |
| minibook.open | Allows the player to open books using the /minibook open command, if they meet the book's permission requirements. |
| minibook.list | Grants access to the /minibook list command to view all available books. |
| minibook.create | Allows the creation of new books using the /minibook create command. Intended for admins or content creators. |
| minibook.delete | Allows deletion of existing books using the /minibook delete command. |
| minibook.give | Allows the player to give books to themselves or others using the /minibook give command. |
| minibook.bypass_welcome | Allows the player to bypass the automatic welcome book when joining the server. |
📜 Explanation
- Command-based Permissions: Each MiniBook command is protected by its own permission node. Grant only the permissions that match the player's role.
- Premium Books: Some books may require an additional custom permission defined in the book configuration. Even with command access, players must have the required book permission to open or receive premium books.
- Admin Permission: The
minibook.adminpermission overrides all other checks and grants full access to every feature in the plugin. - Security Tip: Avoid granting powerful permissions such as
minibook.deleteorminibook.adminto untrusted players, as these can permanently affect server content.
This permission system allows MiniBook to be flexible, secure, and suitable for both small and large servers.