WorkingClassKid / PzPy_Discord

Discord bot for Project Zomboid written in Python
GNU General Public License v3.0
1 stars 0 forks source link
discord-bot project-zomboid project-zomboid-tool projectzomboid pz zomboid

PzPy

A discord bot for Project Zomboid.

You are welcome to log any issues, questions, or feature suggestions you have

Features

TO DO

Commands (prefix: !):

RCONAdapter:
  option   Show or set the value of a server option
UserHandler:
  info     Get detailed user info
  users    Return a list of users on the server with basic info
No Category:
  help     Shows this message

Requirements

To install dependencies: pip install -r requirements.txt

Configuration

Configuration can be specified with an environment file named .env. Sample configuration is provided in a file named sample.env. You can copy this file, name it .env and change the values to suit your environment.

Add yourself as an admin

Running the bot

This bot works by monitoring the log files produced by the game, so must be run on the same machine as the server/host

To run: python PzPy.py

It may be a good idea to run as a service, especially on a dedicated server

Credits / Special Thanks

NOTICE

I'm not an expert programmer.... I program in my spare time for fun and I learn everything by myself.... I'm (not) sorry to the purists if the code is not optimal. But at least it works and I have fun making it :-)