A more detailed description is planed. But for now I can only offer the short description.
Otherwise ask on discord for help!
Change: PLAYER_WORLD_INFORMATIONS to ADVANCE_MENU_PLAYER_WORLD
Change: PLAYERLIST_PLAYER to ADVANCE_MENU_PLAYER
Change: MENU_PERMISSIONS_PLAYER to ADVANCE_MENU_PLAYER
This Menus open new menus. So that there is no need for Right and Left click.
Change the lore texts and so on, since this disables the rightclick function
Add ValueAction to the ChangePermission Action. This identifies if it sets or unsets the permission.
One for set allow/deny and one for unset (use defaults).
f.e. Unset player permission, will use the guest/member group permission.
PlayerPermissionMenu:
Title: '&f&lGuest Permissions'
Size: 45
Items:
UnsetAccessWorldItem:
DisplayName: '&f&lUnset Allow Access'
Type: OAK_DOOR
Lore:
- '&a&6Unset to default'
- ''
- '&fAccess &6to the World for Guests.'
Action: CHANGE_PERMISSION
ValueAction: UNSET
Group: GUEST
Permission: ACCESS
StatusEffect: ENCHANT
Slot: 10
SetAccessWorldItem:
DisplayName: '&f&lSet Allow Access'
Type: OAK_DOOR
Lore:
- '&a&lAllow&8/&c&lDeny'
- ''
- '&fAccess &6to the World for Guests.'
Action: CHANGE_PERMISSION
ValueAction: SET
Group: GUEST
Permission: ACCESS
StatusEffect: ENCHANT
Slot: 11