Max players from 8 -> 255 + small connection optimizations (#722)
* Multiplayer 8 to max byte increase. Made-with: Cursor * Server chunk optimizations for large player counts, server full notification fix, added to server.properties.
This commit is contained in:
@@ -3,7 +3,7 @@ using namespace std;
|
||||
|
||||
// If we have more than MAX_PLAYER_DATA_SAVES player.dat's then we delete the oldest ones
|
||||
// This value can be no higher than MAXIMUM_MAP_SAVE_DATA/3 (3 being the number of dimensions in future versions)
|
||||
#define MAX_PLAYER_DATA_SAVES 80
|
||||
#define MAX_PLAYER_DATA_SAVES 0x7FFFFFFF
|
||||
|
||||
class Player;
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ const int XUSER_MAX_COUNT = 1;
|
||||
const int MINECRAFT_NET_MAX_PLAYERS = 4;
|
||||
#else
|
||||
const int XUSER_MAX_COUNT = 4;
|
||||
const int MINECRAFT_NET_MAX_PLAYERS = 8;
|
||||
const int MINECRAFT_NET_MAX_PLAYERS = 256;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user