NOTE: The documentation is all way out of date, so I woudln't put too much faith in any of it! Just read the comments in the various .ini files (found in the config and doors subdirectories) for now

# GameSrv Door Server Documentation

## Table of Contents

1. Modes of Operation
2. Configuration
3. Customization

## Modes of Operation

1. Telnet Mode
   In telnet mode, GameSrv acts as both a Waiting For Caller (WFC) and Door Server in one. This is the standard method for running GameSrv, and is what it was originally intended for. This documentation was written for this type of mode of operation, so keep reading!
2. Web Mode
   In web mode, GameSrv only acts as a WFC, and after a connection is received, passes it directly off to the requested door. In conjunction with a web based telnet client, such as FlashTerm, door games can be directly integrated with your website via this mode.
3. External Mode
   In external mode, GameSrv only acts as a WFC, and after a connection is received, passes it directly off to a program of your choice. See the RUNBBS.BAT documentation for more help with this mode of operation, and then ignore the rest of this page as it doesn't apply to you.

## Configuration

1. General Information
   1. SysOp Name
   2. SysOp Email Address
   3. BBS Name
   4. First Node
   5. Total Nodes
2. Email Verification
   1. Enable Email Verification
   2. SMTP Host Name
   3. SMTP User Name
   4. SMTP Password
   5. Confirm SMTP Password
   6. Message Subject
   7. Message Body
3. Server Threads
   1. Local Address
   2. Local Port
   3. Connection Type
4. RLogin Host Editor
   1. TODO
5. Login Process
   1. Command
   2. Parameters
   3. Required Access
   4. Execution Order
6. Logout Process
   1. Command
   2. Parameters
   3. Required Access
   4. Execution Order
7. Menu Editor
   1. ID
   2. Menu Name
   3. Hot Key
   4. Description
   5. Command
   6. Parameters
   7. Required Access
8. Group Editor
   1. TODO
9. User Editor
   1. TODO

## Customization

1. ANSI Files
   1. CANNED_MENU_TEMPLATE.INI
   2. DISCONNECT_NODE.ANS
   3. EMAIL_VERIFICATION_SEND.ANS
   4. EMAIL_VERIFICATION_SEND_FAIL.ANS
   5. EMAIL_VERIFICATION_SEND_SUCCESS.ANS
   6. EMAIL_VERIFICATION_SENT.ANS
   7. EXCEEDED_CALL_LIMIT.ANS
   8. EXCEEDED_DAILY_LIMIT.ANS
   9. EXCEEDED_IDLE_LIMIT.ANS
   10. LOGIN_ENTER_PASSWORD.ANS
   11. LOGIN_ENTER_USERNAME.ANS
   12. LOGIN_FAILED.ANS
   13. LOGIN_HEADER.ANS
   14. LOGIN_INVALID.ANS
   15. LOGIN_SUCCESS.ANS
   16. LOGIN_TWIT.ANS
   17. LOGIN_TWO_NODES.ANS
   18. LOGOUT.ANS
   19. NEWUSER_DUPLICATE_USERNAME.ANS
   20. NEWUSER_EMAIL_MISMATCH.ANS
   21. NEWUSER_ENTER_EMAIL.ANS
   22. NEWUSER_ENTER_EMAIL_CONFIRM.ANS
   23. NEWUSER_ENTER_PASSWORD.ANS
   24. NEWUSER_ENTER_PASSWORD_CONFIRM.ANS
   25. NEWUSER_ENTER_REALNAME.ANS
   26. NEWUSER_ENTER_USERNAME.ANS
   27. NEWUSER_HEADER.ANS
   28. NEWUSER_PASSWORD_MISMATCH.ANS
   29. NEWUSER_SUCCESS.ANS
   30. RLOGIN_DENIED.ANS
   31. RLOGIN_INVALID.ANS
   32. SERVER_BUSY.ANS
   33. SERVER_PAUSED.ANS
   34. VERIFYEMAIL_ENTER_STRING.ANS
   35. VERIFYEMAIL_FAILED.ANS
   36. VERIFYEMAIL_HEADER.ANS
   37. VERIFYEMAIL_SUCCESS.ANS
2. Command Line Specifiers
   1. *DOOR32
   2. *DOORSYS
   3. *DORINFO
   4. *DORINFO1
   5. *DORINFOx
   6. *HANDLE (deprecated)
   7. *IPADDRESS
   8. *MINUTESLEFT
   9. *NODE
   10. *PASSWORD
   11. *SECONDSLEFT
   12. *SOCKETHANDLE
   13. *USERNAME
3. Message Variables
   1. BBSNAME
   2. DATE
   3. GSDIR
   4. MENUNAME
   5. NODE
   6. OPERATINGSYSTEM
   7. SYSOPEMAIL
   8. TIME
   9. TIMELEFT
   10. NODE##REMOTEINFO
   11. NODE##STATUS
   12. NODE##USERNAME