How to stop players from going into the Nether?

How to stop players from going into the Nether? - Calm black nurse riding escalator in metro

I'm making an adventure map and players should not be allowed in the Nether.

There's a few things you have to understand:

  • Players have access to Flint and Steel.
  • Players can make a Nether portal by using a water and a lava bucket.
  • Players can go as far as they want, the map is endless so command blocks won't be effective when players walk too far.


Best Answer

Add the following code in your server.properties file:

allow-nether=false



Pictures about "How to stop players from going into the Nether?"

How to stop players from going into the Nether? - Person in Black Shirt and Black Pants Sitting on Brown and Blue Rug
How to stop players from going into the Nether? - Low angle of trendy black female adolescent leaning forward while demonstrating control gesture and looking at camera against lamps at night
How to stop players from going into the Nether? - Patient showing stop gesture in light clinic



How do you stop a nether portal from connecting?

Can creatures from the Nether come through a portal? Yes, they can. This now applies to all mob entities, including the Wither and Enderdragon bosses.



How to Unlink Nether Portals in Minecraft




More answers regarding how to stop players from going into the Nether?

Answer 2

The answer is pretty easy even if you don't want just to fill the while nether with air.
Use "Client consent to play fair". Basically it's that you prohibit going to the nether in the map rules and players must respect it.

Or use command blocks:

You will have to place and power this repeat command block right under the spawn to be always active. Put this inside:

 /execute @a ~ ~ ~ fill ~+1 ~+1 ~+1 ~-1 ~-1 ~-1 minecraft:air 0 replace minecraft:nether_portal

You can fiddle with the numbers a bit for the best result. If your world gets laggy, you can use a clock and a normal command block instead, or adding a command block with testforblock.

(thanks to skylinerw for the help)

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Laura James, cottonbro, SHVETS production, SHVETS production