#is there a requirement to see if a player has an empty inventory slot
1 messages · Page 1 of 1 (latest)
click_requirement:
requirements:
inventory:
type: "string equals"
input: "%player_has_empty_slot%"
output: "yes"
Can I check a certain amount of free slots instead of Yes?
type: ">="
input: "%player_empty_slots%"
output: "10"
I did that and its still not working
requirements:
inventory:
type: ">="
input: "%player_empty_slots%"
output: 8
has_enough_points:
type: '>='
input: '%playerpoints_points%'
output: 300
deny_commands:
- '[message] &cʏᴏᴜ ᴅᴏɴ''ᴛ ʜᴀᴠᴇ ᴇɴᴏᴜɢʜ &fꜱʜᴀʀᴅꜱ &cᴏʀ &f8 ɪɴᴠᴇɴᴛᴏʀʏ ꜱʟᴏᴛꜱ'
- '[sound] BLOCK_NOTE_BLOCK_BASS'
- '[close]'
left_click_commands:
- '[console] points take %player_name% 300'
- '[console] ekit potionBundle %player_name%'
- "[sound] BLOCK_NOTE_BLOCK_BELL 0.8 0.7"
- '[close]'```
And yes Player placeholder is installed
does it run the commands anyways or does it never run them?
We had to add our own placeholder because it turns out %player_empty_slots% returns every empty slot including the armor slots and off hand but it works now thank you
ah