mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-23 16:56:31 +01:00
Adding the option to suppress overload warnings as a bukkit.yml option. Thanks oloflarsson for the PR.
By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
parent
7c345d4d82
commit
4286d75739
2 changed files with 5 additions and 0 deletions
|
@ -321,6 +321,10 @@ public final class CraftServer implements Server {
|
|||
return this.getConfigBoolean("allow-nether", true);
|
||||
}
|
||||
|
||||
public boolean getWarnOnOverload() {
|
||||
return this.configuration.getBoolean("settings.warn-on-overload");
|
||||
}
|
||||
|
||||
public boolean hasWhitelist() {
|
||||
return this.getConfigBoolean("white-list", false);
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
settings:
|
||||
allow-end: true
|
||||
warn-on-overload: true
|
||||
spawn-radius: 16
|
||||
permissions-file: permissions.yml
|
||||
update-folder: update
|
||||
|
|
Loading…
Add table
Reference in a new issue