- Fix spacing in default formats.

- Unregister the 'towny' endpoint tag so it won't error when performing
a reload.
This commit is contained in:
ElgarL committed 2012-02-14 13:52:14 +00:00
1 parent 5bf6ff5cf6
commit 03cf1b8d26
3 files changed
+8 -5

No files matched your search

+3 -1
View File
@@ -97,4 +97,6 @@ v0.19:
- Fix an error on startup if not using HeroicDeath.
- Remove old style event handler hook for old HeroicDeath.
v0.20:
- Add serialization of numeric world names.
- Add serialization of numeric world names.
- Fix spacing in default formats.
- Unregister the 'towny' endpoint tag so it won't error when performing a reload.
@@ -84,6 +84,7 @@ public class Chat extends JavaPlugin {
unregisterPermissions();
// reset any handles
irc = null;
craftIRC.unregisterEndPoint("towny");
craftIRC = null;
dynMap = null;
heroicDeathListener= null;
@@ -291,10 +291,10 @@ public class ConfigurationHandler {
*/
public String setConfigs(String newConfig, boolean defaults) {
String global = "{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}";
String town = "{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}";
String nation = "{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}";
String default_ = "{channelTag} {permprefix}{playername}{permsuffix}&f: {msgcolour}{msg}";
String global = "{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}";
String town = "{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}";
String nation = "{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}";
String default_ = "{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}";
String tag_world = "&f[&f%s&f] ";
String tag_town = "&f[&3%s&f] ";