Hey i use a Plugin called Gem Economy in that we can create custom Currency So, j have custom armour in my server Which increases the rates of like Mob Coins and other stuff so I want do make that I I use a cmd /sets it opens a menu which has all the armour and when I click on a peice example Chestplate I want it to Deduct the amt from the custom currency and give The player the armour can j do that?
#Deluxe Menu Question
1 messages · Page 1 of 1 (latest)
'0':
material: diamond_chestplate
slot: 0
display_name: '&fChestplate'
click_requirement:
requirements:
anything_here:
type: '>='
input: '%gemseconomy_balance_<currency>%'
output: '100'
deny_commands:
- '[message] &6Shop &8> &7You need &c100 Gems &fto buy &c1 x Granite&f.'
click_commands:
- '[console] gems take %player_name% 100' #Change to your command to remove gems
- '[console] give %player_name% diamond_chestplate 1' #Change to your command to give custom chestplate
- '[message] &6Shop &8> &fYou bought &a1 x Chestplate &ffor &a100 Gems&f.'
Something like this should work, you will need the gemseconomy papi expansion