added configurable suffix for webchat
This commit is contained in:
parent
cd02926fb0
commit
af51d8b7e0
5 changed files with 6 additions and 5 deletions
|
|
@ -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", "[WEB] ") + name + ": " + 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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue