Removed redundant configuration values and made use of customizable join/quit messages.
This commit is contained in:
parent
d4a2d2d32f
commit
e1e13df4b2
5 changed files with 14 additions and 26 deletions
|
|
@ -235,7 +235,7 @@ public class DynmapPlugin extends JavaPlugin {
|
|||
}
|
||||
|
||||
// To announce when players have joined/quit/chatted.
|
||||
if (configuration.getNode("web").getBoolean("showchatballoons", false) || configuration.getNode("web").getBoolean("showchatwindow", false)) {
|
||||
if (configuration.getNode("web").getBoolean("allowchat", false)) {
|
||||
// To handle webchat.
|
||||
PlayerListener playerListener = new DynmapPlayerChatListener(this);
|
||||
//getServer().getPluginManager().registerEvent(Event.Type.PLAYER_COMMAND, playerListener, Priority.Normal, this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue