Shop Configuration - Oskang09/UniversalGUI GitHub Wiki
Here an example shop.yml
npc_id: 1
# Need plugins Citizens to work with this. and the 1 will be the npc id.
gui_rows: 6
# The gui rows only can be 1 - 6.
gui_name: '&fCustomName'
# Display Name for the GUI
command: 'cmd'
# For the command 'ugui open cmd' and permission 'ugui.shop.cmd'
msg:
fail: ''
# Here for the Global Fail Message ( Work when requirement not reach )
sucess: ''
# Here for the Global Sucess Message ( Work when requirement reach )
gui:
1:
# Slot for the Item in GUI
id: 1
# ID of the Item
name: '&fTestUI'
# Display name for Item
data: 1
# DataValue for Item
# Lores for Item
lore:
- '&f123'
- '&2l2l3'
event:
1:
# Action for the slot
msg:
fail: 'asdasd'
# Specific Fail Message ( IF didn't set here will use Global Fail Message )
sucess: 'asdasdd'
# Specific Sucess Message ( IF didn't set here will use Global Sucess Message )
requirement:
1:
# Requirement unique key ( you can put whatever u like but can't repeated. )
item:
# This will be the ConfigName of the Module ( Ask the module developer to get ConfigName )
id: 1
name: '123'
data: 1
lore:
- '123'
amount: 1
2:
vault:
money: 2.0
reward:
1:
# Reward unique key ( you can put whatever u like but can't repeated. )
vault:
# This will be the ConfigName of the Module ( Ask the module developer to get ConfigName )
money: 1.0