boomboompower / SkinChanger

The SkinChanger mod, a simple forge mod designed to implement in-game dynamic skin and cape switching
https://no.boomy.wtf/?name=SkinChanger
Other
15 stars 3 forks source link

Internal mod integrity verification #25

Closed boomboompower closed 4 years ago

boomboompower commented 4 years ago

Brief Summary: Releases of SkinChanger will have jar file verification for official releases, this is part of the new Apagoge updater.

Usage: N/A - End users will not see this change

Justification: Proves a release is official and hasn't been tampered with. I don't want people bundling cheats within the mod and distributing it as an official binary. Yes, they can modify and remove the checks, however this will cause the updater to be non-functional, and will be an easy validator for a modified JAR when screensharing. Just check if the methods exist and check the integrity of the jar.

Steps: Verification has a few steps

If any of these fail the mod will simply be detected as unofficial, currently this means the updater terminates and doesn't bother update checking. More expansion in the future???