made webchat prefix to configurable
This commit is contained in:
parent
aa7d80407f
commit
cd02926fb0
6 changed files with 6 additions and 4 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("[WEB]" + name + ": " + message);
|
||||
Log.info(plugin.configuration.getString("webprefix", "[WEB] ") + name + ": " + message);
|
||||
ChatEvent event = new ChatEvent("web", name, message);
|
||||
plugin.events.trigger("webchat", event);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue