Skip to main content

How To Link Discord With Your Project Zomboid Server (Build 41 and Build 42)

Build 41 Discord Setup

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

Build 42 Discord Setup

1. Log In to Your Panel


2. Select the ‘Files’ Tab

Project Zomboid - Cybrancee panel Files Tab outlined with arrow

3. Locate the ‘Server’ Folder

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

Project Zomboid - Server folder root outlined outlined with arrow

4. Select the ‘Pterodactyl.ini’ File

Project Zomboid - Cybrancee panel Files Tab Pterodactyl file outlined with arrow

4.1. Set the ‘DiscordEnabled’ Option to true

Project Zomboid - Discord channel linking fields outlined with arrows

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.


4.3. Enter the Discord Channel Name

This is the Discord channel where messages sent by players from the game will appear.

Make sure to copy the Discord channel name exactly (including emojis and spaces):

Project Zomboid - Discord channel name

4.4. Enter the Discord Log Channel Name

This is the Discord channel where messages about players joining and leaving the server will appear.

Make sure to copy the Discord channel name exactly (including emojis and spaces):

Project Zomboid - Discord channel name

4.5. Enter the Discord Command Channel Name

This is the Discord channel where you can execute commands on the server as if it were the in-game chat.

Make sure to copy the Discord channel name exactly (including emojis and spaces):

Project Zomboid - Discord channel name

5. Save the Changes


6. 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 $11.99

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