-
Notifications
You must be signed in to change notification settings - Fork 24
Running the Server
This is assuming Windows 10.
Make sure you that you have ran 'install.bat' to build the module before continuing.
Now to actually run the development server, you have two options: run_server_dev.bat
, and run_server_dev_no_treasure.bat
. Due to the systems of the module, it is recommended that you run the no treasure variant unless you are testing treasure, as generating the treasure takes a very, very long time.
Before running the production server, you will need to run 'update_server.bat' at least once to copy over the files needed. Do this after any time you have updated the module and wish to see it's changes.
Also, create a text file in server/config
and call it nwserver.env
. Add these three lines below:
NWN_PORT=5121
NWN_PUBLICSERVER=1
NWN_SERVERNAME=<NAME OF SERVER>
Finally, run 'run_server.bat' to start the docker instance for the server.
If you run into any issues, please hop into Discord and I will help.