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 ‘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 server’s Control Panel.
  2. Click on Files > Config Files.
  3. Click on world.ini to open the config file.
  4. Set DiscordEnable= to true to enable the integration.
  5. Enter the previously saved Discord Bot token at DiscordToken= and the saved Channel ID at DiscordChannelID= and save this file afterwards. The DiscordChannel= setting needs to be left empty in order for the bot to work.
  6. Restart your server to apply changes.
If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php

Mitchell Smith

Managing Director @ Shockbyte

  • 12 Users Found This Useful
Was this answer helpful?

Related Articles

How to Make Your Project Zomboid Server Private

If you are looking to run a Project Zomboid server for a small group of people, we recommend...

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

All Console Commands for Your Project Zomboid Server

Console commands allow users to modify the game’s settings, spawn items, or run functions that...

How to Become an Admin on Your Project Zomboid Server

Granting a user Admin access on your Project Zomboid server allows the user to execute Admin...

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