How to Set a Password on Your Space Engineers Server
To protect your Space Engineers server with a join password, you must generate a password hash and salt and add them to SpaceEngineers-Dedicated.cfg. Two methods are available.
Once a password is set, players will see a prompt when joining your server and must enter it to connect.
Method 1: Online Hash Generator
Generate your hash and salt
- Stop your server.
- Open https://sepg.einarjegorov.com/ in a browser.
- In the Password To Hash field, enter your desired password and click Generate Hashes.
- Note the generated hash and salt values.
Apply the values
- In the Game Control Panel, open Configuration Files and open
SpaceEngineers-Dedicated.cfgwith the Config Editor. - Locate the Server Password Hash and Server Password Salt fields and paste the generated values into the correct fields.
- Click Save & Exit and start your server.
Method 2: Space Engineers Dedicated Server Tool
- Download the Space Engineers Dedicated Server tool from Steam: https://steamdb.info/app/298740/
- Run the tool and click Run as Admin.
- Select Local/Console and click Continue to server configuration.
- In the Password field, type your desired password and click Save.
- Click the Edit button next to Save. This opens a Notepad file with your configuration.
- Find these two lines (the values below are examples only):
<ServerPasswordHash>z5dXWHuN6eheu9x+Hf8yEyUG71U=</ServerPasswordHash> <ServerPasswordSalt>/NEiQKDQVNvBEnp27Izvjw==</ServerPasswordSalt> - Copy both lines and paste them into the matching fields in your server's
SpaceEngineers-Dedicated.cfgfile.
Note: The hash and salt values shown in the example above used the password "1234" and are for illustration only. Your actual password is never stored in plain text.