Add CHECK_PLNAME to sysconf

Setting CHECK_PLNAME to 1 makes WIZARDS, EXPLORERS, and SHELLERS
check the player name instead of the user's login name.

This is mostly useful for public servers which have external
login system and don't create user accounts for players.
This commit is contained in:
Pasi Kallinen
2016-02-05 20:39:13 +02:00
parent 0ca477486d
commit fe006b9c0a
8 changed files with 27 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ struct sysopt {
int maxplayers;
int seduce;
int check_save_uid; /* restoring savefile checks UID? */
int check_plname; /* use plname for checking wizards/explorers/shellers */
/* record file */
int persmax;