From e2f0307eeba0a6e5db25e16b923d78fd2394be24 Mon Sep 17 00:00:00 2001 From: FrozenCow Date: Sat, 21 May 2011 02:45:00 +0200 Subject: [PATCH] Cleaned up depricated configuration. --- configuration.txt | 9 --------- .../java/org/dynmap/ClientConfigurationComponent.java | 1 - 2 files changed, 10 deletions(-) diff --git a/configuration.txt b/configuration.txt index 2859a65e..4c4b29b0 100644 --- a/configuration.txt +++ b/configuration.txt @@ -86,15 +86,6 @@ webserver-port: 8123 # Disables Webserver portion of Dynmap (Advanced users only) 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 timeslicerender: true diff --git a/src/main/java/org/dynmap/ClientConfigurationComponent.java b/src/main/java/org/dynmap/ClientConfigurationComponent.java index 15a37fa6..1ed62002 100644 --- a/src/main/java/org/dynmap/ClientConfigurationComponent.java +++ b/src/main/java/org/dynmap/ClientConfigurationComponent.java @@ -14,7 +14,6 @@ public class ClientConfigurationComponent extends Component { @Override public void triggered(JSONObject t) { ConfigurationNode c = plugin.configuration; - s(t, "jsonfile", c.getBoolean("jsonfile", false)); s(t, "updaterate", c.getFloat("updaterate", 1.0f)); s(t, "allowchat", c.getBoolean("allowchat", true)); s(t, "allowwebchat", c.getBoolean("allowwebchat", true));