added configurable suffix for webchat

This commit is contained in:
Arthur Mayer 2011-05-31 23:30:02 +02:00
parent cd02926fb0
commit af51d8b7e0
5 changed files with 6 additions and 5 deletions

View file

@ -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(plugin.configuration.getString("webprefix", "[WEB] ") + t.name + ": " + t.message);
plugin.getServer().broadcastMessage(plugin.configuration.getString("webprefix", "¤2[WEB] ") + t.name + ": " + plugin.configuration.getString("websuffix", "¤f") + t.message);
}
});