geforkt von Mirrors/Paper
Implemented configurable ping packet limit.
By: EvilSeph <evilseph@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
753e928598
Commit
d18f001535
@ -119,6 +119,8 @@ public final class CraftServer implements Server {
|
||||
|
||||
configuration.getString("settings.permissions-file", "permissions.yml");
|
||||
|
||||
configuration.getInt("settings.ping-packet-limit", 100);
|
||||
|
||||
if (configuration.getNode("aliases") == null) {
|
||||
List<String> icanhasbukkit = new ArrayList<String>();
|
||||
icanhasbukkit.add("version");
|
||||
@ -317,6 +319,10 @@ public final class CraftServer implements Server {
|
||||
return this.configuration.getString("settings.update-folder", "update");
|
||||
}
|
||||
|
||||
public int getPingPacketLimit() {
|
||||
return this.configuration.getInt("settings.ping-packet-limit", 100);
|
||||
}
|
||||
|
||||
public PluginManager getPluginManager() {
|
||||
return pluginManager;
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren