diff --git a/configuration.txt b/configuration.txt index d17bf3ad..cfee3852 100644 --- a/configuration.txt +++ b/configuration.txt @@ -104,8 +104,8 @@ showplayerfacesinmenu: true joinmessage: "%playername% joined" quitmessage: "%playername% quit" spammessage: "You may only chat once every %interval% seconds." -webprefix: "¤2[WEB] " -websuffix: "¤f" +webprefix: "§2[WEB] " +websuffix: "§f" defaultzoom: 0 defaultworld: world diff --git a/src/main/java/org/dynmap/InternalClientUpdateComponent.java b/src/main/java/org/dynmap/InternalClientUpdateComponent.java index 19b552ba..4afc855c 100644 --- a/src/main/java/org/dynmap/InternalClientUpdateComponent.java +++ b/src/main/java/org/dynmap/InternalClientUpdateComponent.java @@ -44,7 +44,7 @@ public class InternalClientUpdateComponent extends ClientUpdateComponent { protected void webChat(String name, String message) { // TODO: Change null to something meaningful. plugin.mapManager.pushUpdate(new Client.ChatMessage("web", null, name, message, null)); - Log.info(plugin.configuration.getString("webprefix", "¤2[WEB] ") + name + ": " + plugin.configuration.getString("websuffix", "¤f") + message); + Log.info(plugin.configuration.getString("webprefix", "§2[WEB] ") + name + ": " + plugin.configuration.getString("websuffix", "§f") + message); ChatEvent event = new ChatEvent("web", name, message); plugin.events.trigger("webchat", event); } diff --git a/src/main/java/org/dynmap/JsonFileClientUpdateComponent.java b/src/main/java/org/dynmap/JsonFileClientUpdateComponent.java index f39f457b..f58aa39a 100644 --- a/src/main/java/org/dynmap/JsonFileClientUpdateComponent.java +++ b/src/main/java/org/dynmap/JsonFileClientUpdateComponent.java @@ -158,7 +158,7 @@ public class JsonFileClientUpdateComponent extends ClientUpdateComponent { protected void webChat(String name, String message) { // TODO: Change null to something meaningful. plugin.mapManager.pushUpdate(new Client.ChatMessage("web", null, name, message, null)); - Log.info(plugin.configuration.getString("webprefix", "¤2[WEB] ") + name + ": " + plugin.configuration.getString("websuffix", "¤f") + message); + Log.info(plugin.configuration.getString("webprefix", "§2[WEB] ") + name + ": " + plugin.configuration.getString("websuffix", "§f") + message); ChatEvent event = new ChatEvent("web", name, message); plugin.events.trigger("webchat", event); } diff --git a/src/main/java/org/dynmap/SimpleWebChatComponent.java b/src/main/java/org/dynmap/SimpleWebChatComponent.java index 6510664a..6527a620 100644 --- a/src/main/java/org/dynmap/SimpleWebChatComponent.java +++ b/src/main/java/org/dynmap/SimpleWebChatComponent.java @@ -16,7 +16,7 @@ public class SimpleWebChatComponent extends Component { plugin.events.addListener("webchat", new Event.Listener() { @Override public void triggered(ChatEvent t) { - plugin.getServer().broadcastMessage(plugin.configuration.getString("webprefix", "¤2[WEB] ") + t.name + ": " + plugin.configuration.getString("websuffix", "¤f") + t.message); + plugin.getServer().broadcastMessage(plugin.configuration.getString("webprefix", "§2[WEB] ") + t.name + ": " + plugin.configuration.getString("websuffix", "§f") + t.message); } }); diff --git a/src/main/java/org/dynmap/herochat/HeroWebChatComponent.java b/src/main/java/org/dynmap/herochat/HeroWebChatComponent.java index 5bf10a07..c6850963 100644 --- a/src/main/java/org/dynmap/herochat/HeroWebChatComponent.java +++ b/src/main/java/org/dynmap/herochat/HeroWebChatComponent.java @@ -24,7 +24,7 @@ public class HeroWebChatComponent extends Component { public void triggered(ChatEvent t) { /* Let HeroChat take a look - only broadcast to players if it doesn't handle it */ if (!handler.sendWebMessageToHeroChat(t.name, t.message)) { - plugin.getServer().broadcastMessage(plugin.configuration.getString("webprefix", "¤2[WEB] ") + t.name + ": " + plugin.configuration.getString("websuffix", "¤f") + t.message); + plugin.getServer().broadcastMessage(plugin.configuration.getString("webprefix", "§2[WEB] ") + t.name + ": " + plugin.configuration.getString("websuffix", "§f") + t.message); } } });