View Handler - Andre601/AdvancedCustomMenu GitHub Wiki
The View-Handler helps you, preventing players from even seeing the item, before it's created.
This also helps for making dynamic items, that change, if certain requirements are successful.
Example
View-Handler:
Permission: 'example.permission'
Price: 50
Points: 25
Summary
Permission
| Required? | Type | Supports Placeholders? |
|---|---|---|
| No | Boolean | No |
Sets a permission, a player must have, to see the item.
Add a - before the permission, to let the plugin show the item, if the player does NOT have the permission!
Price
| Required? | Type | Supports Placeholders? | Needs | Default |
|---|---|---|---|---|
| No | Integer | No | Vault + a Economy-plugin | 0 |
Sets a amount of money, the player needs to have, to see the item.
Price
| Required? | Type | Supports Placeholders? | Needs | Default |
|---|---|---|---|---|
| No | Integer | No | PlayerPoints | 0 |
Sets a amount of points, the player needs to have, to see the item.