#deluxe menu playerpoints
1 messages · Page 1 of 1 (latest)
Javascript
What?
Use type as java scrip
Do you know the placeholder?
If yes then put it here I'll tell you the format
%playerpoints_points%
%playerpoints_points_formatted%
%playerpoints_points_shorthand%
Yea
Okay waiting 🫡
requirements:
type: javascript
expression: '%playerpoints_points% > {value}'```
'>' symbol is for greater than
'<' symbol is for less than
'=' symbol for equal to.
I prefer using '>=' or just '>' for making shop
material: basehead- Abobymotaki
slot: 38
display_name: '&a&lCommon Rankup Voucher'
priority: 1
lore:
- '&f You can buy &a&lCommon Rankup Voucher'
- '&f with &a&l1.75M Gems &7(&a&l✔&7)'
view_requirement:
requirements:
hasgems:
type: javascript
expression: '%ultraprison_gems_1% >= 1750000'
hasperms:
type: has permission
permission: group.crusteous
click_requirement:
requirements:
hasgems1:
type: javascript
expression: '%ultraprison_gems_1% >= 1750000'
click_commands:
- '[close]'
- '[message] &a '
- '[console] gems remove %player_name% 1750000'
- '[console] iv give %player_name% commonrankup'```
This is one of my codes
If the %playerpoints_points% doesn't work then use %playerpoints_points_formatted%
Tell me if it helps.
Thank you I'll you know if it helps