Use Vault Economy API for winner money rewards instead of eco console commands
Build / build (push) Successful in 1m16s
Build / build (push) Successful in 1m16s
This commit is contained in:
@@ -69,9 +69,14 @@ storage:
|
||||
|
||||
rewards:
|
||||
winner:
|
||||
# Deposited via the Vault Economy API (requires Vault + an economy plugin like EssentialsX).
|
||||
# Set to 0 to disable money rewards entirely; console commands below still run either way.
|
||||
money: 100
|
||||
commands:
|
||||
- "eco give %player% 100"
|
||||
- "give %player% diamond 3"
|
||||
- "say %player% won BlockParty in %arena% after %round% rounds!"
|
||||
|
||||
integrations:
|
||||
placeholderapi: true
|
||||
# If false, money rewards are skipped even when Vault is installed (console commands are unaffected).
|
||||
vault: true
|
||||
|
||||
Reference in New Issue
Block a user