
PermBook 1.20.1
Easily give LuckPerms permissions via in-game books with GUI confirmation.
1.20.1 Paper Java Version 23.
(All 1.16 ~ 1.21 will work, but I haven't tested it, so please contact me if you have any problems)
Permission : "permbook.op"
# permbook.yml
permbook:
name: "&ePermission Book"
lore:
- ""
- "&7Right-click this book to acquire the permission."
- ""
- "&7Permission: &e{perm}"
- "&7World: &e{world}"
- ""
temp_permbook:
name: "&eTemporary Permission Book"
lore:
- ""
- "&7Right-click this book to acquire the permission."
- ""
- "&7Permission: &e{perm}"
- "&7Duration: &e{duration}"
- "&7World: &e{world}"
- ""
# messages.yml
messages:
no-console: "&cThis command can only be used by a player."
usage-use: "&eUsage:\n&f/permbook reload\n&f/permbook create <LuckPerms Permission> <World>\n&f/permbook tempcreate <LuckPerms Permission> <Duration> <World>"
usage-create: "&cUsage: /permbook create <LuckPerms Permission> <World>"
usage-temp-create: "&cUsage: /permbook tempcreate <Permission Node> <Duration> <World> (Duration examples: 1d, 2h, 30m)"
book-created: "&aThe book containing LuckPerms permission '{perm}' has been given. (Applied to {world})"
temp-book-created: "&aThe book containing LuckPerms permission '{perm}' for {duration} has been given. (Applied to {world})"
already-has-perm: "&cYou already have this permission!"
perm-registered: "&aLuckPerms permission '{perm}' has been registered!"
perm-registered-temp: "&aLuckPerms permission '{perm}' has been registered for {duration}! (Applied to {world})"
perm-cancelled: "&cPermission registration has been cancelled."
perm-fail: "&cAn error occurred while registering the permission. Please check the console log."
duration-parse-fail: "&cFailed to parse the duration. Registering as a permanent permission!"
reload-complete: "&aPermBook configuration files reloaded!"
no-permission: "&cYou do not have permission to use this command."
offhand-not-empty: "&cYou cannot use the Permission Book if your offhand is not empty. Please clear your offhand."
gui:
title: "PermBook Manager"
cancel-name: "&cCancel"
cancel-lore:
- ""
- "&7Click to cancel permission application."
- ""
confirm-name: "&aConfirm"
confirm-lore:
- ""
- "&7Click to proceed with applying the permission."
- ""
- "&7Please verify before applying the permission."
- "&7Permission: &e{perm}"
- "&7Duration: &e{duration}"
- "&7World: &e{world}"
- ""
info-name: "&eAre you sure you want to apply this permission?"
info-lore:
- ""
- "&7Please double-check before applying the permission."
- "&7Permission: &e{perm}"
- "&7Duration: &e{duration}"
- "&7World: &e{world}"
- ""
- "&7Left Click: Cancel"
- "&7Right Click: Apply"
- ""
cancel-slots: "0-3" # GUI slot positions for cancel (red stained glass pane) - do not modify
confirm-slots: "5-8" # GUI slot positions for confirm (lime stained glass pane) - do not modify
# data.yml
testlayer, [2025-03-24 04:56], test.test, world
testplayer, [2025-03-24 04:56], test.test2, 7d