egebilecen / PZServerDiscordBot

A Project Zomboid Discord Bot written in C# using Discord.NET to manage and execute commands on Project Zomboid Server.
GNU General Public License v3.0
67 stars 14 forks source link

Issue with workshop restart script #7

Closed realgdubz closed 1 year ago

realgdubz commented 1 year ago

Hey i just wanted to let you know on your beta version checking for workshop updates it works perfect for the first part when an addon update is detected, but after that it keeps thinking addon has been update and goes in an infinite restart loop.

egebilecen commented 1 year ago

Whoops. I can guess where the problem lies... Thanks! I will push a new update.

realgdubz commented 1 year ago

Thanks for the super fast reply thank you! I love your addon btw it makes managing my server so much easier when i'm away! Maybe in the future u can do an update to set roles for the restart server command because it would be nice to allow people to restart the server, but not get any of the other admin perks (for trusted players)

egebilecen commented 1 year ago

I did the quick update. New release is available in here. Let me know if issue still persists! Thanks.

Edit: I am glad you did like the bot :) Yeah, maybe in future, I can allow some commands to be executed by specific roles. Though, it would be a little hassle to setting commands one by one to roles.

realgdubz commented 1 year ago

Awesome thank you!

realgdubz commented 1 year ago

Looks like it worked I just woke up, and the server had, an update earlier and it did not boot loop it appears! Thank you so much again for this quick update :)

egebilecen commented 1 year ago

Perfect! You are welcome. :) I will leave this issue open for a few days in case of any error pops-up meanwhile.

egebilecen commented 1 year ago

Oh also, could you share your discord server link if it is not private? I would like to monitor public channel of bot for few days. I am planning to merge the beta version to main so I can be sure it works without any issues ^^

realgdubz commented 1 year ago

Sure, sorry for the late response I wanted to let you know everything looks like it has been working perfect, when you join shoot me a dm im DonJulio and i will give u perms to see the channel. https://discord.gg/GXCTpCaX

realgdubz commented 1 year ago

There have been two mod updates, and the server restarted both times without issues.