#deluxe menu playerpoints

1 messages · Page 1 of 1 (latest)

severe sundial
#

What command is it so that they have to use playerpoints enable too buy what is inside the shop??

wary badge
#

Javascript

severe sundial
#

What?

wary badge
#

Use type as java scrip

#

Do you know the placeholder?

#

If yes then put it here I'll tell you the format

severe sundial
#

%playerpoints_points%
%playerpoints_points_formatted%
%playerpoints_points_shorthand%

#

Yea

wary badge
#

Ok

#

So you should try click requirements

#

Here's the format

severe sundial
#

Okay waiting 🫡

wary badge
#
  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.

severe sundial
#

Thank you I'll you know if it helps