Zaphiel Posted April 8, 2022 Share Posted April 8, 2022 (edited) Project Zomboid Discord Bot for Server Management which I wanted to share with everyone who wishes to use it. You can find all the details about the bot in here: https://github.com/egebilecen/PZServerDiscordBot I will copy/paste features from the README file below All feedback and feature requests are welcome. Features Automated server restart schedule with ingame and discord warning. (Warnings are announced when 1 hour, 30 min, 15 min, 5 min and 1 min left until server restart. Restart interval can be configured with bot commands.) Automated server restart when a mod (workshop item) update has been detected. Executing server commands through bot commands. (For example; saving server, kicking player, teleporting player, starting/stopping rain, making admin and so on. Full list will be at the bottom and will be listed under available commands.) Perk Parser with cache system. (Bot automatically parses the last perk log file that holds the player skills when they login to server. This can be used to aid players that died to a bug but they can't remember their skills. As stated before, server logs the player skills only when they log into server. If player levels up a skill after connecting to server, it won't appear in log unless player logs into server afterwards again.) When command for perk parser is invoked, bot will parse the file and save it contents in memory until cache (in minutes) expires. This is for to increase efficiency as bot will not have to parse the same file each time. In a situation where fresh data needed, !reset_perk_cache command can be used to reset the cache. Auto server start if server quits. This feature useful if combined with mods that quits the server for whatever reason. For example, if you are using a mod that checks mod updates and when detects it, quits the server. With enabling this feature, you won't need to manually run the server. !get_ram_cpu command for checking current RAM and CPU usage of the machine. !backup_server command for backing up the server easily. Edited November 20, 2022 by Zaphiel updated features Trunks 1 Link to comment Share on other sites More sharing options...
saro8802 Posted May 30, 2022 Share Posted May 30, 2022 Great Job tankyou! Link to comment Share on other sites More sharing options...
grim_reaper Posted June 5, 2022 Share Posted June 5, 2022 any plans for linux version ? Link to comment Share on other sites More sharing options...
getstoopid Posted June 5, 2022 Share Posted June 5, 2022 Since Discord .Net is advertised as multi-platform it should be built on .Net Standard/Core I think? May I suggest switching to .Net Core so the bot can be installed on Linux environments? grim_reaper 1 Link to comment Share on other sites More sharing options...
Grayhizi Posted July 9, 2022 Share Posted July 9, 2022 hello, I want to Russify all sms that the bot sends to Discord. please help, in which files you need to change the text of sms Link to comment Share on other sites More sharing options...
Zaphiel Posted July 14, 2022 Author Share Posted July 14, 2022 On 6/5/2022 at 3:51 AM, grim_reaper said: any plans for linux version ? Not for now. On 6/5/2022 at 11:37 AM, getstoopid said: Since Discord .Net is advertised as multi-platform it should be built on .Net Standard/Core I think? May I suggest switching to .Net Core so the bot can be installed on Linux environments? I would need to check it but I am quite busy with work lately so I wouldn’t expect linux version any soon. :c On 7/9/2022 at 4:18 PM, Grayhizi said: hello, I want to Russify all sms that the bot sends to Discord. please help, in which files you need to change the text of sms You need to modify every “string” in source code and build it by yourself. It doesn’t have a translation system. I could add such feature if bot was popular but I am not sure it is the case (Sorry for late reply all) Link to comment Share on other sites More sharing options...
Zaphiel Posted August 22, 2022 Author Share Posted August 22, 2022 (edited) Hello everyone. I recently published an update for bot to automatically check the workshop mod updates and restart the server in specified minutes after doing in-game announcements. I did some simulated tests but since I have no dedicated server, I can't run the bot for a long time. I am just dropping the link to the beta release in case of anyone wants to test it. https://github.com/egebilecen/PZServerDiscordBot/releases Edited November 20, 2022 by Zaphiel Z Z 1 Link to comment Share on other sites More sharing options...
Zaphiel Posted November 20, 2022 Author Share Posted November 20, 2022 (edited) Hello everyone, it's been a while. I kept adding new features since I last posted in this thread. Here is some quick sum of added new features: * Added backup feature to backup server with just one command. * Added support for custom server paths. With this, in one machine, you can run multiple servers using the bot. * Added new command for getting current CPU and RAM usage of the machine. * Added new command for getting current in-game date. * Added new command to reload server options while server is running. (This command actually zomboid's server command. I did include it to available commands.) * Added automatic new version checker for bot. * Added feature to start server automatically if it closes for some reason. (Perhaps due to crash, etc.) * Added toggleable option for printing out non-public mods. (Because Steam doesn't allow to get details of non-public mods, bot will not detect any update on them. With this option, owner can easily find which mods are non-public) You can find source code, bot's files and installation details in here. If you liked the bot, please consider leaving a star to GitHub repo. Also, I am open to all feature suggestions. If you got something in your mind, please do share it using GitHub issues. Edited November 20, 2022 by Zaphiel typo Link to comment Share on other sites More sharing options...
Kell Posted November 23, 2022 Share Posted November 23, 2022 Could you add a panel indicating the status of the server and online players so that users could see it? Link to comment Share on other sites More sharing options...
Zaphiel Posted November 24, 2022 Author Share Posted November 24, 2022 On 11/23/2022 at 3:09 AM, Kell said: Could you add a panel indicating the status of the server and online players so that users could see it? Hey, I am not planning to display online players honestly. Because only way to display that is via using bot's "Playing" status. And I highly doubt people even search the bot in member list to see online players. Maybe a command can be added to public commands. Regardless, I need a log watcher system to do this which is in my todo list. But I don't know when I will start working on it. Link to comment Share on other sites More sharing options...
Z Z Posted December 26, 2022 Share Posted December 26, 2022 great bot! Zaphiel 1 Link to comment Share on other sites More sharing options...
Zaphiel Posted January 15, 2023 Author Share Posted January 15, 2023 Hey everyone. I have added localization system a few weeks ago. If you are interested in translating bot, you can check it out from here. You can see available languages using !localization command. Link to comment Share on other sites More sharing options...
BeEatNU Posted February 19, 2023 Share Posted February 19, 2023 man would love for this to come out for linux. I have the server as a service so it helps but anything within discord like this would be great Link to comment Share on other sites More sharing options...
Varlonec Posted April 6, 2023 Share Posted April 6, 2023 (edited) Hello. If you can, solve the problem. When the server is stopped, so that the window closes PZServerDiscordBot.exe Edited April 10, 2023 by Varlonec Link to comment Share on other sites More sharing options...
sugarfreefanta Posted August 7, 2023 Share Posted August 7, 2023 is this still in active dev? Link to comment Share on other sites More sharing options...
sugarfreefanta Posted August 7, 2023 Share Posted August 7, 2023 37 minutes ago, sugarfreefanta said: is this still in active dev? seems to be working great! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now