커맨드 실행
상점에서 거래가 발생할 때 임의의 명령어를 실행하도록 할 수 있습니다.
플레이스 홀더
구매: {player} {shop} {itemType} {amount} {priceSum}
판매: {player} {shop} {itemType} {amount} {priceSum} {tax}
명령어
/ds shop <상점이름> command <sell | buy> add <인덱스> <명령어>
/ds shop <상점이름> command <sell | buy> delete <인덱스>
/ds shop <상점이름> command active <true | false>
예시
Options:
title: SampleShop
enable: true
lore: ''
page: 2
permission: ''
flag: {}
command:
active: true
sell:
'0': bal {player}
'1': say {player} {shop} {itemType} {amount} {priceSum} {tax}
buy:
'0': baltop
Last updated