Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Option to disable update messages #52

Closed
1 task done
Tempest-5ky opened this issue Jun 30, 2022 · 9 comments
Closed
1 task done

[Enhancement] Option to disable update messages #52

Tempest-5ky opened this issue Jun 30, 2022 · 9 comments
Labels
enhancement New feature or request

Comments

@Tempest-5ky
Copy link

Checks

Description

Hello!
The mod sending an "update is available" message in the discord channel every time the server restarts is quite annoying, and an option to disable that in the configs would be greatly appreciated!
Updating to the newest version isn't always possible, especially because the newest release (in 1.18.2) is causing a server crash and deadlock for us.

@Tempest-5ky Tempest-5ky added the enhancement New feature or request label Jun 30, 2022
@Xujiayao
Copy link
Owner

Xujiayao commented Jul 1, 2022

Updating to the newest version isn't always possible, especially because the newest release (in 1.18.2) is causing a server crash and deadlock for us.

What crash and deadlock? Is it #55 ?

@Tempest-5ky
Copy link
Author

Tempest-5ky commented Jul 1, 2022 via email

@Xujiayao
Copy link
Owner

Xujiayao commented Jul 1, 2022

Then it has been fixed in latest build.

@Tempest-5ky
Copy link
Author

Tempest-5ky commented Jul 1, 2022 via email

@Xujiayao
Copy link
Owner

Xujiayao commented Jul 1, 2022

There was a similar issue (#22) considering that checking for updates was annoying, and it was possible to turn off admin notifications after that. Well, I still won't provide an option to turn off auto-checking for updates, as it is good practice to stay up to date, especially for a mod like MCDC, which is unstable and has frequent bug fixes.

However, I would change some logic:

@TypicalTropic
#54 (comment)

Our server host went down today and diagnosing it required restarting a couple of times and every time the server came up it posted the update.

Delay the check when starting the server by 1 hour. Enough time for you to diagnose with deleting MCDC config needed.

@Tempest-5ky
#52 (comment)

Especially if similar issues arise in the future.

@backanda
#54 (comment)

I restart the server once per day.

When MCDC found a new version update, the notification period would reduce to only once 48+ hours. The time is recorded in the config, so it is not sensitive to restarts. That would be enough time to fix crash issues and release a new version.


If you insist that you don't want to update, then I believe you have the ability to maintain MCDC and fix bugs yourself. Then please fork the repository yourself to delete the code about checking for updates :)

@secondfry
Copy link

Great mod, but:

If you insist that plugin should create messages vertically longer than computer screen including 2 embeds and untranslatable Chinese, can you at least make it so this messages would land into separate admin channel? Name it adminChannelId for example.

@secondfry
Copy link

secondfry commented Jul 1, 2022

Or lower the contents of update message to just one link without the embed, those who are interested would read changelogs themselves.

secondfry added a commit to secondfry/MCDiscordChat that referenced this issue Jul 1, 2022
secondfry added a commit to secondfry/MCDiscordChat that referenced this issue Jul 1, 2022
@Xujiayao
Copy link
Owner

Xujiayao commented Jul 1, 2022

Or lower the contents of update message to just one link without the embed, those who are interested would read changelogs themselves.

Good idea

secondfry added a commit to secondfry/MCDiscordChat that referenced this issue Jul 1, 2022
@Xujiayao Xujiayao changed the title [Enhancement] Option to disable update messages please! [Enhancement] Option to disable update messages Jul 1, 2022
secondfry added a commit to secondfry/MCDiscordChat that referenced this issue Jul 2, 2022
@Xujiayao Xujiayao closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2022
@Xujiayao Xujiayao added the wontfix [NP] This will not be worked on label Jul 10, 2022
@Xujiayao Xujiayao removed the wontfix [NP] This will not be worked on label May 14, 2024
@Xujiayao
Copy link
Owner

Xujiayao commented May 14, 2024

All issues re-examined:

Fixed in MCDC v2 stable release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants