Make web UI reload when configuration changes, server restarts
This commit is contained in:
parent
4af95f57df
commit
edcf1cfd10
4 changed files with 20 additions and 1 deletions
|
|
@ -14,6 +14,7 @@ public class ClientConfigurationComponent extends Component {
|
|||
@Override
|
||||
public void triggered(JSONObject t) {
|
||||
ConfigurationNode c = plugin.configuration;
|
||||
s(t, "confighash", plugin.getConfigHashcode());
|
||||
s(t, "updaterate", c.getFloat("updaterate", 1.0f));
|
||||
s(t, "showplayerfacesinmenu", c.getBoolean("showplayerfacesinmenu", true));
|
||||
s(t, "joinmessage", c.getString("joinmessage", "%playername% joined"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue