Add query-plugins setting. Addresses BUKKIT-1781
By: H31IX <effectsdude@gmail.com>
This commit is contained in:
parent
86a06cd622
commit
f54cb1e14e
2 changed files with 5 additions and 0 deletions
|
@ -399,6 +399,10 @@ public final class CraftServer implements Server {
|
||||||
public boolean getWarnOnOverload() {
|
public boolean getWarnOnOverload() {
|
||||||
return this.configuration.getBoolean("settings.warn-on-overload");
|
return this.configuration.getBoolean("settings.warn-on-overload");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean getQueryPlugins() {
|
||||||
|
return this.configuration.getBoolean("settings.query-plugins");
|
||||||
|
}
|
||||||
|
|
||||||
public boolean hasWhitelist() {
|
public boolean hasWhitelist() {
|
||||||
return this.getConfigBoolean("white-list", false);
|
return this.getConfigBoolean("white-list", false);
|
||||||
|
|
|
@ -23,6 +23,7 @@ settings:
|
||||||
use-exact-login-location: false
|
use-exact-login-location: false
|
||||||
plugin-profiling: false
|
plugin-profiling: false
|
||||||
connection-throttle: 4000
|
connection-throttle: 4000
|
||||||
|
query-plugins: true
|
||||||
spawn-limits:
|
spawn-limits:
|
||||||
monsters: 70
|
monsters: 70
|
||||||
animals: 15
|
animals: 15
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue