Minecraft – Is it possible to prevent players from using hacks on a vanilla server

minecraft-java-editionminecraft-java-edition-server

I host a Vanilla (unmodded) Minecraft server, but often find that people are digging straight towards diamonds or instantly killing players with hacking clients.

Is there a way to prevent people from hacking in a vanilla server, or must I use modifications?

Best Answer

The vanilla server is exactly what it is and has no features to prevent these wallhacks and exploits. Your only tools in vanilla are player bans and kicks after people misbehave, or using the whitelist.

To automatically prevent or even detect these exploits you need to be running a modified server. There are many, many anti-cheat plugins for Bukkit, for example.