Lower the default max_users from 100 to 15

pull/929/merge
ShadowNinja 2013-09-17 15:28:21 -04:00 committed by Kahrl
parent 4ea0e4f606
commit 372d638ec1
2 changed files with 2 additions and 2 deletions

View File

@ -218,7 +218,7 @@
# Message of the Day
#motd = Welcome to this awesome Minetest server!
# Maximum number of players connected simultaneously
#max_users = 100
#max_users = 15
# Set to true to disallow old clients from connecting
#strict_protocol_version_checking = false
# Set to true to enable creative mode (unlimited inventory)

View File

@ -159,7 +159,7 @@ void set_default_settings(Settings *settings)
// "map-dir" doesn't exist by default.
settings->setDefault("default_game", "minetest");
settings->setDefault("motd", "");
settings->setDefault("max_users", "100");
settings->setDefault("max_users", "15");
settings->setDefault("strict_protocol_version_checking", "false");
settings->setDefault("creative_mode", "false");
settings->setDefault("enable_damage", "true");