In this guide, we will show you how to disable hostile mob spawning in your Minecraft server!
Disabling Mob Spawning on Your Minecraft Server
Step 1: Logging Into The Game Panel
To begin the process of disabling mob spawning on your Minecraft server, you first need to access the SimpleGameHosting Control Panel.
1. Open a new tab in your browser and navigate to panel.simplegamehosting.com.
2. Enter your login credentials in the provided field and click the Login button.
3. After logging in successfully, you’ll be taken to the Console tab for your server. If you have more than one server, you’ll first see a dashboard listing all your available servers. Just click on the one you want to manage.
Step 2: Disabling Mob Spawning
There are a couple of different ways to disable mob spawning on your Minecraft server, depending on how your server is set up. Below, we’ll walk you through the two most common methods.
Option 1: Using the Gamerule Command
This is the easiest and most flexible way to disable natural mob spawning. It can be done either through the server console or directly in-game.
👋Note: This command only affects natural mob spawning. Mobs from spawners, structures, or custom events may still appear.
To disable mob spawning:
1. Head to the Console tab in your control panel.
2. In the command box (located just next o the Start, Restart, and Stop buttons), type the following: gamerule doMobSpawning false
You can also run this command in-game. Just make sure you have (OP) Operator permissions to use commands and to add a "/" in front, like this: /gamerule doMobSpawning false
3. After entering the command, you should see a confirmation message in either the Console log or in-game chat, depending on where you entered it.
Option 2: Editing the server.properties File
If you prefer, you can also disable mob spawning by changing a setting in the server.properties file:
1. Go to the File Manager tab in your control panel.
2. Open the server.properties
file.
3. Find the line that says: spawn-monsters=true. Change it to: spawn-monsters=false
4. Click the Save Content button at the top right.
5. Head back to the Console tab and restart the server.
6. After restarting, log in to your server to confirm that mobs are no longer spawning. If it doesn’t seem to be working, double-check that you saved your changes and restarted the server.
⚡ Tip: If you’re having trouble with the
server.properties
method, we recommend using the gamerule command instead, as it tends to be more reliable and doesn’t require a restart.
If you need help, don't hesitate to reach out to our support team by submitting a Support Ticket or contacting us directly via LiveChat!