stefan-cooper / SpigotUHC

0 stars 0 forks source link

Configurable values #5

Closed stefan-cooper closed 2 months ago

stefan-cooper commented 2 months ago

Discussion/Proposal

Once we have https://github.com/stefan-cooper/SpigotUHC/issues/4 nailed down, we should start adding some configurable values that will be used in our /uhc start (insert issue here)

Proposed config items

World Border

# Initial border size at start of UHC
world.border.initial.size=number
# Final border size at end of UHC
world.border.final.size=number
# How long the border will take to shrink from initial to final (in minutes)
world.border.shrinking.period=number
# How long before the border starts shrinking (in minutes)
world.border.grace.period=number
# X coordinate for center of world border
world.border.center.x=number
# Z coordinate for center of world border
world.border.center.y=number

Teams

# Randomise teams on start
random.teams.enabled=boolean
# Size of random teams
random.teams.size=number
# If random.teams.enabled is false, use the teams configured here. If these are unset, we will attempt to use teams configured via minecraft commands, or just assume solo teams
team.red=@username @username @username
team.blue=@username @username @username
team.yellow=@username @username @username
# etc

Misc

# How long should the pvp grace period last? (in minutes)
grace.period.time=number
# What should happen when a player dies?
on.death.action="spectator" | "kick"
# countdown timer before starting
countdown.timer.length=number
stefan-cooper commented 2 months ago

Blocked by #4