update: increase the player limit

This commit is contained in:
kuwacom 2026-03-14 02:23:40 +09:00
parent fa70698546
commit 67d236804a

View file

@ -31,8 +31,8 @@ static const char *kServerPropertiesPath = "server.properties";
static const size_t kMaxSaveIdLength = 31; static const size_t kMaxSaveIdLength = 31;
static const int kDefaultServerPort = 25565; static const int kDefaultServerPort = 25565;
static const int kDefaultMaxPlayers = 8; static const int kDefaultMaxPlayers = 16;
static const int kMaxDedicatedPlayers = 8; static const int kMaxDedicatedPlayers = 256;
static const int kDefaultAutosaveIntervalSeconds = 60; static const int kDefaultAutosaveIntervalSeconds = 60;
static const char *kLanAdvertisePropertyKey = "lan-advertise"; static const char *kLanAdvertisePropertyKey = "lan-advertise";
@ -65,7 +65,7 @@ static const ServerPropertyDefault kServerPropertyDefaults[] =
{ "world-size", "classic" }, { "world-size", "classic" },
{ "log-level", "info" }, { "log-level", "info" },
{ "max-build-height", "256" }, { "max-build-height", "256" },
{ "max-players", "8" }, { "max-players", "16" },
{ "mob-griefing", "true" }, { "mob-griefing", "true" },
{ "motd", "A Minecraft Server" }, { "motd", "A Minecraft Server" },
{ "natural-regeneration", "true" }, { "natural-regeneration", "true" },