Knowledgebase

Project Zomboid

Project Zomboid

19 Articles
Looking to manage your own Project Zomboid server? Our knowledgebase articles have all the tips and tricks you need to create, manage, and optimize your game server for the ultimate zombie survival experience!

How to Kick or Ban a Player From Your Project Zomboid Server

Sometimes it is incredibly useful to ban/kick disruptive or unwanted players from your Project Zomboid server. This article will cover how to kick and ban players from your server using the server console. --- Banning a Player Banning via a Steam64ID 1. Access your Control Panel and Stop your server. 2. Find the SteamID64 of the player using steamid.io. 3. Type in your console: . Banning via a Username 1. Access your Control Panel and Stop your server. 2. Type in your console: . To unban a player type in your console: . --- Kicking a Player 1. Access your Control Panel and Stop your server. 2. Type in your console: . --- If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Shockbyte
November 10, 2024

How to Join Your Project Zomboid Server

This article will cover how you can join your Project Zomboid server in a few simple steps. --- Joining via In-Game Favorites Joining your game using the in-game filter is the easiest way to join. 1. Login to your server’s control panel and copy your Server's IP Address using the following Knowledgebase article. 2. Open Project Zomboid, and click JOIN. 3. On the right side, input the IP address you copied in Step 1 into 1. Input the port under 2. Enter an Account Username and Account Password. 3. Choose a Favorite Name for your server. 4. Click Save and Refresh. --- How To Join Via Steam Favorites This section will cover how you can join your Project Zomboid server via Steam favorites. 1. Login to your server’s control panel and copy your Server Address. 2. In the Steam client top left, click View Game Servers. 3. Click the Favorites tab, then Add server by IP. 4. Paste the Server Address into the popup box and click OK. 5. Choose your server from the list and click Connect. You have now successfully connected to your zomboid server!

Ruben B
November 10, 2024

How to Integrate Discord with Your Project Zomboid Server

With the release of build 40, Project Zomboid now supports Discord integration. This means that everything typed in the /all chat (in-game) will be posted to a Discord channel, and vice versa. This is achieved by setting up a Discord bot. --- Discord Configuration To start, you will be required to have a Discord server where you have admin rights, together with a channel in which you would like the messages to be synced with. 1. Go to the Discord Developer Portal and click . 2. Give your bot a name of choice, and click . 3. Navigate to the bot category at the left, and click . 4. Copy or reveal the bot token - you will need it in the next steps. You can also set a profile picture of the bot. 5. Navigate towards the OAuth2 category and copy the link after checking the following settings. 6. Now browse to this link, select the server you would like the bot to join, and click Continue. 7. Go to the Discord channel you would like to use, and copy the link to this channel by right clicking it. 8. Copy the latest (18-digit) number after the latest and write this down together with the Discord Bot token you got in step 4. This is the channel ID. --- Server Configuration Now that you have the bot token and channel ID, you will need to configure your server to be able to access the bot. 1. Access your Control Panel and Stop your server. 2. Navigate to the Files tab and locate the directory and open the file. 3. Set to to enable the integration. 4. Enter the previously saved Discord Bot token at and the saved Channel ID at . The setting needs to be left empty in order for the bot to work. 6. Save and restart your server to ensure the new changes apply. --- If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Shockbyte
November 10, 2024

How to Convert Single-Player Save Data to Multiplayer Save Data and Back

