# Global config variables: # Max amount of registered users to allow. Has no effect if dgl was # compiled with SQLite # maxusers = 64000 # Allow registration of new nicks? (yes or no) 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 = 12 # Set the default watching-screen sorting mode. Can be one of # "username", "game", "windowsize", "starttime" or "idletime". # "username" is the default. sortmode = "watchers" # Set the columns displayed in the watching-screen. Each column definition # must have four elements as: # [ "", "", , "" ] # # may be "unsorted", "username", "game", "windowsize", "starttime", # "duration", "idletime", or (if shmem is enabled) "watchers". # watch_columns = [ ["", "", 1, "%s)"], ["User", "username", 4, "%s"], ["Game", "game", 18, "%s"], [" Size", "windowsize", 28, "%s"], ["Idle", "idletime", 37, "%s"], ["Watchers", "watchers", 45, "%s"], ["Start time", "starttime", 56, "%s"] ] # Path to a prepared chroot jail. # chroot_path = "/opt/nethack/nethack.alt.org/" # From inside the jail, dgamelaunch's working directory for rcfiles/ttyrec/etc # dglroot = "/" # Strings to be replaced in every banner # you can have either direct string replacements, like # "$FOO" = "BAR", or you can get the server time with # "$FOO" = timeformat("%F %T") # for the timeformat parameter string format, see man strftime bannervars = [ "$DNAOVERS" = "3.18.0 ", "$SLTHVERS" = "0.8.0 ", "$NH4KVERS" = "4.3.0.4 ", "$UNNHVERS" = "5.3.2 ", "$DYNAVERS" = "0.6.0 ", "$NET4VERS" = "4.3.0 ", "$FIQHVERS" = "4.3.1 " ] # From inside the jail, location of a banner file, which is # shown in submenus that cannot be defined separately. # Some string substitution is done for every banner file contents: # - bannervars from above # - $VERSION replaced with "dgamelaunch v" + dgl version number. # - $USERNAME replaced with logged-in user's name, or with "[Anonymous]" # - $INCLUDE(filename) the named file will be inserted here. banner = "/etc/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 = "games" # shed_group: group name to shed privileges to #shed_group = "games" # Preferably, you may use the respective gids/uids. This is for Debian: shed_uid = 1337 shed_gid = 1337 # Locale. Leaving this out, dgamelaunch will not explicitly set locale. locale = "en_US.UTF-8" # Default TERM, used if the user's $TERM is unknown. # If undefined, dgamelaunch will just terminate in that case. default_term = "xterm-color" # Should dgl send select-UTF8-charset escape code? (that is: ESC % G) # default is no. #utf8esc = yes # Should dgl allow XON/XOFF? Default is "yes", meaning "don't touch it". # "no" disables XON/XOFF flowcontrol = no # Maximum time in seconds user can idle in the dgamelaunch menus # before dgl exits. Default value is 0, which disables the idling timer. # Does not apply to external programs or config editors. # For setting game idle time, use max_idle_time in the game DEFINE. menu_max_idle_time = 1800 # Passwd refers to the file that stores the user database. # The default passwd file is "/dgl-login" for flat-text database, and for # sqlite, whatever value was defined for the sqlite database at compile time. # This is also used for the shared memory key, if shmem is enabled at compile # time. passwd = "/dgldir/dgamelaunch.db" # Lockfile is used only when dgl was compiled without sqlite. #lockfile = "/dgl-lock" # # define some commands that are run when something happens. format is # commands [