Project Zomboid servers are a great way to experience the game in large, multiplayer settings. One of the critical advantages of having a server is its ability to continually run independently of a 'host' user. As a result, servers are fantastic for new players to jump in and learn the game at their own pace. Since a server can be online at any time, there may be periods when server administrators are not online. This issue can be solved through Discord integration, as the bot will relay any chat messages to an assigned Discord server.
1. Create a bot from the Discord Dev Portal. This may prompt a login.
2. Press New Application from the top right.
3. Enter a name for the app. The app name will not affect the bot name on servers.
4. Navigate to the Bot tab and customize the bot. These will affect how the name and icon will appear on servers.
5. Adjust the desired settings.
6. Once finished editing, choose Save Changes.
7. From the Token section, choose Copy. If no token is present, select the Reset Token button.
8. Go to the Oauth2 Tab.
9. Select the bot scope and administrator permissions.
10. Go to the provided link at the bottom of the page.
11. Select the desired server for the bot to join.
12. From the Discord Server, right-click on the channel where the bot's messages will go and choose Copy Channel ID.
13. Log in to the BisectHosting Starbase panel.
14. Stop the server.
15. Go to the Files tab.
16. Find the following directory: /home/container/.cache/server .
17. Open the [Save/Config].ini file. The file name depends on the Save/Config Name set in the Startup tab.
18. Navigate to the Discord Integration section.
19. Change the DiscordEnable= setting to true.
20. Next to DiscordChannelID=, paste the Channel ID from step 12.
21. From the DiscordToken= line, paste the App Token from step 7.
22. Once finished, press the Save button.