From: ShadowNinja Date: Tue, 17 Sep 2013 19:28:21 +0000 (-0400) Subject: Lower the default max_users from 100 to 15 X-Git-Tag: 0.4.8~120 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=372d638ec1ea97bf88e9d62ffeb03e73bc94ee1e;p=oweals%2Fminetest.git Lower the default max_users from 100 to 15 --- diff --git a/minetest.conf.example b/minetest.conf.example index 8094100e5..e90d18b06 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -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) diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index 3fbdad4f2..c0d3df291 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -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");