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 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.
How do I change the version of my Minecraft server?
How to switch Minecraft version or server type through the Reinstall tab in the client portal. Your world and plugins stay in place.
Why can't I connect to my Minecraft server?
Cannot connect to your Minecraft server? Go through the most common causes: server off, wrong address, different version, whitelist or mods.