Lower the default max_users from 100 to 15
authorShadowNinja <noreply@gmail.com>
Tue, 17 Sep 2013 19:28:21 +0000 (15:28 -0400)
committerKahrl <kahrl@gmx.net>
Sat, 28 Sep 2013 19:09:52 +0000 (21:09 +0200)
minetest.conf.example
src/defaultsettings.cpp

index 8094100e596110f091ec0c869873618d016b9897..e90d18b06058bf76b9283aa420d5a6e9c3cddbcc 100644 (file)
 # 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)
index 3fbdad4f2018c343bb48c44ac39cb26a15353946..c0d3df291b5e4c0578ffab887b97ab21307dc96b 100644 (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");