I used to play on a minecraft modded server with a lot of modpacks but they had a protection that they had a list of approved mods. Lets say that i have a vanilla server and i want that players can enter with Forge, and allow mods like: Optifine, Shaders, Armor Status, Replay Mod, but dont allow mods like XRay and mods like that.
I made a plugin that blocks the use of the world downloader mod, can be bypassed of course, but it's not that easy. The plugin detects if someone send the packet "I'm downloading your world!" and denies it. I thought this could be useful for someone, lol
I really think that it's Mojang who needs to add this. They should let a server analyze someone's game version jar.
@dvargas135 Shouldn't the World Downloader just intercept the data the client receives and save it? I don't know how you could block that. Or do I mix something up there?
@Mouro001 The big problem with anything of this sort is that it boils down to data being sent between client and server. Any data that goes out can be intercepted, any data that comes in can be spoofed. The system is completely cheatable no matter how you make it.
for example that screenshot i send was on a server. a minecraft modded server, and they have a list with approved mods. if mod Y isn't on that list you can't enter. i don't think i am allowed to advertise.
@Mouro001 Yes, but do you know how they know that mod Y isn't on your computer? By the server sending your client a request for a mod list, and Forge receiving the request and sending a response with your mod list. Any hack can intercept the request and send a false response.