mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-25 03:35:18 +01:00
Cleaned up depricated configuration.
This commit is contained in:
parent
d5b4f6c8c4
commit
e2f0307eeb
@ -86,15 +86,6 @@ webserver-port: 8123
|
|||||||
# Disables Webserver portion of Dynmap (Advanced users only)
|
# Disables Webserver portion of Dynmap (Advanced users only)
|
||||||
disable-webserver: false
|
disable-webserver: false
|
||||||
|
|
||||||
# Writes JSON to file in the webpath
|
|
||||||
jsonfile: false
|
|
||||||
|
|
||||||
# How often the json file gets written to(in seconds)
|
|
||||||
jsonfile-interval: 1
|
|
||||||
|
|
||||||
# Output player health for web usage
|
|
||||||
health-in-json: false
|
|
||||||
|
|
||||||
# Use timesliced fullrender - takes a bit longer, but much more polite for server
|
# Use timesliced fullrender - takes a bit longer, but much more polite for server
|
||||||
timeslicerender: true
|
timeslicerender: true
|
||||||
|
|
||||||
|
@ -14,7 +14,6 @@ public class ClientConfigurationComponent extends Component {
|
|||||||
@Override
|
@Override
|
||||||
public void triggered(JSONObject t) {
|
public void triggered(JSONObject t) {
|
||||||
ConfigurationNode c = plugin.configuration;
|
ConfigurationNode c = plugin.configuration;
|
||||||
s(t, "jsonfile", c.getBoolean("jsonfile", false));
|
|
||||||
s(t, "updaterate", c.getFloat("updaterate", 1.0f));
|
s(t, "updaterate", c.getFloat("updaterate", 1.0f));
|
||||||
s(t, "allowchat", c.getBoolean("allowchat", true));
|
s(t, "allowchat", c.getBoolean("allowchat", true));
|
||||||
s(t, "allowwebchat", c.getBoolean("allowwebchat", true));
|
s(t, "allowwebchat", c.getBoolean("allowwebchat", true));
|
||||||
|
Loading…
Reference in New Issue
Block a user