Allow unlimited number of players

This is important for public servers.  Setting the MAXPLAYERS
sysconf value to 0 (or commenting it out) constructs the lock
files with the player UID and player name, so each player may
have one game at a time.
This commit is contained in:
Pasi Kallinen
2015-12-09 22:27:22 +02:00
parent ea2f3225cc
commit 43550bee53
2 changed files with 7 additions and 1 deletions

View File

@@ -31,6 +31,12 @@ EXPLORERS=*
#SHELLERS=
# Limit the number of simultaneous games (see also nethack.sh).
# Valid values are 0-25.
# Commenting this out or setting the value to 0 constructs lock files
# with UID and username, so each user may have one game at a time, but
# number of different players is not limited.
# Setting this to any other value constructs the lock files with
# letter and "lock" (eg. alock, block, ...)
MAXPLAYERS=10
# If not null, added to string "To get local support, " in the support