مشروع زومبويد

How to Use Your Home PC as Project Zomboid Dedicated Server

After much trouble of my own, this is a guide to fully make a zomboid PC server, install mods, configure your server, AND merge your base from your single player world.

خطوة 1: Server installation

أولاً, We will want to download SteamCMD, a developer app made by steam. This can be done by visiting this link here:

التالي, scroll down to the windows tab, وانقر فوق [1] icon in the corner here:

this should download a file called steamcmd.zip like so

most guides recommend making a folder in programfiles (إلى x86), but personally I like to make a folder on my desktop called steamCMD and extracting the zipped file into that folder there for easier access. To unzip, right click the file and clickextract alland choose the folder of your choice.

Once extracted, we want to click on theSteamCMDicon in this folder, it will bring up a command prompt, and it may take a second to update. أولاً, يكتب “login anonymous” (without parenthesis) and press enter on your keyboard. التالي, يكتب “AppUpdate 380870 validate” (without parenthesis) this step WILL take a a minute or two to load.

تهانينا, you have installed the server.

خطوة 2: Port Forwarding & الشبكات

Now that you have installed the server, its time to allow it through the firewall.

مهم: Please take note if you have a dual router setup, you will need to forward the ports from the first router IP to the second, and then from the second again to the PC IP address.

أولاً, login to your router and find the port forwarding tab.

التالي, open the command prompt of the PC you will be hosting on, and typeipconfig” (no parenthesis) Find the line of text that sats IPv4 address, and copy / remember this address.

ثم, add the port range, and your PC IP address to the Local IP or IP address box. Add the following, and ensure the protocol is set to the right UDP or TCP settings:

يحفظ / apply these to your router settings. التالي, we will allow these through the firewall.

أولاً, find the windows defender firewall program, and open it. انقر فوق “advanced settingson the upper left side of the screen.

التالي, انقر على “imbound rules” ثم انقر فوق, “new rule

يختار “ميناء” on the new screen, then click next. Ensure it is set toUDP” و “Specific Local Portsand type “16261”

Click next, ensure theallow the connectionbox is checked, and then click next again, ensuring all 3 boxes are checked, and then clicking next again. You should arrive on a “اسم” page like so. Name thispzUDPand click finish.

مهم: Repeat the same process with port 16262!

أخيراً, open settings on your device, and head to theNetwork and internet tab” مثل ذلك.

A network status tab should appear. انقر فوق “الخصائص” You should see a tab that saysNetwork ProfileSet the connection to private like so.

مهم: Do this for BOTH host device and playing device on same network.

Now is a good idea to restart your computer as well.

تهانينا, you have allowed zomboid and steam ports through your firewall.

خطوة 3: Test running the new server

Now that port forwarding is set up, we will be starting the Project Zomboid server for the first time. Navigate back to your steamCMD folder. انقر فوق “steam apps” ومن بعد “‘common” ومن بعد “Project Zomboid dedicated server”. you should see a screen like so:

Click on the file titledStartServer64”. This will begin the first server startup. It will open up a command prompt and load for awhile. The first time around will prompt you for an admin password, type this in, and be sure to remember it! You will need this password for the admin account logon. The server will start up.

Boot up Zomboid on your chosen device.

مهم: if the device is on the same network, use the earlier copied IP in step 2, if you are on another network, go to the PC you are hosting on, and visit this site.

and locate the IPv4, this will be what you will give others/friends/yourself to connect from different networks.

Type the information in the following boxes. Login as Admin, and insert the set password from earlier.

If you are able to view the server and logon as admin, the server connection is set up.

تهانينا, you now have a running Zomboid server.

خطوة 4: اعدادات الخادم & Adding mods to the server

If you wish to add mods to the server or edit the base configuration, first you will need to use a file reader. The built in windows notepad works fine, but personally, I use Visual Studio Code.

التالي, find your zomboid server file. This can be found at C:\المستخدمون (your-own-username)\Zomboid\Server, or by pressing WindowsKey+R and typing in the following: %userpofile%/zomboid like so, and then clicking on the “الخادم” مجلد

You should be greeted by 3 الملفات: servertest. servertest_sandboxvars, and servertest_spawnregions

Right click on servertest, and choose open with your text editor of choice

Studio

(if using Visual Code Studio, تاكد من “يثق” the tab), and then you can edit and save the configurations. Here you can view server settings such as Ports, Mods, Max Players, Server Passwords, enable the server to be seen publicly or not, إلخ. Each Line is very self explanatory making things easy to understand. In this step, we will be adding mods. أولاً, locate themods=” (no parenthesis) خط.

Here you will need to go to the mods workshop page, and find the MOD ID, which is usually towards the bottom of the workshop mod page. في هذا المثال, we use @BitBraven’s Common Sense mod.

Copy the mod ID line, and paste it into the mods= line, and put a semicolon directly after. التالي, we are going to do the same process, except this time with theWorkshop Items” خط.

هذا الوقت, copy the workshop ID number and insert a semicolon directly after.

Finally click file, then save. This will update the files for the next time the server is opened, and will install the mods.

خطوة 5: Moving single player data

If you are new to Project Zomboid hosting and want to merge your single player base to your multiplayer server, أول, you will need to locate the chunk your base is stored in. This can be done by going to Project Zomboid Map website, and locating your base. اضغط على “map coordinatestab and move your cursor around, which will give you the coordinates.

These coordinates will coordinate with both chunk data and map files in the folder C:\المستخدمون (اسم المستخدم)\Zomboid\Saves\(builder/sandbox/whatever)\(تاريخ). في هذا المثال, using the coordinates from the prison, we want to start in the upper corner and go down to the lower corner. Looking at thecellon the map it starts with 25×39, and ends with 26×40. Using these we will locate the chunk data files.

We will do something similar with the map files as well, as we can see in the example, the coordinates are 7544×11723. We will shave off one number on each side, so we can picture 754×1172. Do this for the lower corner as well, and we will get 789×1198. Then we will once again find that range of map files. You will need to copy ALL files from this range. It can be a lot, depending on the size of the base. If you do not have a vanilla game building base, do your best to estimate the coordinates of the base using the map. في مثالي, I do not have these exact files as the area has not been loaded, لعِلمِكَ. But if you have visited them they will be.

If you want to also keep the storage contents and vehicle data, this will be in the same file folder. أعثر على “‘WorldDictionaryBIN file, as well as the “مركبات” DB file, and copy these.

التالي, go to your folder C:\المستخدمون (اسم المستخدم)\Zomboid\Saves\Multiplayer\(servername) and paste all of the data here, and choose to replace current existing if the option appears. Upon next server bootup, the structures, vehicles, and storage should be placed.

I strongly advise you create a folder to store all this data together, so you can copy it all over at once.

If you wish to merge a whole world, copy EVERYTHING. This can take some time, ومع ذلك.

تهانينا, you have now merged your map data from single player to multiplayer.

هذا الدليل حول مشروع زومبويد كتب بواسطة Major Spellbound. يمكنك زيارة المنشور الأصلي من هذا حلقة الوصل. إذا كان لديك أي مخاوف بشأن هذا الدليل, من فضلك لا تتردد في الاتصال بنا هنا.

عن المؤلف