Skip to content

Running the Server

b5635 edited this page Aug 18, 2020 · 37 revisions

This is assuming Windows 10.

Pre-requisites

Docker

Before Running the Server

Make sure you that you have ran 'install.bat' to build the module before continuing.

Running the Development Server

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.

Running the Production Server

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.