Multiplayer

From Necesse Wiki
Jump to navigation Jump to search

This article covers the complete setup process for a Necesse Dedicated server.

If you want to set up a Linux dedicated server specifically, you can follow this guide.

中文开服教程请参考:Multiplayer Chinese

How to join the server

Run the game from Steam

Click "Multiplayer"

Click "Add Server"

Type a name that will help you remember the server in the "Name" field

Type your public IPv4 address (which can be found here: https://whatismyipaddress.com/) in the "IP address" field

Type your server port which if you've followed this guide is 14159 in the "Port Number" field

Click "Add"

Your server will now appear in the "Multiplayer" menu, double-click it to join (or click it once then click "Join Server")

Configuring the server

If you want to change the configuration of your server (after the initial setup) you will need to edit some files. They can be edited using any Text Editor program, such as Notepad (pre-installed to all Windows based PC's)

Before editing any configuration files, you should ALWAYS stop your server first.

To navigate to the server's configuration files (and save files) type %appdata% into the Windows search bar, then double-click the "Necesse" folder

The server configuration file is named "server.cfg" and is located at C:\Users\YourPCUsernameHere\AppData\Roaming\Necesse\cfg

The world configuration file is named "worldSettings.cfg" and is located at C:\Users\YourPCUsernameHere\AppData\Roaming\Necesse\saves\YourWorldNamehere.zip

The world is in a Compressed (zipped) .zip folder by default, meaning you will have to extract the files contained inside by right-clicking and selecting "Extract Here" - rename the original YourWorldNameHere.zip to something different.

Then you need to edit the "worldSettings.cfg" file.

Then right-click the YourWorldNameHere folder, and hover over "Send to" and click "Compressed (zipped) folder"

File Locations

By default

The server configuration file is named "server.cfg" and is located at C:\Users\YourPCUsernameHere\AppData\Roaming\Necesse\cfg

The world configuration file is named "worldSettings.cfg" and is located at C:\Users\YourPCUsernameHere\AppData\Roaming\Necesse\saves\YourWorldNamehere.zip

The save data is the .zip named according to the world name, and is located at C:\Users\YourPCUsernameHere\AppData\Roaming\Necesse\saves\

The server logs are found at C:\Users\YourPCUsernameHere\AppData\Roaming\Necesse\logs


Customizations

Forcing configs to the game directory can be done with the -localdir parameter in bat file