How to Connect Discord to Your Project Zomboid Server

1. Log In to Your Panel


2. Select the ‘Files’ Tab

Cybrancee Panel Files Tab Project Zomboid Server outlined with arrow

3. Locate the ‘Server’ Folder

You can find the folder in /home/container/.cache/Server.

Project Zomboid Server root outlined outlined with arrow

4. Select the ‘Pterodactyl.ini’ File

Cybrancee Panel Files Tab Pterodactyl file Project Zomboid Server outlined with arrow

4.1. Set the ‘DiscordEnabled’ Option to true

Line of discord enabled in the pterodactyl file

4.2. Enter Your Discord Bot Access Token in the ‘DiscordToken’ Line

If you don’t know how to get a Discord bot token, you can view our How To Create a Discord Bot Account article.

Line of discordtoken in the pterodactyl file

4.3. Enter the Discord Channel Link and Discord Channel ID

Lines with the discordchannel and discordid options in the pterodactyl file

4.3.1. Enter the Discord Channel Link in the ‘DiscordChannel’ Option

This is the channel in your Discord server where messages sent in your Project Zomboid server’s global chat will appear.

You can get the Discord channel link by right-clicking on the channel and selecting ‘Copy Link’:

Button to copy the link of a Discord channel outlined with an arrow

4.3.2. Enter the Discord ID in the ‘DiscordChannelID’ Option

Here you will enter the ID of the same Discord channel from which you copied its link in the previous step.

If you don’t know how to get a Discord ID, you can view our How to Find a Discord Channel ID article.


4.4. Save the Changes Made


5. Restart Your Server

After this, messages sent in the global chat of your Project Zomboid server will be visible in the Discord channel you have chosen:

Message sent from a Project Zomboid server, viewed from a Discord channel

Project Zomboid Server Hosting

Starts at $8.99

External link icon
Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?
Table of Contents