made webchat prefix to configurable
This commit is contained in:
parent
aa7d80407f
commit
cd02926fb0
6 changed files with 6 additions and 4 deletions
|
|
@ -16,7 +16,7 @@ public class SimpleWebChatComponent extends Component {
|
|||
plugin.events.addListener("webchat", new Event.Listener<ChatEvent>() {
|
||||
@Override
|
||||
public void triggered(ChatEvent t) {
|
||||
plugin.getServer().broadcastMessage("[WEB]" + t.name + ": " + t.message);
|
||||
plugin.getServer().broadcastMessage(plugin.configuration.getString("webprefix", "[WEB] ") + t.name + ": " + t.message);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue