Use Vault Economy API for winner money rewards instead of eco console commands
Build / build (push) Successful in 1m16s

This commit is contained in:
Michael Burgess
2026-08-07 09:32:24 -04:00
parent 86f118f9e6
commit 3a87afd3c8
7 changed files with 123 additions and 8 deletions
+6 -1
View File
@@ -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