Page 1 of 1

Unturned on a Windows install

Posted: Mon Oct 12, 2015 8:19 pm
by kraze
  1. Download SteamCMD From Valve here.
  2. Launch SteamCMD. At its prompt, log in with your normal Steam account.

    Code: Select all

    login username password
  3. Once logged in, you will need to direct Steam on where to install the files. A good default would be C:\Unturned.

    Code: Select all

    force_install_dir C:\Unturned
  4. Trigger Steam to download the app with the appropriate appid.

    Code: Select all

    app_update 304930
  5. Wait for the download to finish, then close SteamCMD by typing "quit".
  6. Open Windows Explorer and navigate to the installation directory. Create a shortcut of "Unturned.exe" and place it anywhere you'd like (such as the desktop).
  7. Right-click your new shortcut and enter this into the "Target" field after the directory, then click "Ok".

    Code: Select all

    -nographics -batchmode +secureserver/YOUR-SERVER-NAME
    Note. Your server name/identity is currently attached to the "+secureserver" command.
  8. Start the server by double clicking on the newly created .exe. Allow the server to boot (>10 seconds) then type "shutdown" into console.
  9. Navigate to the installation directory of your server/Servers/YOUR-SERVER-NAME/Server and open "Commands.dat" with any text editor. Within this file you can set configuration options for your server. This would be a basic configuration you can start with.

    Code: Select all

    pei
    hardcore
    sync
    pvp
    bind your-server-ip
    port 25444
    owner your-steam-id
    maxplayers 20
    password private
    A full list of commands can be found by typing "help" into the game servers console after boot.
  10. Save your configuration file and double click on the server shortcut to start your server.
Updating your server

The easiest way to do this is to create a new .bat file in your SteamCMD directory with this as the contents.

Code: Select all

SteamCmd.exe +login anonymous +force_install_dir C:\Unturned app_update 304930 validate +quit pause