Add a scoreboard that can be given to people by default when they join as specified in issue #79.

This was hacked together as I wanted more functionality. Should probably make this prettier and better later.
This commit is contained in:
drtshock
2014-10-15 19:56:02 -05:00
parent 525d31c2b2
commit aee7092b09
7 changed files with 209 additions and 35 deletions

View File

@@ -45,4 +45,20 @@ scoreboard:
- "&4Leader"
- "{leader}"
- "&bTerritory"
- "{chunks}"
- "{chunks}"
# Default board that will always show up if a player wants it to.
# This can show any arbitrary text or you can use a lot of variables to replace things.
# Replace {name} - player's name. {faction} - player's faction title, factionless if none.
# {totalOnline} - total players on the server. {balance} - player's balance.
# {maxPower} - player's max power.
default-enabled: false # Default to false to keep original functionality.
default-title: "i love drt" # Can use any of the values from above but this won't update once it's set (so don't set {balance}).
default-update-interval: 2 # in seconds.
default:
- "&6Your Faction"
- "{faction}"
- "&3Your Power"
- "{power}"
- "&aBalance"
- "${balance}"