@@ -271,4 +271,11 @@ public class SpigotConfig
|
||||
{
|
||||
SpigotConfig.commands.put( "tps", new TicksPerSecondCommand( "tps" ) );
|
||||
}
|
||||
|
||||
public static int playerSample;
|
||||
private static void playerSample()
|
||||
{
|
||||
SpigotConfig.playerSample = SpigotConfig.getInt( "settings.sample-count", 12 );
|
||||
System.out.println( "Server Ping Player Sample Count: " + SpigotConfig.playerSample );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user