Add Optional Tick Shuffling
This prevents players from 'gaming' the server, and strategically relogging to increase their position in the tick order. By: md_5 <git@md-5.net>
This commit is contained in:
@@ -278,4 +278,10 @@ public class SpigotConfig
|
||||
SpigotConfig.playerSample = SpigotConfig.getInt( "settings.sample-count", 12 );
|
||||
System.out.println( "Server Ping Player Sample Count: " + SpigotConfig.playerSample );
|
||||
}
|
||||
|
||||
public static int playerShuffle;
|
||||
private static void playerShuffle()
|
||||
{
|
||||
SpigotConfig.playerShuffle = SpigotConfig.getInt( "settings.player-shuffle", 0 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user