First implementation of scoreboards.
Boards can be toggled with /f sb. Toggles are persistent in a yml file. Also fix some small spelling and format things that were really bugging me.
This commit is contained in:
38
src/main/resources/config.yml
Normal file
38
src/main/resources/config.yml
Normal file
@@ -0,0 +1,38 @@
|
||||
# FactionsUUID by drtshock
|
||||
# Report issues https://github.com/drtshock/Factions/issues?state=open
|
||||
# Live support http://webchat.esper.net/?channels=drtshock&prompt=1
|
||||
|
||||
# Made with love <3
|
||||
|
||||
# Debug
|
||||
# Turn this on if you are having issues with something and working on resolving them.
|
||||
# This will spam your console with information that is useful if you know how to read the source.
|
||||
# It's suggested that you only turn this on at the direction of a developer.
|
||||
debug: false
|
||||
|
||||
|
||||
# Configuration section for Scoreboards
|
||||
# This will allow you to completely customize how your scoreboards look.
|
||||
# Make sure that no lines are duplicates of each other otherwise only the first will display.
|
||||
# Use &0-9a-f for colors and include messages in "quotes"
|
||||
scoreboard:
|
||||
|
||||
# How long do we want scoreboards to stay if set temporarily.
|
||||
expiration: 7
|
||||
|
||||
# FInfo scoreboard is displayed when a player walks into a new Faction's territory.
|
||||
# Scoreboard disappears after <expiration> seconds.
|
||||
# Things to be replaced in this:
|
||||
# {power} - faction's power. {chunks} - total claimed chunks. {members} - total members.
|
||||
# {online} - online members. {leader} - faction's leader. {open} - shows either true or false if open.
|
||||
# The title of the scoreboard will be the Faction's tag and colored according to the relation with the player's Faction.
|
||||
# Commenting this section out will cause the info to appear in chat as the plugin originally did.
|
||||
finfo:
|
||||
- "&6Power"
|
||||
- "{power}"
|
||||
- "&3Members"
|
||||
- "{online}/{members}"
|
||||
- "&4Leader"
|
||||
- "{leader}"
|
||||
- "&bTerritory"
|
||||
- "{chunks}"
|
||||
@@ -1,4 +1,4 @@
|
||||
# Lang file for FactionsUUID by Puzl Inc.
|
||||
# Lang file for FactionsUUID by drtshock
|
||||
# Use & for color codes.
|
||||
# Made with love <3
|
||||
|
||||
@@ -8,4 +8,5 @@ wilderness-description: " "
|
||||
warzone: "&4Warzone"
|
||||
warzone-description: "Not the safest place to be."
|
||||
safezone: "&6Safezone"
|
||||
safezone-description: "Free from pvp and monsters."
|
||||
safezone-description: "Free from pvp and monsters."
|
||||
toggle-sb: "You now have scoreboards set to {value}"
|
||||
5
src/main/resources/playerBoardToggle.yml
Normal file
5
src/main/resources/playerBoardToggle.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
# This file is handled via the plugin.
|
||||
# This is a list of players that DO NOT want to have ANY scoreboards shown to them via this plugin.
|
||||
# It can be toggled with /f sb
|
||||
off:
|
||||
- someuuidhere
|
||||
Reference in New Issue
Block a user