Anuken / Mindustry-Suggestions

Repository for Mindustry suggestions and feedback
125 stars 57 forks source link

Java Modding Advice #5086

Open Benny0Li opened 1 week ago

Benny0Li commented 1 week ago

Describe what you would like changed, and why.

If the mod loading is failed, Mindustry will skip it and it won't be show in Mod Lists. And the terminal said[E] Failed to load mod file xxx Skipping. Nobody will know the mod is still there.If you load the mod again, in Mod Folder,it will seems like:

xxx1.zip xxx2.zip xxx3.zip xxx4.zip ....

Because the name of the mod(in mod.json or mod.hjson) is same, Mindustry will load modxxx1.zip, not the bug-fixed mod xxxN.zip

That's really annoying because nobody will know the wrong mod is always there and the right mod couldn't be load at all.

Describe the changes you want to propose. Include possible alternatives.

Could add popout box witch says "BUG MOD HAS BEEN SKIPPED REMEMBER TO DELETE IT IN MOD FOLDER"