Server.cfg

From NPC for VCMP 0.4 Servers
Revision as of 14:50, 4 February 2024 by Habi (talk | contribs)
Jump to navigation Jump to search

server.cfg Configuration Properties

max_npc

  • Description: Limits the number of NPCs (Non-Player Characters) in the server.
  • Usage: Add the following line to your `server.cfg` file:
  max_npc <value>
  
  • Accepted Values:
 * `0` to `100`: Limits the number of NPCs to the specified value.
 * `-1`: Allows any number of NPCs (unlimited).
  • Example:
  max_npc 50
  

recdir

  • Description: Specifies the directory for saving playback recordings.
  • Usage: Add the following line to your `server.cfg` file:
  recdir <value>
  
  • Accepted Values:
 * `1`: Saves recordings to the `recordings` folder.
 * `2`: Saves recordings to the `npcscripts/recordings` folder.
  • Note: This configuration is optional, and if not provided, the default recording folder is used.
  • Example:
  recdir 2
  

Note: Ensure that you only include one configuration per line in the `server.cfg` file, and the values are specified as per the guidelines mentioned above.