Notifies server owners of mod updates, also notifies of player deaths and player joins through Discord.

Overview

ProjectZomboid-ServerAssistant

Notifies server owners of mod updates, also notifies of player deaths and player joins through Discord. A Python based Discord bot made for my own private server with friends, which is why the code is a bit haphazard in places, but people wanted it.

This is probably not the most user friendly at the moment, and will go through some iterations, but this first release is in an attempt to get it out to those who seem to particularly need it at the moment.

Needs at the least Python 3.6

Library dependencies:

discord.py
requests

Setup:

The included config.json needs to be set up by filling in the fields accordingly:

{
  "zomboidPath": "",    // Currently unused, will manage server restarts later on.
  "docPath": "",        // Your Zomboid path under "Users", where your logs and server config sits, usually: "C:\Users\(USERNAME HERE)\Zomboid\".
  "serverName": "",     // Your server's config name under the \Server\ Directory of docPath, likely "servertest.ini" or such.
  "notifyUser": 0,      // Your Discord ID, or whoever should be pinged when a mod update occurs.
  "notifyChannel": 0,   // The discord channel ID that the mod notification should occur in, probably best to keep it to the same as chatChannel
  "chatChannel": 0,     // General chat channel ID, where join, leave and death messages will be sent.
  "joinNotif": true,    // If to enable notifications about joining or leaving, true / false.
  "deathNotif": true,   // If to enable notifications and logging of player deaths, true / false.
  "botToken": ""        // Your Discord bot token, https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token
}
You might also like...
Open Source defrag's mod code

Open Source defrag's mod code Goals: Code & License: Respect FOSS philosophy. Open source and community focus. Eliminate all traces of q3a-sdk licensi

Synthetik Python Mod - A save editor tool for the game Synthetik written in python

Synthetik_Python_Mod A save editor tool for the game Synthetik written in python

The refactoring tutorial I wrote for PyConDE 2022. You can also work through the exercises on your own.
The refactoring tutorial I wrote for PyConDE 2022. You can also work through the exercises on your own.

Refactoring 101 planet images by Justin Nichol on opengameart.org CC-BY 3.0 Goal of this Tutorial In this tutorial, you will refactor a space travel t

Checks for Vaccine Availability at your district and notifies you using E-mail, subscribe to our website.

Vaccine Availability Notifier Project Description Checks for Vaccine Availability at your district and notifies you using E-mail every 10 mins. Kindly

An Notifier Program that Notifies you to relax your eyes Every 15 Minutesđź‘€
An Notifier Program that Notifies you to relax your eyes Every 15 Minutesđź‘€

Every 15 Minutes ⌛ Every 15 Minutes is an application that is used to Notify you to Relax your eyes Every 15 Minutes, This is fully made with Python a

A Notifier Program that Notifies you to relax your eyes Every 15 Minutesđź‘€
A Notifier Program that Notifies you to relax your eyes Every 15 Minutesđź‘€

Every 15 Minutes is an application that is used to Notify you to Relax your eyes Every 15 Minutes, This is fully made with Python and also with the us

A Notifier Program that Notifies you to relax your eyes Every 15 Minutesđź‘€
A Notifier Program that Notifies you to relax your eyes Every 15 Minutesđź‘€

Every 15 Minutes is an application that is used to Notify you to Relax your eyes Every 15 Minutes, This is fully made with Python and also with the us

A Notifier Program that Notifies you to relax your eyes Every 15 Minutesđź‘€
A Notifier Program that Notifies you to relax your eyes Every 15 Minutesđź‘€

Every 15 Minutes is an application that is used to Notify you to Relax your eyes Every 15 Minutes, This is fully made with Python and also with the us

A dead-simple service that notifies you when something goes down.
A dead-simple service that notifies you when something goes down.

Totmannschalter Totmannschalter (German for dead man's switch) is a simple service that notifies you when it has not received any message from a servi

Comments
  • Error

    Error

    Hello!

    I get this error

    Traceback (most recent call last):
      File "C:\Users\Administrator\Desktop\ProjectZomboid-ServerAssistant\main.py", line 11, in <module>
        bot = commands.Bot(command_prefix='?', case_insensitive=True)
    TypeError: BotBase.__init__() missing 1 required keyword-only argument: 'intents'
    

    Would love an update!

    Thanks a lot!

    opened by 6-- 0
Owner
null
A module to prevent invites and joins to Matrix rooms by checking the involved server(s)' domain.

Synapse Domain Rule Checker A module to prevent invites and joins to Matrix rooms by checking the involved server(s)' domain. Installation From the vi

matrix.org 4 Oct 24, 2022
Simple python bot, that notifies about new manga chapters through Telegram.

Simple python bot, that notifies about new manga chapters through Telegram.

Dmitry Kopturov 1 Dec 5, 2021
A python script that automatically joins a zoom meeting based on your timetable.

Zoom Automation A python script that automatically joins a zoom meeting based on your timetable. What does it do? It performs the following processes:

Shourya Gupta 3 Jan 1, 2022
A bot to view Dilbert comics directly from Discord and get updates of the comics automatically.

A bot to view Dilbert comics directly from Discord and get updates of the comics automatically

Raghav Sharma 3 Nov 30, 2022
MODSKIN-LOLPRO-updater: The mod is fkn 10y old and has'nt a self-updater

The mod is fkn 10y old and has'nt a self-updater. To use it just run the exec, wait some seconds, and it will run the new modsk

Shiro Amurha 3 Apr 23, 2022
Fabric mod where anyone can PR anything, concerning or not. I'll merge everything as soon as it works.

Guess What Will Happen In This Fabric mod where anyone can PR anything, concerning or not (Unless it's too concerning). I'll merge everything as soon

anatom 65 Dec 25, 2022
Prop-based map editor for the Apex Legends mod, R5Reloaded

R5R Map Editor A tool to build maps out of props in the Apex Legends mod, R5Reloaded Instuctions Install R5R Download this program Get the prop spawne

null 7 Dec 16, 2022
MatroSka Mod Compiler for ts4scripts

MMC Current Version: 0.2 MatroSka Mod Compiler for .ts4script files Requirements Have Python 3.7 installed and set as default. Running from Source pip

MatroSka 1 Dec 13, 2021
Meera 2 May 12, 2022
Sailwind Mod Manager

Sailwind Mod Manager The Sailwind Mod Manager is an open source mod manager for the Sailwind community. It currently allows you to browse and download

Max 3 Jul 15, 2022