KnowledgebaseProject Zomboid

How to Integrate Discord with Your Project Zomboid Server

How to Integrate Discord with Your Project Zomboid Server

Project Zomboid
·
Nov 10, 2024
·
4 min read

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 New Application.

  2. Give your bot a name of choice, and click Create.

  3. Navigate to the bot category at the left, and click Add Bot.

  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 /Zomboid/Server directory and open the world.ini file.

  3. Set DiscordEnable= to true to enable the integration.

  4. Enter the previously saved Discord Bot token at DiscordToken= and the saved Channel ID at DiscordChannelID=. The DiscordChannel= setting needs to be left empty in order for the bot to work.

  5. 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

Join Discord