When transferring a world between Singleplayer and Multiplayer in Project Zomboid, player data (such as inventory and stats) will not transfer automatically due to differences in how each mode stores data. If not converted correctly, you may be unable to join your world or experience server crashes. This guide explains how to properly convert player data between formats. ::ProseNote{title="Note" description="Before proceeding, ensure you have followed the steps in our How to Upload or Download a Save-Game for Your Project Zomboid Server KB guide." appearance="default"} :: --- Key Difference - Singleplayer data → stored in - Multiplayer data → stored in Converting between modes requires transferring data between these tables in the players.db file. --- Converting Singleplayer to Multiplayer 1. Access your Control Panel and Stop your server. 2. Upload your Singleplayer world to your server by following our guide here. 3. Create a workspace folder at any location you'd like on your computer. This isn't required but it will make it easier to work on converting your player data. For this example, we will call this . 4. Navigate to the Files tab and select the SFTP Connect button to connect via FTP (using either FileZilla or WinSCP). 3. Navigate to the directory and download and rename it to . Download this file to your folder you created earlier in this guide. --- Using the SQLite Database Browser 1. Download SQLite Database Browser (DB Browser) from https://sqlitebrowser.org/dl/. 2. Open DB Browser, then click File Open Database. 3. Locate the folder you've created, then open . 4. Click Browse Data, then select the table. If there's any player data in the table, you can confirm the file is using the Singleplayer format. 5. Delete the file on your server from the FTP directory. Generate Multiplayer File 1. Start the server to generate a new file 2. Join once and create a character, then stop the server 3. Download the new and rename it to . Transfer Player Data 1. Open DB Browser, then click File Open Database. 2. Locate the workspace folder, then open . 3. Click Browse Data, then select the table. If there's any player data in the table, you can confirm the file is using the Multiplayer format. 4. Open the oldPlayers.db file with DB browser. 5. Click Browse Data and open the localPlayers table. 6. Keep a reference of the values. Copy and paste this to any note-taking software of your choice. 7. Right click on the field in the data column for your player and press Copy as SQL. Paste this in the document with your X, Y, and Z values. 8. Open the file with DB browser. 9. Click , then run the SQL command mentioned at the bottom of this Knowledgebase article. Replace the values in the SQL command with the values you've taken note of previously. You will want to modify the networkPlayers table. 10. Click the button. This looks like a play button and is located near the top left of DB Browser. 11. Click Browse Data and confirm the changes were applied. 12. Press the File button, then click and . Exit DB Browser. 13. Navigate to your workspace folder and rename newPlayers.db to players.db 14. Upload the newly renamed file to . 15. Start your server and connect to join with your Singleplayer character data. --- How to Convert Your Multiplayer World to Singleplayer 1. Access your Control Panel and Stop your server. 2. Download your world by following our guide here. 3. Make sure you've replaced the file as mentioned in the previous Knowledgebase guide. 4. Create a folder at any location you'd like on your computer. This isn't required but it will make it easier to work on converting your player data. 5. Navigate to the location you've downloaded your world to in your Project Zomboid game directory. 6. Locate the file that contains your multiplayer player data to the workspace folder you've created. You can find this directly on your server in the world directory. 7. Move the file to the workspace folder you've created, then rename this to . 8. Download SQLite Database Browser (DB Browser) from https://sqlitebrowser.org/dl/. 9. Open DB Browser, then click File Open Database. 10. Locate the workspace folder you've created, then open . 11. Click Browse Data, then select the table. If there's any player data in the table, you can confirm the oldPlayers.db file is using the Multiplayer format. 12. In the networkPlayers table, keep a reference of the X, Y, and Z values. Copy and paste this to any note-taking software of your choice. 13. Right click on the field in the data column for your player and press Copy as SQL. Paste this in the document with your X, Y, and Z values. 14. Open the file located in the Project Zomboid game directory with DB Browser. This would be the world folder on your computer located under . 15. Click , then run the SQL command mentioned at the bottom of this Knowledgebase article. Replace the values in the SQL command with the values you've taken note of previously. You will want to modify the localPlayers table. 16. Click the button. This looks like a play button and is located near the top left of DB Browser. 17. Click Browse Data and confirm the changes were applied. 18. Press the File button, then click and . Exit DB Browser. 19. Start Project Zomboid on your computer, then press the button. 20. Select the world you've just uploaded and press . --- SQL Command Cheatsheet When running the command, replace the text with the table you're updating. If you're converting your world from singleplayer to multiplayer, the table you will be modifying is . If you're converting your world from multiplayer to singleplayer, the table you will be modifying is . You can find the full command below. Don't forget to replace all values indicated in the comments! -- Update player data UPDATE "main"."REPLACEWITHTABLE" -- Select which table you'd like to modify. SET data = NULL -- Replace “NULL” with value inside the copied SQL command VALUES(); method WHERE id = 1; -- The ID is the row you're replacing the value of for the character you created earlier. -- Update player X coord UPDATE "main"."REPLACEWITHTABLE" -- Select which table you'd like to modify. SET x = 0 -- Replace with the X coordinate of the player. WHERE id = 1; -- The ID is the row you're replacing the value of for the character you created. -- Update player Y coord UPDATE "main"."REPLACEWITHTABLE" -- Select which table you'd like to modify. SET y = 0 -- Replace with the Y coordinate of the player. WHERE id = 1; -- The ID is the row you're replacing the value of for the character you created. -- Update player Z coord UPDATE "main"."REPLACEWITHTABLE" -- Select which table you'd like to modify. SET z = 0 -- Replace with the Z coordinate of the player. WHERE id = 1; -- The ID is the row you're replacing the value of for the character you created. --- If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Shockbyte
November 10, 2024

