Craftopia

Craftopia

31 ratings
Craftopia (SteamCMD) [English/Englisch] [Windows]
By Zeromix
This guide will show you how to set up a server with the SteamCMD.

The following ports must be open:
TCP: 6587, 27015-27030,27036-27037 UDP: 4380,6587, 27000-27031,27036
The Server needs around 8000 MB Disk space!
4 GB RAM

Looking for the german version?
https://steamproxy.net/sharedfiles/filedetails/?id=2559424770

I also created a tool, that automates the installation process. You can find this tool here:
https://steamproxy.net/groups/ServerTool
   
Award
Favorite
Favorited
Unfavorite
SteamCMD Download
First of all you need the SteamCMD. You can download it here:
https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
SteamCMD Login
Now you need to execute this file.

First, we need to create a folder for our server, which we can do with the following command:
force_install_dir ./craftopia_ds/
This will create a folder with the name "craftopia_ds" and it will put in the files in this folder.

And now we can login.
login anonymous
Server Files Download
Now you can start the download with:
app_update 1670340 validate

If the download was sucessful, you have to type
exit
in the console to close the SteamCMD.
Run the Server
The best option is to create a .bat file in your "craftopia_ds" folder (e.g. RUN.bat)
Edit the .bat file with following code:
start Craftopia.exe -batchmode -showlogs

To stop the server, open the server console and use "CTRL+C"
Server Configuration
You can find your "ServerSetting.ini" file in your "craftopia_ds" folder.

If you want to use a password, you need to change
usePassword=0
to
usePassword=1

And with
serverPassword=123456
you can choose a password. Keep in mind, that the password can only be numbers at this time!
Converting your Singleplayer World into Multiplayer
To convert your Singleplayer world into Multiplayer you have to open the following folder:
C:\Users\%USERNAME%\AppData\LocalLow\PocketPair\Craftopia\save

This is your singleplayer savegame, you can now copy this into your serverfolder!
Copy everything beside the "steam_autocloud.vdf" file!

Now go into "ServerSetting.ini" and change
name=NoName

into the name you put your world's name, mine for example would be:
name=Aincrad
Frequently Asked Questions
I can not see my server / No one can connect to my server
Please make sure, that you have opened all the required ports in your router. If the everything is set correctly, but the problem still occurs, please contact your internet provider.
Or look for your router model here:
https://portforward.com/router.htm

Is there another way instead of opening the ports?
Yes, you can also host your server through a VPN network like "Hamachi". Of course only the people in the VPN network will be able to join the server then.
If forwarding your ports doesn´t work, please contact your ISP, i won´t be able to help you.

How can i change my server port?
Just edit the "ServerSetting.ini" file the option "port=8787"

The SteamCMD download failed! What should I do now?
Mostly you just need to retry the download, then the problem should be fixed.

How do I update my server?
Just open the SteamCMD and login again, then retry the Step "Downloading the files" it will be checked which files need to be updated.
Server Creation Tool
To automate these steps to setup/upgrade a server, i created a tool, the group can be founde here:
http://steamproxy.net/groups/ServerTool

The tool itself is hosted on Github, which can be found here:
https://github.com/Zeromix9/ServerTool

I hope, that will help you in the future!

If you like, you are also welcome to leave a small donation.
https://paypal.me/Zeromix
60 Comments
Zeromix  [author] 2 Sep, 2023 @ 4:16pm 
@dunawayc Hey there, I get these errors as well, if I run it on my PC.
I think (but i´m not sure) that it might be about HD textures or so.
The server should still work, have fun. vv
dunawayc 30 Aug, 2023 @ 6:55pm 
I have a server that I use for all of my game servers. The server has plenty of RAM and a good processor, but it does not have a dedicated graphics card.

All of the dedicated servers that I have used so far (7 Days to Die, ARK Survival, Conan, and some racing sims) work fine. When I started the Craftopia server, I saw many errors regarding shaders not supported. I presume because of the lack of a dedicated graphics card. Will that prevent the server from working? I will be connecting to the server from my gaming machine (along with friends).
Zeromix  [author] 27 Aug, 2023 @ 12:33am 
@ExpertNuggetTV That's strange, since other files are needed I sad,y have no idea, sorry.
ExpertNugget 26 Aug, 2023 @ 11:08am 
so I wanted to convert my single player save but all I have is the steam cloud file
tungsten 15 Jul, 2023 @ 12:14am 
See below Official post.
https://steamproxy.net/games/1307550/announcements/detail/3657533936662599215

On the right side of the "ROADMAP" image,
After September: Dedicated server release
is written.
Zeromix  [author] 1 Jul, 2023 @ 11:41am 
@dBachry13 Thank you for sharing this, since I was on vacation I didn´t knew about that.
Let´s just hope, that they will update this soon. ^^

@Lord Touch Me! Thank you, I just try my best. :)

@Hantomei Then i have no clue, sorry. :(
dBachry13 1 Jul, 2023 @ 9:01am 
I will just host locally via my personal machine until I see the DS update come out. Deeming this just went live, and they are concerned with squashing bugs - as evidenced by the fact they have already posted a few bug fixes, and can see more work being done via the depot listing - I can wait a few days. Sucks, yes, but, I can understand.
dBachry13 1 Jul, 2023 @ 9:01am 
Now, one thing that you can always try, assuming you are not running a headless server where you were attempting to host the dedicated server, you can attempt to use wine to run the Client / windows binaries (would need to use something like 'xvfb-run' to create a screen session so you have an actual virtual X server running even while disconnected), yet you would basically be opening the game via wine emulation (hoping and praying), running it as a steam user, and eating up an extra license, etc. Chances of it working are mid, and honestly I personally do not feel like eating up an extra license on some dummy steam account just to mock what DS should be providing.
dBachry13 1 Jul, 2023 @ 9:00am 
For anyone getting the server mismatch errors when attempting to do this here within the first 24-48 hours after the Seamless World Update went live:

The dedicated server has not been updated yet is the problem, you will have to wait (possible work around, but kludge)

--[Dedicated Server Update--
https://steamdb.info/app/1670340/depots/

--[Client Updates]--
https://steamdb.info/app/1307550/depots/

As shown for the DS, 3 months ago was the last update to it. If you look at the link for the Client Updates, clearly not the same release. You can at least use the depot link for the Dedicated Server to keep an eye on if there has been an update to it, to which when you see one, that will more than likely be when you can redownload the DS via steamcmd and have the errors about mismatch go away.
Lord Touch Me! 1 Jul, 2023 @ 8:07am 
I'm finding that even dedicated server hosted is having issues with this. The fact that you have made it this far @zeromix is impressive. I tried a fresh install with the changes below and can get in but there are some visual issues and then I am removed