
Here, you can see two tabs: Favorites and Internet.
Choose the Join option and a new window will open. You can play Project Zomboid by yourself, but if you’re keen on playing with friends or joining a server, you can do this at any time from the main menu. How to Join Servers – Project Zomboid Multiplayer This guide explains how Project Zomboid multiplayer works so you can play with friends in build 41 without hassle. In its current state, it’s the most stable it has ever been, so if you were waiting for a chance to return to the game and invite a couple friends over to join, now is the best time to do so. As the game continues to evolve over time, developer The Indie Stone continues to tinker and improve its multiplayer functionality. You can also type !help category for more info on a category.Īdmin commands can only be run by users in discord with the "Admin" role.Trying to survive in the zombie apocalypse of Project Zomboid can be a lonely experience, but it doesn’t have to be. Type !help command for more info on a command. Pzrequestaccess Request access to the PZ server. Pzplaytime Get the total playtime of all players Pzplayers Show current active players on the server Pzgetoption Get the value of a server option Pzdeaths Get the total death count of all players Pzdeathcount Get the total death count of a player Pzwhitelistall Whitelist all active users Pzteleport Teleport a user to another user Pzadditem Adds an item to the specified user's inventory Pzsetaccess Set the access level of a specific user. To get channel id's, enable dev mode on your discord app, and right click a channel and click 'copy id' Copy the sample environment variable file template provided in the project root directory: cp. env file present in the root directory of the project. Make sure your PZ rcon server is listening on 27015 Pip install rcon python-dotenv discord.py psutil watchgod file_read_backwards Yes, I tried using python rcon, and python-valve but it did not work and consistently timed out talking to the pz server This requires the rcon executable in the same directory as the script Pzwatcher.py - Will watch logs and report ingame activities to specified channels It also will handle the bot status changing and updating. Pzbot.py - Handles all commands and server communication.
I will not go into how to setup a bot or a service for a python script here, there are tons of guides already, but have included basic unit files for this bot This must be locally hosted on your PZ server due to the interactions it requires to get specific informationĭue to how this bot interacts with the server for specific information (rcon, log files, active processes) it must be running on the server that runs project zomboid
