Sorry everyone for so many requests :c So; here's what i'm trying to do. Name it, "VoidChestcommands-addon" i'm using chestcommands to make certain GUIs. But i want where the name / lore of the GUI Can look different depending a certain permission they have. Ex, if a player has permission "mine.b.unlocked" in a /warp GUI it will show as "&3B" "&aUnlocked" and the item will be a stone But if they don't have that permission, it will show as "&3B" "&cLocked" And the item will be a red pane glass That's an example, so the variables added on should be (In the main) locked-name: 'Name' unlocked-name: 'Name' locked-lore: - '&cLore here' unlocked-lore: - '&alore here' locked-item: '(Item id)' unlocked-item: '(item id)' permission-needed: 'permission.node.here' - Locked name = The name visible when they dont got the permission - - Unlocked name = the name visible when they have the permission - - Locked lore = The lore visible when they dont got the permission - - Locked item = The item visible when they dont got the permission - - Unlocked item = The item visible when they dont got the permission - Have it done whenever There's no commands, as it's an add on
Hmm, This is relatively easy just a tonne of repeated code depending on how many ranks their are. Also are you using essentials? This will make it easier if I decide to take this project up
@Mee8a i'm using essentials. Please have it work in the normal chestcommands gui files, as the variables ther. Thanks