Files
BlockParty/src/main/resources/config.yml
T

83 lines
2.5 KiB
YAML

# BlockParty global configuration
ui:
scoreboard: true
bossbar: true
titles: true
actionbar: true
scoreboard-update-interval-ticks: 10
# Global switch for the optional billboard: a BlockDisplay entity placed via
# /blockparty setbillboard <arena> that visually mirrors the currently selected
# target color each round. Also requires the per-arena billboard to be set and
# enabled (billboard-enabled in the arena's yml, default true).
billboard: true
sounds:
join: ENTITY_EXPERIENCE_ORB_PICKUP
countdown: BLOCK_NOTE_BLOCK_PLING
target-select: ENTITY_ENDER_DRAGON_GROWL
floor-disappear: ENTITY_GENERIC_EXPLODE
eliminate: ENTITY_VILLAGER_NO
round-complete: BLOCK_NOTE_BLOCK_BELL
victory: UI_TOAST_CHALLENGE_COMPLETE
performance:
# blocks processed per server tick when generating/removing/restoring the floor
floor-blocks-per-tick: 200
# example/default timings used when creating a brand-new arena via /blockparty create
defaults:
countdown-duration: 15
starting-round-time: 20
minimum-round-time: 4
round-time-reduction: 1
default-floor-materials:
- RED_CONCRETE
- ORANGE_CONCRETE
- YELLOW_CONCRETE
- LIME_CONCRETE
- GREEN_CONCRETE
- CYAN_CONCRETE
- LIGHT_BLUE_CONCRETE
- BLUE_CONCRETE
- PURPLE_CONCRETE
- MAGENTA_CONCRETE
- PINK_CONCRETE
- WHITE_CONCRETE
- BLACK_CONCRETE
- GRAY_CONCRETE
- LIGHT_GRAY_CONCRETE
- BROWN_CONCRETE
storage:
# type: sqlite (default, file-based, zero setup) or mysql
type: sqlite
mysql:
host: localhost
port: 3306
database: blockparty
username: blockparty
password: password
table-prefix: "bp_"
# Raw JDBC connection parameters appended to the connection URL (without a leading '?' or '&').
# Tune SSL/TLS behavior here instead of a single use-ssl toggle, e.g.:
# "sslMode=REQUIRED&verifyServerCertificate=false"
# "sslMode=VERIFY_IDENTITY" (validates the server cert against a trust store)
# "sslMode=DISABLED" (no TLS at all)
connection-parameters: "sslMode=PREFERRED&verifyServerCertificate=false"
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:
- "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