Item permissions v2 - ServerSelectorX/ServerSelectorX GitHub Wiki
OUT OF DATE GO HERE https://github.com/ServerSelectorX/ServerSelectorX/wiki/Per-icon-permissions-premium
Add the permission
option and no-permission:
section to an item to change the item appearance and actions based on whether a player does or does not have a permission. Example:
4:
permission: ssx.dirt
actions:
- 'consolecommand:give {player} dirt 64'
- 'playercommand:say I am too lazy to get dirt myself'
material: DIRT
title: '&aFree dirt'
no-permission:
actions:
- 'message:No free dirt for you'
material: DIRT
title: '&cFree dirt'
``