Added:
- Player are only allowed to open the "RepaiGui" if only the anvil was placed by an admin.
- A command to open repair GUI.
/repair
permisssion: repairgui.command
- An admin that placed the anvil will have every player to access the "RepaiGui"
Permission: repairgui.admin.anvil
- Changed reload config permission to
repairgui.admin.reload
- New Placeholder {MONEY_FORMATTED} , {PRICES_FORMATTED}
Please delete the old config.
Code (Text):
check-update: true
Gui-Name: '&cRepair Gui'
Open-GUI:
command: true
anvil: true
#Player are only allowed to open the "RepaiGui" if only the anvil was placed by an admin.
Only-Admin-Anvil: true
Background:
item: 160
display_name: ''
data: 3
#Available money/prices placeholders
# {MONEY} , {MONEY_FORMATTED} , {PRICES} , {PRICES_FORMATTED}
Button:
accept:
item: 95
display-name: '&aAccept'
data: 5
lore:
- '&cCost: {PRICES_FORMATTED}'
- '&aCurrently Money: {MONEY_FORMATTED}'
cancel:
item: 95
display-name: '&cCancel'
data: 14
lore:
- ''
- ''
# Available placeholders for repair-cost
# {DURABILITY}, {ENCHANTAMOUNT}
repair-cost: '((10 * {Durability}) + 200) / 2'
repair-sound:
enable: true
sound: BLOCK_ANVIL_USE
Message:
not-enough-money: '&cYou don''t have enough money to repair this item!'
no-permission: '&cYou don''t have permission to do this!'