Make faction announcement borders configurable
This commit is contained in:
parent
7a4ddc6855
commit
c367a9cb09
@ -63,11 +63,11 @@ public abstract class MemoryFaction implements Faction, EconomyParticipator {
|
||||
if (!announcements.containsKey(fPlayer.getId())) {
|
||||
return;
|
||||
}
|
||||
fPlayer.sendMessage(ChatColor.LIGHT_PURPLE + "--Unread Faction Announcements--");
|
||||
fPlayer.msg(TL.FACTIONS_ANNOUNCEMENT_TOP);
|
||||
for (String s : announcements.get(fPlayer.getPlayer().getUniqueId().toString())) {
|
||||
fPlayer.sendMessage(s);
|
||||
}
|
||||
fPlayer.sendMessage(ChatColor.LIGHT_PURPLE + "--Unread Faction Announcements--");
|
||||
fPlayer.msg(TL.FACTIONS_ANNOUNCEMENT_BOTTOM);
|
||||
announcements.remove(fPlayer.getId());
|
||||
}
|
||||
|
||||
|
@ -720,6 +720,8 @@ public enum TL {
|
||||
SAFEZONE_DESCRIPTION("safezone-description", "Free from pvp and monsters."),
|
||||
TOGGLE_SB("toggle-sb", "You now have scoreboards set to {value}"),
|
||||
FACTION_LEAVE("faction-leave", "<a>Leaving %1$s, <a>Entering %2$s"),
|
||||
FACTIONS_ANNOUNCEMENT_TOP("faction-announcement-top", "&d--Unread Faction Announcements--"),
|
||||
FACTIONS_ANNOUNCEMENT_BOTTOM("faction-announcement-bottom", "&d--Unread Faction Announcements--"),
|
||||
DEFAULT_PREFIX("default-prefix", "{relationcolor}[{faction}] &r"),
|
||||
FACTION_LOGIN("faction-login", "&e%1$s &9logged in."),
|
||||
FACTION_LOGOUT("faction-logout", "&e%1$s &9logged out.."),
|
||||
|
Loading…
Reference in New Issue
Block a user