# Global config variables: # Max amount of registered users to allow. maxusers = 64000 allow_new_nicks = yes # Max length for newly registered nicks. Must be less than 20. # By default, NetHack only stores the first 10 chars of a name into # the record/logfile. maxnicklen = 20 # Set the default watching-screen sorting mode. Can be one of # "username", "game", "windowsize", "starttime" or "idletime". # "username" is the default. sortmode = "username" # Maximum idle time in menus menu_max_idle_time = 3600 # Path to a prepared chroot jail. chroot_path = "%%DGL_CHROOT%%/" # From inside the jail, dgamelaunch's working directory for rcfiles/ttyrec/etc dglroot = "%%CHROOT_DGLDIR%%/" # Server ID string server_id = "CTVO - Dungeon Crawl Stone Soup - crawl.tildeverse.org" # From inside the jail, location of a banner file, the topmost line will be # shown in submenus that cannot be defined separately. # Some string substitution is done for the file: # $VERSION replaced with "dgamelaunch v" + dgl version number. # $SERVERID replaced with the server_id string, as defined above. banner = "%%CHROOT_DGLDIR%%/data/dgl-banner" # The following two options are fairly insecure. They will force us to # load the password/group database into memory while still having root # privileges. Replace them with shed_uid/shed_gid entries as soon as # possible if you decide to use them. dgamelaunch will inform you of # the uids/gids corresponding to your choices when it loads. # # Note that shed_uid and shed_gid will always take precedence over # shed_user and shed_group if they are specified. # shed_user: username to shed privileges to # shed_user = crawl # shed_group: group name to shed privileges to # shed_group = crawl # Preferably, you may use the respective gids/uids. # crawl/crawl shed_uid = 1001 shed_gid = 1001 # The defaults are usually just fine for this. passwd refers to the file # that stores the user database, and lockfile is only used internally by # dgamelaunch. passwd = "%%CHROOT_DGLDIR%%/data/dgl-login" lockfile = "%%CHROOT_DGLDIR%%/data/dgl-lock" watch_columns = [ ["", "", 0, "%s)"], ["User", "username", 3, "%-15s"], ["Game", "game", 19, "%-9s"], ["Where", "extrainfo", 33, "%-18s"], ["Term", "windowsize", 53, "%s"], ["Idle", "idletime", 62, "%-10s"], ["Viewers", "watchers", 73, "%4s"] ] # # define some commands that are run when something happens. format is # commands [