Difference between revisions of "How to Create a Day of Dragons Server Guide"
(Created page with "Creating a PixARK game server is an easy process that can be done from either a dedicated server or your home computer. == Option #1: Renting a PixARK server (see example con...") |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | Creating a | + | Creating a Day of Dragons game server is an easy process that can be done from either a dedicated server or your home computer. |
− | == Option #1: Renting a | + | == Option #1: Renting a Day of Dragons server (see example control panel below!) == |
− | [[File: | + | [[File:DayOfDragonsOrder.png|500px]] |
− | [https://www.survivalservers.com/sspanel/?game= | + | [[File:Day_of_dragons_game_server.png|none|link=https://www.survivalservers.com/sspanel/?game=dayofdragons&trckaff=3881&trckit=WIKI]] |
− | == Option #2: Creating a | + | == Option #2: Creating a Day of Dragons 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, 8.1, Server 2008, Server 2012 & 64-Bit | ||
Line 14: | Line 14: | ||
Up to 16GB memory (currently uses around 6GB memory minimum and up to 15GB of memory for a full server) | Up to 16GB memory (currently uses around 6GB memory minimum and up to 15GB of memory for a full server) | ||
− | + | 8GB disk space (install folder) | |
[https://www.microsoft.com/en-us/download/details.aspx?id=48145 Visual C++ Redistributable for Visual Studio 2015] | [https://www.microsoft.com/en-us/download/details.aspx?id=48145 Visual C++ Redistributable for Visual Studio 2015] | ||
Line 22: | Line 22: | ||
The best method to get dedicated server game files is via [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD]. | The best method to get dedicated server game files is via [https://developer.valvesoftware.com/wiki/SteamCMD SteamCMD]. | ||
− | # Create a folder where you wish to store your | + | # Create a folder where you wish to store your Day of Dragons game server hosting files in |
# Inside of the folder, create a folder called '''SteamCMD''' and place the newly downloading SteamCMD.exe file within it | # Inside of the folder, create a folder called '''SteamCMD''' and place the newly downloading SteamCMD.exe file within it | ||
# Create a batch file named '''SteamCMD.bat''' within the SteamCMD folder | # Create a batch file named '''SteamCMD.bat''' within the SteamCMD folder | ||
# Place the following code in this batch file: | # Place the following code in this batch file: | ||
::: @echo off | ::: @echo off | ||
− | ::: start "" steamcmd.exe +login username password +force_install_dir "C:\ | + | ::: start "" steamcmd.exe +login username password +force_install_dir "C:\dayofdragons" +app_update 1088320 validate +quit |
# Change the "Username" and "Password" with your steam login info | # Change the "Username" and "Password" with your steam login info | ||
− | # Change the Path of the C:\ drive to the location of your | + | # Change the Path of the C:\ drive to the location of your Day of Dragons server folder you created earlier |
# Right-click SteamCMD.bat and Run as Administrator | # Right-click SteamCMD.bat and Run as Administrator | ||
# Your game server files should start downloading now | # Your game server files should start downloading now | ||
Line 35: | Line 35: | ||
== (alternate method): Locating Game Server Files on Hard Drive == | == (alternate method): Locating Game Server Files on Hard Drive == | ||
− | You can host | + | You can host Day of Dragons directly from the game itself. If you want to change any settings, locate your common folder: |
− | # Right-click | + | # Right-click Day of Dragons from Steam, select '''Properties''' |
# Click '''Local Files''' tab | # Click '''Local Files''' tab | ||
# Click '''Browse Local Files''' button | # Click '''Browse Local Files''' button | ||
− | == Step 2: Setting up a | + | == Step 2: Setting up a Day of Dragons Dedicated Server == |
− | # Create a batch file named ''' | + | # Create a batch file named '''Day of DragonsServer.bat''' or '''Launch.bat''' in your newly created Day of Dragons server folder from step 1 |
# Place the following code in this batch file: | # Place the following code in this batch file: | ||
− | ::: start "" /NORMAL "C:\ | + | ::: start "" /NORMAL "C:\dayofdragons\DragonsServer.exe" -SteamServerName="SurvivalServers.com Dev Test" -log |
− | |||
# Once this is completed you should have a list of server files along with the .bat file you created in the server folder. | # Once this is completed you should have a list of server files along with the .bat file you created in the server folder. | ||
::This .bat file will let you launch the server | ::This .bat file will let you launch the server | ||
Line 56: | Line 55: | ||
− | == Configuring your | + | == Configuring your Day of Dragons Game Server! == |
− | Now comes the fun part, setting up your | + | Now comes the fun part, setting up your Day of Dragons game server to your liking. |
− | To modify game server settings you can open the ''' | + | To modify game server settings you can open the '''Dragons/Saved/Config/WindowsServer/Game.ini''' |
− | |||
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: | ||
− | ''' | + | '''Game.ini''' |
<pre> | <pre> | ||
− | [/ | + | [/Game/Dev/Libraries/Classes/Runtime/DragonsGameInstance.DragonsGameInstance_C] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ;This config variable allows users to set server max players. Values are currently hardcoded set to 2 min and 250 max. If users do not define the max player count in Game.ini, the server defaults to 100. Please note, we have not yet stress tested our servers for max capacity! | |
− | + | iServerMaxPlayers=100 | |
− | + | ;range is 2-250 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ;This array config variable allows users to define who are admins. This must be set before the server is started. Add additional entries below the first. | |
− | + | sServerAdmins=Steam64ID | |
− | + | sServerAdmins=Steam64ID | |
+ | sServerAdmins=Steam64ID | ||
+ | ;etc. | ||
− | + | ;This blacklist array config variable allows users to ban players by their Steam ID. Replace Steam64ID with the actual Steam ID of the banned player. | |
− | + | sServerBanList=Steam64ID | |
+ | sServerBanList=Steam64ID | ||
+ | sServerBanList=Steam64ID | ||
+ | ;etc. | ||
− | + | ;Change this value to True if the server uses a whitelist | |
− | + | bServerUseJoinList=false | |
− | + | ||
− | + | ;This whitelist array config variable allows users to prevent any player from joining their server unless their Steam ID is on this whitelist. Replace Steam64ID with the actual Steam ID of the allowed player. bServerUseJoinList=true must be set to enable the whitelist. | |
− | + | sServerJoinList=Steam64ID | |
− | + | sServerJoinList=Steam64ID | |
− | + | sServerJoinList=Steam64ID | |
− | + | ;etc. | |
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
Make sure you change the data in the config towards the bottom or else you may run into issues. Once you | Make sure you change the data in the config towards the bottom or else you may run into issues. Once you | ||
have these set you should be on your way to joining your server. | have these set you should be on your way to joining your server. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Locating and Joining your server == | == Locating and Joining your server == | ||
Line 172: | Line 99: | ||
== These methods currently do not work - the only join method is via in-game server list until bugs are fixed == | == These methods currently do not work - the only join method is via in-game server list until bugs are fixed == | ||
− | # First make sure your server is running by running the ''' | + | # First make sure your server is running by running the '''DayOfDragonsServer.bat''' file as admin (If the CMD window is already up for it then you are fine) |
# Head into steam and click on the view tab at the top left | # Head into steam and click on the view tab at the top left | ||
# From there select servers and a new panel will show up | # From there select servers and a new panel will show up | ||
# Hit the '''Lan''' tab at the top and the filter button at the bottom | # Hit the '''Lan''' tab at the top and the filter button at the bottom | ||
− | # Set the filter to | + | # Set the filter to Day of Dragons |
# If your server shows up there then you know it is running and ready to roll | # If your server shows up there then you know it is running and ready to roll | ||
Line 189: | Line 116: | ||
Method 1. Finding your server hosted by survivalservers.com | Method 1. Finding your server hosted by survivalservers.com | ||
− | STEP 1: Update your server to the newest | + | STEP 1: Update your server to the newest Day of Dragons version using the update/validate option on the panel, then click the green update button at the bottom. * If you are not a Survival Servers customer ask your game server host about this. |
− | [[File: | + | [[File:updatecmdDayOfDragons.png]] |
# Once you are sure the server is updated and shows started on the panel. Head into the game | # Once you are sure the server is updated and shows started on the panel. Head into the game | ||
Line 197: | Line 124: | ||
# You can also use the Name Filter at the top of the list to find your server faster. | # You can also use the Name Filter at the top of the list to find your server faster. | ||
− | [[File: | + | [[File:DayOfDragonsServerList.png|500px]] |
== Location of World Save Data == | == Location of World Save Data == | ||
Line 205: | Line 132: | ||
like the following. | like the following. | ||
− | ''' | + | '''Dragons/Saved''' (with the XXXX being a set of numbers) |
− | If you are hosting a | + | If you are hosting a Day of Dragons server locally then your directory will probably look similar |
only it will not have the numbers on the end. | only it will not have the numbers on the end. | ||
− | ''' | + | '''Dragons/Saved/SavedPixArk''' |
If you are with another hosting company then you will want to contact them for information on where the | If you are with another hosting company then you will want to contact them for information on where the | ||
save data is located. | save data is located. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
__NOTOC__ | __NOTOC__ |
Latest revision as of 05:43, 14 September 2021
Creating a Day of Dragons game server is an easy process that can be done from either a dedicated server or your home computer.
Option #1: Renting a Day of Dragons server (see example control panel below!)
Option #2: Creating a Day of Dragons Server From Your Home Computer or Dedicated Server
Server Requirements
Windows 7, 8, 8.1, Server 2008, Server 2012 & 64-Bit
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)
8GB disk space (install folder)
Visual C++ Redistributable for Visual Studio 2015
Step 1: Fetching Game Server files from SteamCMD
The best method to get dedicated server game files is via SteamCMD.
- Create a folder where you wish to store your Day of Dragons game server hosting files in
- Inside of the folder, create a folder called SteamCMD and place the newly downloading SteamCMD.exe file within it
- Create a batch file named SteamCMD.bat within the SteamCMD folder
- Place the following code in this batch file:
- @echo off
- start "" steamcmd.exe +login username password +force_install_dir "C:\dayofdragons" +app_update 1088320 validate +quit
- Change the "Username" and "Password" with your steam login info
- Change the Path of the C:\ drive to the location of your Day of Dragons server folder you created earlier
- Right-click SteamCMD.bat and Run as Administrator
- Your game server files should start downloading now
(alternate method): Locating Game Server Files on Hard Drive
You can host Day of Dragons directly from the game itself. If you want to change any settings, locate your common folder:
- Right-click Day of Dragons from Steam, select Properties
- Click Local Files tab
- Click Browse Local Files button
Step 2: Setting up a Day of Dragons Dedicated Server
- Create a batch file named Day of DragonsServer.bat or Launch.bat in your newly created Day of Dragons server folder from step 1
- Place the following code in this batch file:
- start "" /NORMAL "C:\dayofdragons\DragonsServer.exe" -SteamServerName="SurvivalServers.com Dev Test" -log
- Once this is completed you should have a list of server files along with the .bat file you created in the server folder.
- This .bat file will let you launch the server
Step 3: Port Forwarding
Add an incoming rule to your Windows Firewall to allow UDP port 27015 as well as 27016, and 7777 (or whichever port you decide to use).
You may additionally need to add a forwarding rule to your network router. You can use PortForward.com to read how to do this.
Configuring your Day of Dragons Game Server!
Now comes the fun part, setting up your Day of Dragons game server to your liking.
To modify game server settings you can open the Dragons/Saved/Config/WindowsServer/Game.ini
You can modify settings in here (in addition to the launch line) - these settings overwrite your launch line settings:
Game.ini
[/Game/Dev/Libraries/Classes/Runtime/DragonsGameInstance.DragonsGameInstance_C] ;This config variable allows users to set server max players. Values are currently hardcoded set to 2 min and 250 max. If users do not define the max player count in Game.ini, the server defaults to 100. Please note, we have not yet stress tested our servers for max capacity! iServerMaxPlayers=100 ;range is 2-250 ;This array config variable allows users to define who are admins. This must be set before the server is started. Add additional entries below the first. sServerAdmins=Steam64ID sServerAdmins=Steam64ID sServerAdmins=Steam64ID ;etc. ;This blacklist array config variable allows users to ban players by their Steam ID. Replace Steam64ID with the actual Steam ID of the banned player. sServerBanList=Steam64ID sServerBanList=Steam64ID sServerBanList=Steam64ID ;etc. ;Change this value to True if the server uses a whitelist bServerUseJoinList=false ;This whitelist array config variable allows users to prevent any player from joining their server unless their Steam ID is on this whitelist. Replace Steam64ID with the actual Steam ID of the allowed player. bServerUseJoinList=true must be set to enable the whitelist. sServerJoinList=Steam64ID sServerJoinList=Steam64ID sServerJoinList=Steam64ID ;etc.
Make sure you change the data in the config towards the bottom or else you may run into issues. Once you have these set you should be on your way to joining your server.
Locating and Joining your server
These methods currently do not work - the only join method is via in-game server list until bugs are fixed
- First make sure your server is running by running the DayOfDragonsServer.bat file as admin (If the CMD window is already up for it then you are fine)
- Head into steam and click on the view tab at the top left
- From there select servers and a new panel will show up
- Hit the Lan tab at the top and the filter button at the bottom
- Set the filter to Day of Dragons
- If your server shows up there then you know it is running and ready to roll
How to Join Your Server (SurvivalServers.com Customers)
These methods currently do not work - the only join method is via in-game server list until bugs are fixed
Method 1. Finding your server hosted by survivalservers.com
STEP 1: Update your server to the newest Day of Dragons version using the update/validate option on the panel, then click the green update button at the bottom. * If you are not a Survival Servers customer ask your game server host about this.
File:UpdatecmdDayOfDragons.png
- Once you are sure the server is updated and shows started on the panel. Head into the game
- In the game click Join and then look for your server in the Unofficial Server listings (Note if you have a password set on your server. Make sure to check the "Show Password Protected" box)
- You can also use the Name Filter at the top of the list to find your server faster.
Location of World Save Data
The location of the saved folder will very depending how you are hosting it. If you are hosting with survivalservers.com then your save data location will look like the following.
Dragons/Saved (with the XXXX being a set of numbers)
If you are hosting a Day of Dragons server locally then your directory will probably look similar only it will not have the numbers on the end.
Dragons/Saved/SavedPixArk
If you are with another hosting company then you will want to contact them for information on where the save data is located.
Share your opinion