Add query-plugins setting. Addresses BUKKIT-1781

By: H31IX <effectsdude@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2012-06-09 13:59:52 -04:00
parent 86a06cd622
commit f54cb1e14e
2 changed files with 5 additions and 0 deletions

View File

@ -399,6 +399,10 @@ public final class CraftServer implements Server {
public boolean getWarnOnOverload() {
return this.configuration.getBoolean("settings.warn-on-overload");
}
public boolean getQueryPlugins() {
return this.configuration.getBoolean("settings.query-plugins");
}
public boolean hasWhitelist() {
return this.getConfigBoolean("white-list", false);

View File

@ -23,6 +23,7 @@ settings:
use-exact-login-location: false
plugin-profiling: false
connection-throttle: 4000
query-plugins: true
spawn-limits:
monsters: 70
animals: 15