U
/u/Square-Tax6355
Guest
hi, i've been trying to make a spawner shop with deluxe menus for about 3 hours, but it keeps denying the %player_name% placeholder.
plugins i have:
-excellent economy
-placeholder api
-deluxe menus
-smartspawners
this is the code for one of the spawners:
'Pig-Spawner':
material: SPAWNER
priority: 1
slot: 11
hide_effects: true
display_name: "&bPig Spawner"
lore:
- "&8ᴀꜰᴋѕʜᴏᴘ ɪᴛᴇᴍ"
- ""
- "&7
Sell pork for easy profit!"
- ""
- "&6◈ &fCosto: &b200 Pixels"
- ""
- "&a&l➥ CLICK TO PURCHASE"
click_commands:
- '[console] pixels take %player_name% 200'
- '[console] ss give spawner %player_name% PIG 1'
- '[message] &8&l[&a&l!&8&l] AFE77You successfully bought the AFE77Spawner!'
- '[close]'
click_requirement:
requirements:
click_requirement:
type: javascript
expression: '%excellenteconomy_balance_raw_pixels% >= 200'
deny_commands:
- "[message] &8&l[&c&l!&8&l] &#FF7C7CYou don't have enough pixels to purchase this item!"
- '[close]'
everything looks perfect, is just that it doesnt take any pixel(the currency i made, replacing coins) from my accounts and does not give me the spawners, what can i do?
submitted by /u/Square-Tax6355
[link] [comments]
Continue reading...
plugins i have:
-excellent economy
-placeholder api
-deluxe menus
-smartspawners
this is the code for one of the spawners:
'Pig-Spawner':
material: SPAWNER
priority: 1
slot: 11
hide_effects: true
display_name: "&bPig Spawner"
lore:
- "&8ᴀꜰᴋѕʜᴏᴘ ɪᴛᴇᴍ"
- ""
- "&7
- ""
- "&6◈ &fCosto: &b200 Pixels"
- ""
- "&a&l➥ CLICK TO PURCHASE"
click_commands:
- '[console] pixels take %player_name% 200'
- '[console] ss give spawner %player_name% PIG 1'
- '[message] &8&l[&a&l!&8&l] AFE77You successfully bought the AFE77Spawner!'
- '[close]'
click_requirement:
requirements:
click_requirement:
type: javascript
expression: '%excellenteconomy_balance_raw_pixels% >= 200'
deny_commands:
- "[message] &8&l[&c&l!&8&l] &#FF7C7CYou don't have enough pixels to purchase this item!"
- '[close]'
everything looks perfect, is just that it doesnt take any pixel(the currency i made, replacing coins) from my accounts and does not give me the spawners, what can i do?
submitted by /u/Square-Tax6355
[link] [comments]
Continue reading...