mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 06:02:12 -07:00
Added configurable Connection Throttle. Addresses BUKKIT-1274
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
@@ -126,7 +126,7 @@ public interface Server extends PluginMessageRecipient {
|
||||
|
||||
/**
|
||||
* Get generate-structures setting
|
||||
*
|
||||
*
|
||||
* @return true if structure generation is enabled, false if not
|
||||
*/
|
||||
public boolean getGenerateStructures();
|
||||
@@ -199,6 +199,13 @@ public interface Server extends PluginMessageRecipient {
|
||||
*/
|
||||
public File getUpdateFolderFile();
|
||||
|
||||
/**
|
||||
* Gets the value of the connection throttle setting
|
||||
*
|
||||
* @return the value of the connection throttle setting
|
||||
*/
|
||||
public long getConnectionThrottle();
|
||||
|
||||
/**
|
||||
* Gets default ticks per animal spawns value
|
||||
* <p />
|
||||
|
Reference in New Issue
Block a user