material: VERDANT_FROGLIGHT
slot: 22
display_name: '&c&lHT3 Arena'
lore:
- "&7Телепорт на HT3 Arena"
click_requirement:
minimum_requirements: 1
stop_at_success: false
deny_commands:
- "[message] &cУ вас нет доступа к данной арене."
requirements:
tier_check:
type: javascript
expression: '%tier_sword_priority% <= 10'
perm_check:
type: has permission
permission: ffa.ramp.arena
click_commands:
- '[console] ffa kit beast %player_name%'
- '[console] ffa spawn ht3 %player_name%'
- '[close]' ```
#requirements dont check correctly
1 messages · Page 1 of 1 (latest)
here is the full
it checks only first req, if i permuter them it will check another. but not both Also same problem with two javascripts . I want to make OR logic
Наверное потому-что у тебя 2 блока с требованиями, и оба разной вложенности
все из-за строки optional