From ec202c0fbf71af1abecdf60a55a89c6a8d2f6fd5 Mon Sep 17 00:00:00 2001 From: drtshock Date: Thu, 14 May 2015 09:01:43 -0500 Subject: [PATCH] Use original values for balance tags. Lots of reports of no balance showing up. --- .../com/massivecraft/factions/zcore/util/TagReplacer.java | 4 ++-- src/main/resources/config.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/massivecraft/factions/zcore/util/TagReplacer.java b/src/main/java/com/massivecraft/factions/zcore/util/TagReplacer.java index e1dc447c..6f6d2d5e 100644 --- a/src/main/java/com/massivecraft/factions/zcore/util/TagReplacer.java +++ b/src/main/java/com/massivecraft/factions/zcore/util/TagReplacer.java @@ -30,7 +30,7 @@ public enum TagReplacer { */ PLAYER_GROUP(TagType.PLAYER, "{group}"), LAST_SEEN(TagType.PLAYER, "{lastSeen}"), - PLAYER_BALANCE(TagType.PLAYER, "{player-balance}"), + PLAYER_BALANCE(TagType.PLAYER, "{balance}"), /** * Faction variables, require at least a player @@ -57,7 +57,7 @@ public enum TagReplacer { DESCRIPTION(TagType.FACTION, "{description}"), CREATE_DATE(TagType.FACTION, "{create-date}"), LAND_REFUND(TagType.FACTION, "{land-refund}"), - BANK_BALANCE(TagType.FACTION, "{balance}"), + BANK_BALANCE(TagType.FACTION, "{faction-balance}"), ALLIES_COUNT(TagType.FACTION, "{allies}"), ENEMIES_COUNT(TagType.FACTION, "{enemies}"), ONLINE_COUNT(TagType.FACTION, "{online}"), diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 847b4a27..6b057419 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -309,7 +309,7 @@ help: # - {group} : Players group # - {name} : Players name # - {lastSeen} : Last time player was seen (if offline), or just 'Online' -# - {player-balance} : Players balance +# - {balance} : Players balance # Faction variables. Can be used in tooltips.list, scoreboards, or /f show # - {header} : Default factions header (ex. /f show) # - {faction} : Factions tag (if none, uses lang.yml for factionless name) @@ -329,7 +329,7 @@ help: # - {online} : # of faction members online # - {offline} : # of faction members offline # - {members} : # of faction members (includes offline) -# - {balance} : Faction bank balance +# - {faction-balance} : Faction bank balance # - {world}, {x}, {y}, {z} : Faction home variables. You don't need to use them all. # General variables. Can be used anywhere. # - {total-online} : Total # of players on the server