In this tutorial we will show you how to disable mobs from spawning on your Minecraft Server using a gamerule command. This is useful for creative build servers or maps that don't require mob spawning.

  1. Head over to your server Console or enter into your Minecraft Server.
  2. Enter the command /gamerule doMobSpawning false (ensuring to keep the upper case letters). This'll prevent all mobs from spawning on your server. If you want to revert this, do /gamerule doMobSpawning true. Please note that these commands are case sensitive.
    Entering the doMobSpawning gamerule command on a Minecraft server
  3. That's it! You'll now be able to venture out at night without having to worry about anything creeping up behind you!
    Screenshot of no mobs spawning at night in a Minecraft server

If you're still having problems disabling mob spawning, feel free to contact our support team at https://serverminer.com/contact and we will happily help you resolve the issue!

Happy mining! ⛏️