I'm making a Minecraft server for my friends and I, but one of them is a notorious X-Rayer. I came up with a way to stop him: hide the ore blocks (by turning them into stone/netherrack), then turn them back when a player is nearby. I thought about ways to do this, but I cannot think of a solution. Is there any way to do this?
Minecraft 1.16: how to toggle/hide ore blocks
minecraft-java-editionminecraft-java-edition-server
Related Topic
- Minecraft – How to determine which hopper the user clicked in Minecraft with command blocks
- Minecraft Command Blocks – How to Create a Rain of Arrows in Vanilla Minecraft
- Minecraft – How to run a for loop in Minecraft using command blocks
- Minecraft Java Edition – Do Converted Zombie Villagers Need a Nametag in Minecraft Java Edition?
- Minecraft java 1.13.2 – cannot interact with blocks | chunks doesnt load | chat is ok however | spawn protect is 0
- Minecraft server ping-status by powershell
- Minecraft – how to change the world directory in a minecraft server
Best Answer
Unfortunately this won't be reasonably doable with vanilla Minecraft. You'll need a modded server, with Forge or Bukkit.
If you use a Bukkit server, you'll be able to use the Orebfuscator plugin to do this for you. For versions newer than 1.13, there's a third-party updated version available on GitHub.