Added configurable Connection Throttle. Addresses BUKKIT-1274

This commit is contained in:
EvilSeph
2012-03-22 08:03:24 -04:00
parent dda37aa18c
commit c2cdeac09b
3 changed files with 9 additions and 1 deletions

View File

@@ -424,6 +424,10 @@ public final class CraftServer implements Server {
return this.configuration.getInt("settings.ping-packet-limit", 100);
}
public long getConnectionThrottle() {
return this.configuration.getInt("settings.connection-throttle");
}
public int getTicksPerAnimalSpawns() {
return this.configuration.getInt("ticks-per.animal-spawns");
}