From 372d638ec1ea97bf88e9d62ffeb03e73bc94ee1e Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Tue, 17 Sep 2013 15:28:21 -0400 Subject: [PATCH] Lower the default max_users from 100 to 15 --- minetest.conf.example | 2 +- src/defaultsettings.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.25.1