How to Change the Name and Description of Your Project Zomboid server

Changing your Project Zomboid server name and description is a great way to make your server stand out, or to show potential players what your server is all about. You can change your server name or description by following these steps: --- Setting the Name & Description 1. Access your Control Panel and Stop your server. 2. Navigate to the Config tab and select the Project Zomboid Server Settings file. 3. Locate the Server Name and Server Description options and set your desired values. 4. Save and restart your server to ensure the new changes apply. --- If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Shockbyte
November 10, 2024

How to Change Zombie Spawn Rates on your Project Zomboid Server

Adjusting Zombie spawn rates on your Project Zomboid server can allow you an alternative way to change the difficulty, having the possibility to both increase and decrease the amount of spawns on your server. After playing Project Zomboid on your new Shockbyte server, you may feel like you want to adjust the rate of zombie spawns. Fortunately, this is a configurable option within a specific file on your Project Zomboid server. --- Modifying the Zombie Spawn Rates To modify zombie spawn rates on your Project Zomboid server, you will need to find the worldSandBoxVars.lua file and adjust the PopulationModifier option. 1. Access your Control Panel and Stop your server. 2. Navigate to the Files tab and locate the directory. 3. Open the file. 4. Locate on line 591, and make your adjustments. A higher number will result in higher spawn rates (0.0 will disable zombie spawning). 5. (Optional) Alternatively, you can change the value of the option in line 1. Changing this sets the "Population Multiplier" advanced option. 6. Save and restart your server to ensure the new changes apply. --- If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Shockbyte
November 10, 2024

How to Change Your Playstyle on Your Project Zomboid Server

Project Zomboid has multiple default playstyles available, each playstyle affecting the amount of loot found in houses, the strength and amount of zombies spawned, and much more. You can change your preset playstyle or create your own by following the steps below. --- Choosing a Predefined Playstyle Each predefined playstyle has different pros and cons. Deciding which one to use may be difficult for new players, so you can compare the key differences in styles below: | Preset | Description | | -------- | ------- | | Initial Infection | Resources: Abundant; Zombie Speed: Shamblers; Zombie Senses: Poor; Horde Size: Small; Utility Shut-Off: 6-12 Months | | One Week Later | Resources: Common; Zombie Speed: Fast Shamblers; Zombie Senses: Poor; Horde Size: Moderate; Utility Shut-Off: 2-6 Months | | Survival | Resources: Rare; Zombie Speed: Fast Shamblers; Zombie Senses: Normal; Horde Size: Huge; Utility Shut-Off: 0-30 Days | | Six Months Later | Resources: Rare; Zombie Speed: Fast Shamblers; Zombie Senses: Normal; Horde Size: Large; Utility Shut-Off: Instant | --- Setting a Predefined Playstyle Once you’ve chosen your preset, you will need to join your server with an admin account. 1. In-game, open the Admin Panel by clicking the red admin button on the left side of the screen. 2. Open Sandbox Options. 3. In the Presets tab, select the playstyle you would like to use. 4. Click Apply Preset and then Apply Changes. --- Creating Your Own Playstyle If you aren’t satisfied with the built-in presets, you can customize individual settings to fit your needs. 1. Open Sandbox Options by following the previous steps. 2. Choose a base preset to work off of. 3. Go through each tab on the left and change your settings accordingly. 4. Click Apply Changes and close the tab. --- If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Shockbyte
November 10, 2024
加入Discord