Sysconf

From NetHackWiki
Revision as of 06:37, 12 December 2018 by Paxed (talk | contribs) (start of sysconf)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This page is a stub. Should you wish to do so, you can contribute by expanding this page.

The system-wide configuration file, sysconf, is a plain text-file, usually in the same directory as NetHack binary, and it allows the system admin to change some settings compiled into the game. Only available if NetHack was compiled with SYSCF.

sysconf can also be used to set defaults for config options.

File format is the same as the options file.

Settings

WIZARDS

Which users can use debug mode (aka wizard mode; accessed via '-D' command line flag or OPTIONS=playmode:debug in the runtime options config file). A value of * allows anyone to enter debugging mode.

WIZARDS=root games

EXPLORERS

Which users can use explore mode (aka discover mode; accessed via '-X' command line flag or OPTIONS=playmode:explore in runtime options file or via #exploremode command during normal play). Same syntax as WIZARDS.

EXPLORERS=*

SHELLERS

Users allowed to use the '!' (shell escape) and '^Z' (suspend process) commands to temporarily leave the game and enter a shell process. Uses the same syntax as the WIZARDS and EXPLORERS options.

GENERICUSERS

If the user name is found in this list, prompt for username instead. Uses the same syntax as the WIZARDS option above. A public server should probably disable this.

GENERICUSERS=play player game games nethack nethacker

CHECK_PLNAME

Use the player name for matching WIZARDS, EXPLORERS and SHELLERS, instead of the user's login name.

CHECK_PLNAME=1

MAXPLAYERS

Limit the number of simultaneous games. Valid values are 0-25. Commenting this out or setting the value to 0 constructs lock files with UID and playername, so each user may have one game at a time, but number of different players is not limited.

MAXPLAYERS=10

SUPPORT

If not null, added to string "To get local support, " in the support information help.

SUPPORT=call Izchak at extension 42.

RECOVER

If not null, displayed at the end of a panic-save sequence.

RECOVER=Run the recover program.

SEDUCE

Make succubi and incubi to use nymphs' charm behavior rather than their own seduce behavior.

SEDUCE=0

CHECK_SAVE_UID

Disable savefile UID checking.

CHECK_SAVE_UID=0