size: 27
items:
filler_item:
material: BLACK_STAINED_GLASS_PANE
slots:
- 1
- 2
- 4
- 6
- 8
- 10
- 12
- 14
- 16
- 18
- 20
- 21
- 22
- 23
- 24
- 25
chch1:
material: WHITE_WOOL # Material 명칭은 대문자로 표기
slot: 0
display_name: '식당 재건'
lore:
- '필요조건: 방랑자'
- '가격: 100만원'
- '필요 재료:'
- '침엽수 64개'
- '활엽수 64개'
- '오동나무 64개'
- '지식의 정수 64개'
- '구리선 64개'
- '석유 64개'
- '응축된 에너지 64개'
- '강철 32개'
- '순금 32개'
- '산업용 다이아몬드 16개'
- '정령의 기운 16개'
left_click_requirement:
requirements:
have_chef:
type: has permission
permission: main3.open
price_check:
type: has money
amount: 1500000
has_a:
type: '>='
input: "%checkitem_amount_nbtstrings:itemsadder..id=lapis%"
output: 64
deny_commands:
- '[message] ???: 아직 우리를 만나기엔 이른 듯 하구나. 부디 조금 더 성장해서 돌아오렴.'
previous_menu:
material: BLUE_STAINED_GLASS_PANE
slot: 18
display_name: '&9이전으로'
left_click_commands:
- '[openguimenu] 상점 메뉴'
close_menu:
material: RED_STAINED_GLASS_PANE
slot: 26
display_name: '&c닫기'
left_click_commands:
- '[close]'```
#help for requirements plz
1 messages · Page 1 of 1 (latest)
whats wrong
hello thanks for help but i found it! im so stupid so i funny for me
its because left_click_commands
its alright 🤝
can i ask one thing?
i want to make two way requirements
left_click_requirement:
``` requirements:
have_chef:
type: has permission
permission: cook1.open
deny_commands:
- '[message] 이미 처리된 권한입니다.'
left_click_requirement:
requirements:
have_chef:
type: has permission
permission: main3.open
deny_commands:
- '[message] ???: 아직 우리를 만나기엔 이른 듯 하구나. 부디 조금 더 성장해서 돌아오렴.'
left_click_commands:
- '[console] lp user %player_name% promote cook'
left_click_commands:
- '[console] lp user %player_name% promote cook'```
like this
i dont get it
hmm.. like this
if i have permission 1
i get item1
===================================
but if i have permission 2
i get item 2```
basically conditions
yeah its possible with view requirements
create two items with same material, name, slot
set priority of 1st item higher than 2nd
set view req of 1st item to permission 1
set view req of 2nd item to permission 2
this should work
and different click commands to both items
make sure give both of them a unique item name
ah if you mean like this?
material: WHITE_WOOL # Material 명칭은 대문자로 표기
slot: 0
display_name: '식당 재건'
lore:
- '필요조건: 방랑자'
- '가격: 150만원'
- '필요 재료:'
- '침엽수 64개'
- '활엽수 64개'
- '오동나무 64개'
- '지식의 정수 64개'
- '구리선 64개'
- '석유 64개'
- '응축된 에너지 64개'
- '강철 32개'
- '순금 32개'
- '산업용 다이아몬드 16개'
- '정령의 기운 16개'
left_click_requirement:
requirements:
have_chef:
type: has permission
permission: chef1.open
left_click_commands:
- '[message] 당신은 이미 식당을 재건하였습니다.'
chch1:
material: WHITE_WOOL # Material 명칭은 대문자로 표기
slot: 0
display_name: '식당 재건'
lore:
- '필요조건: 방랑자'
- '가격: 150만원'
- '필요 재료:'
- '침엽수 64개'
- '활엽수 64개'
- '오동나무 64개'
- '지식의 정수 64개'
- '구리선 64개'
- '석유 64개'
- '응축된 에너지 64개'
- '강철 32개'
- '순금 32개'
- '산업용 다이아몬드 16개'
- '정령의 기운 16개'
left_click_requirement:
requirements:
have_chef:
type: has permission
permission: main3.open
deny_commands:
- '[message] ???: 아직 우리를 만나기엔 이른 듯 하구나. 부디 조금 더 성장해서 돌아오렴.'
left_click_commands:
- '[console] lp user %player_name% promote cook'```
view_requirement:
like this?
sry.. something is wrong in this code..?
what mean is properly align the stuff?
match the indentation
f.e. all the item names should start in the same amount indent
2nd one is correct add two spaces in the 1st one
ah ok! thank you!
🤝
Hi can i ask one thing? Just for this placeholder return string everytime but i want to make %math-------%. In luckperms command i want return the result number but it return string so need to help to change string to result number
i dont understand