How do I make my Minecraft server hardcore?
How to enable hardcore on your Minecraft server in server.properties, and how to let a player play again after dying.
By Yvan Watchman Updated
You make your Minecraft server hardcore by setting hardcore=true in server.properties. In hardcore the difficulty is locked to the hardest setting, and when you die you become a spectator: you can no longer play in that world.
Note
Hardcore applies to a newly created world. If you enable it on an existing world, it may not work fully. Start with a new world; make a backup first if you want to keep the old one.
Enable hardcore
- Log in to the game panel, open your server and stop it with Stop.
- Go to Files and open
server.properties. - Find the line
hardcore=falseand change it to:
hardcore=true
- Click Save Content.
- For a new world, delete the world folders in Files. See How do I reset my Minecraft server's world?
- Start your server with Start.
Check
Join your server. In hardcore your hearts look different, and you can no longer change the difficulty in the pause menu.
Let a player play again after dying
If a player has died and you want them back, type in the console:
gamemode survival <playername>
Turn hardcore off again
Change hardcore=true back to false and restart your server.
Did this article help you?
Related articles
How do I change the Java version of my Minecraft server?
Every Minecraft version needs its own Java version. This is how you choose the right Java version for your Minecraft server in the game panel.
How do I set up a play. address for my Minecraft server?
How to give your Minecraft server an easy address: a subdomain in the game panel, or play.yourdomain.com with an SRV record on your own domain.
How do I install mods on my Minecraft server?
How to install mods on your Minecraft server: switch your server to Fabric in the client portal, add Fabric API and upload your mods.
How do I install a modpack on my Minecraft server?
How to put a modpack on your Minecraft server with the modpack installer in the game panel: CurseForge, Modrinth, Feed The Beast and more.