mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-12 06:43:58 +01:00
Add query-plugins setting. Addresses BUKKIT-1781
By: H31IX <effectsdude@gmail.com>
This commit is contained in:
parent
86a06cd622
commit
f54cb1e14e
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user