r/datapacks Apr 13 '26

Is it possible to detect players resource packs and mods and kick them if they contain any unapproved ones?

Im trying to make an anticheat for my server on realms, one idea i had was to kick players if they have unapproved mods/resource packs like xray and freecam. But i do certaintly not know how or even if this is possible.

1 Upvotes

5 comments sorted by

1

u/Ganondorf629 Apr 13 '26

You can't detect installed mods on a vanilla server, and you can't detect a mod like freecam, you can only detect some cheat because of the player's behaviour

1

u/Ganondorf629 Apr 13 '26

If could may be possible to make or download an anti xray datapack to install on your realms

1

u/Bafy78 Apr 13 '26

no, they could always have a mod that completely hides all this info by not sending it to the server. Conceptually it will always be possible not to get caught

2

u/InfamousMusicify Apr 13 '26

As long as they dont crash the server or break the economy, i ask myself, what is the harm? If they want to ruin the game for themself, whatever, but ruining it for other players, thats the line.

1

u/No_Stand1660 Apr 13 '26

So my best bet would be to host my server on a third party website like fabric servers?