Thanks for visiting our wiki! Click here to order your own game server at SurvivalServers.com

Difference between revisions of "How to Create a Cube World Server Guide"

From Survival Servers
Jump to navigation Jump to search
 
(5 intermediate revisions by one other user not shown)
Line 2: Line 2:
  
 
== Option #1: Renting a Cube World server (see example control panel below!) ==
 
== Option #1: Renting a Cube World server (see example control panel below!) ==
[https://www.survivalservers.com/sspanel/?game=cubeworld&trckaff=3881&trckit=WIKI http://i.imgur.com/Dx6BNmP.gif]
+
[[File:Control panel.gif|none|link=https://www.survivalservers.com/sspanel/?game=cubeworld&trckaff=3881&trckit=WIKI]]
  
[https://www.survivalservers.com/sspanel/?game=cubeworld&trckaff=3881&trckit=WIKI https://i.imgur.com/g2qkG5D.png]
+
 
 +
[[File:Cube_world_game_server.png|none|link=https://www.survivalservers.com/sspanel/?game=cubeworld&trckaff=3881&trckit=WIKI]]
  
 
== Option #2: Creating a Cube World Server From Your Home Computer or Dedicated Server ==
 
== Option #2: Creating a Cube World Server From Your Home Computer or Dedicated Server ==
 
== Server Requirements ==
 
== Server Requirements ==
Windows 7, 8, 8.1, Server 2008, Server 2012 & 64-Bit
+
Windows 7, 8.1, 10, Server 2012, Server 2016
  
 
Quad Core processor (requires up to 2 full cores)
 
Quad Core processor (requires up to 2 full cores)
Line 16: Line 17:
 
2GB disk space (install folder)
 
2GB disk space (install folder)
  
[https://www.microsoft.com/en-us/download/details.aspx?id=48145 Visual C++ Redistributable for Visual Studio 2015]
+
A copy of the Cube World game purchased from [https://store.steampowered.com/app/1128000/Cube_World/ Steam]
 
 
[https://www.java.com/en/download/ Install the Latest Version of Java]
 
  
 
== Step 1: Fetching Game Server files from SteamCMD ==
 
== Step 1: Fetching Game Server files from SteamCMD ==
Line 29: Line 28:
 
# Place the following code in this batch file:
 
# Place the following code in this batch file:
 
::: @echo off
 
::: @echo off
::: start "" steamcmd.exe +login USER PASS +force_install_dir "C:\Some\Path\Where\You\Want\Game\Server\Files\To\Go" +app_update 1128000 validate +quit
+
::: start "" steamcmd.exe +login USER PASS +force_install_dir "C:\CubeServer" +app_update 1128000 validate +quit
 
# Right-click SteamCMD.bat and Run as Administrator
 
# Right-click SteamCMD.bat and Run as Administrator
 
# Your game server files should be completely downloaded by now
 
# Your game server files should be completely downloaded by now
Line 45: Line 44:
 
# Create a batch file named '''CubeWorld.bat''' in your newly created SteamCMD folder (Step 1) or your Steam common folder (Step 1: (alternate method)).
 
# Create a batch file named '''CubeWorld.bat''' in your newly created SteamCMD folder (Step 1) or your Steam common folder (Step 1: (alternate method)).
 
# Place the following code in this batch file:
 
# Place the following code in this batch file:
::: start ShooterGameServer.exe "TheIsland?Port=27015?QueryPort=27016?SessionName=SURVIVALSERVERS?MaxPlayers=127?listen?ServerPassword=MYPASSWORD?ServerAdminPassword=MYPASSWORD" -nosteamclient -game -server -log
+
::: start Server.exe
 
# Run CubeWorld.bat to start up the server
 
# Run CubeWorld.bat to start up the server
  
Line 75: Line 74:
 
You can modify settings in here (in addition to the launch line) - these settings overwrite your launch line settings:
 
You can modify settings in here (in addition to the launch line) - these settings overwrite your launch line settings:
  
  * Password=security
+
  * Coming soon!
* ServerPassword=changeme
 
* MaxPlayers=10
 
  
 
== Location of World Save Data ==
 
== Location of World Save Data ==
 
Saves
 
Saves

Latest revision as of 05:39, 14 September 2021

Creating a Cube World game server is an easy process that can be done from either a dedicated server or your home computer.

Option #1: Renting a Cube World server (see example control panel below!)

Control panel.gif


Cube world game server.png

Option #2: Creating a Cube World Server From Your Home Computer or Dedicated Server

Server Requirements

Windows 7, 8.1, 10, Server 2012, Server 2016

Quad Core processor (requires up to 2 full cores)

Up to 16GB memory (currently uses around 6GB memory minimum and up to 15GB of memory for a full server)

2GB disk space (install folder)

A copy of the Cube World game purchased from Steam

Step 1: Fetching Game Server files from SteamCMD

It is possible to fetch the steam files programmatically from Steam using SteamCMD.

  1. Create a folder where you wish to store your Cube World game server hosting files
  2. Inside of the folder, place the newly downloading SteamCMD.exe file
  3. Create a batch file named SteamCMD.bat
  4. Place the following code in this batch file:
@echo off
start "" steamcmd.exe +login USER PASS +force_install_dir "C:\CubeServer" +app_update 1128000 validate +quit
  1. Right-click SteamCMD.bat and Run as Administrator
  2. Your game server files should be completely downloaded by now

Step 1 (alternate method): Locating Game Server Files on Hard Drive

You can host Cube World directly from your Steam common folder. To locate your common folder:

  1. Right-click Cube World from Steam, select Properties
  2. Click Local Files tab
  3. Click 'Browse Local Files button

Step 2: Setting up an Cube World Dedicated Server

  1. Create a batch file named CubeWorld.bat in your newly created SteamCMD folder (Step 1) or your Steam common folder (Step 1: (alternate method)).
  2. Place the following code in this batch file:
start Server.exe
  1. Run CubeWorld.bat to start up the server

Step 3: Port Forwarding

Add an incoming rule to your Windows Firewall to allow UDP port 27015 as well as 27016 (or whichever port you are using).

You may additionally need to add a forwarding rule to your network router. You can use PortForward.com to read how to do this.

HOW TO JOIN YOUR SERVER

STEP 1: Update your server to the newest Cube World version, then click the green update button at the bottom of the panel. * If you are not a Survival Servers customer ask your game server host about this.

File:UpdatecmdCubeWorld.png

STEP 2: Right click Steam in the task bar icons of your PC and select servers as pictured below.

Step11.png


STEP 3: Select Cube World as your game at the bottom. Join your server!

Step2.png

Configuring your Cube World Game Server!

Now comes the fun part, setting up your Cube World game server to your liking.

To modify game server settings you can open the server.cfg

You can modify settings in here (in addition to the launch line) - these settings overwrite your launch line settings:

* Coming soon!

Location of World Save Data

Saves



Share your opinion