- Add serialization of numeric world names.
This commit is contained in:
ElgarL committed 2012-02-10 20:31:14 +00:00
1 parent f4c39f45e2
commit 5bf6ff5cf6
4 files changed
+12 -7

No files matched your search

+4 -1
View File
@@ -94,4 +94,7 @@ v0.18:
- Added craftIRC channel tag support. A new entry per channel will allow you to set the endpoint tags for all channels to craftIRC (craftIRCTag: 'admin'). - Added craftIRC channel tag support. A new entry per channel will allow you to set the endpoint tags for all channels to craftIRC (craftIRCTag: 'admin').
- Set default for new HeroicDeath interface to prevent new config errors. - Set default for new HeroicDeath interface to prevent new config errors.
v0.19: v0.19:
- Fix an error on startup if not using HeroicDeath. - 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.
@@ -332,7 +332,7 @@ public class ConfigurationHandler {
if (!key.equalsIgnoreCase("channel_formats")) { if (!key.equalsIgnoreCase("channel_formats")) {
channelFormats world = ChatSettings.getFormatGroup(key); channelFormats world = ChatSettings.getFormatGroup(key);
newConfig += " " + key + ":" + System.getProperty("line.separator"); newConfig += " '" + key + "':" + System.getProperty("line.separator");
newConfig += " global: '" + ((defaults)? global : world.getGLOBAL()) + "'" + System.getProperty("line.separator"); newConfig += " global: '" + ((defaults)? global : world.getGLOBAL()) + "'" + System.getProperty("line.separator");
newConfig += " town: '" + ((defaults)? town : world.getTOWN()) + "'" + System.getProperty("line.separator"); newConfig += " town: '" + ((defaults)? town : world.getTOWN()) + "'" + System.getProperty("line.separator");
@@ -1,7 +1,7 @@
package com.palmergames.bukkit.TownyChat.event; package com.palmergames.bukkit.TownyChat.event;
import org.bukkit.event.CustomEventListener; //import org.bukkit.event.CustomEventListener;
import org.bukkit.event.Event; //import org.bukkit.event.Event;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority; import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;
@@ -14,8 +14,8 @@ import com.palmergames.bukkit.TownyChat.config.ChatSettings;
* @author ElgarL * @author ElgarL
* *
*/ */
@SuppressWarnings("deprecation") //@SuppressWarnings("deprecation")
public class HeroicDeathForwarder extends CustomEventListener implements Listener{ public class HeroicDeathForwarder implements Listener{ // extends CustomEventListener
private CraftIRCHandler ircHandler = null; private CraftIRCHandler ircHandler = null;
@@ -39,6 +39,7 @@ public class HeroicDeathForwarder extends CustomEventListener implements Listene
/** /**
* Old style Event handler * Old style Event handler
*/ */
/*
@Override @Override
public void onCustomEvent(Event event) { public void onCustomEvent(Event event) {
@@ -52,4 +53,5 @@ public class HeroicDeathForwarder extends CustomEventListener implements Listene
} }
} }
} }
*/
} }
+1 -1
View File
@@ -1,6 +1,6 @@
name: TownyChat name: TownyChat
main: com.palmergames.bukkit.TownyChat.Chat main: com.palmergames.bukkit.TownyChat.Chat
version: 0.19 version: 0.20
author: ElgarL, Shade author: ElgarL, Shade
website: http://code.google.com/a/eclipselabs.org/p/towny/ website: http://code.google.com/a/eclipselabs.org/p/towny/
description: > description: >