In this tutorial we will show you how to Disable the Insomnia mechanic on your server to prevent phantoms from spawning and attacking players who haven’t slept for 3 or more days.
- Head over to your server Console or enter into your Minecraft Server.
- Enter the command
/gamerule doInsomnia false
(ensuring to keep the upper case letters). This'll disable the insomnia mechanic, preventing phantom spawns. Similarily, do/gamerule doInsomnia true
to re-enable the insomnia mechanic. Please note that these commands are case sensitive.
- That's it! The Insomnia mechanic is now disabled and phantoms will no longer annoy your players through the night.
If you're still having problems disabling insomnia, feel free to contact our support team at https://serverminer.com/contact and we will happily help you resolve the issue!
Happy mining! ⛏️