How to Make a Hardcore Minecraft Server (One Life for Everyone)
Hardcore is Minecraft's one-life mode: difficulty is stuck on Hard, and when you die, you're out. In singleplayer it's a checkbox. On a server it takes one line in a config file, plus one detail that catches almost everyone: it only works on a brand-new world.
hardcore=true in server.properties, then generate a new world (delete the old world folder or change level-name) and start the server. The setting only applies when a world is created. Difficulty is locked to Hard. When a player dies they can only spectate. An op can bring them back with /gamemode survival <player>.How hardcore works on a multiplayer server
On a hardcore server, the rules are the same for everyone. You can't have some players on hardcore and others on normal survival in the same world.
- Difficulty is locked to Hard. The
difficultyline inserver.propertiesis ignored, and the world stays on Hard. - Players see hardcore hearts, the ones with the little eyes, so everyone knows what's at stake.
- No respawn button. When a player dies, the death screen has no Respawn option. Instead they can choose to spectate the world, which puts them in Spectator mode at the world spawn.
- Spectators can fly through blocks and watch, but they can't break, place, attack or pick anything up.
- The world keeps going. Unlike singleplayer, the server doesn't delete anything. Other players keep playing.
Very old versions used to ban players on death. That was removed years ago. Modern servers just switch the dead player to spectator.
Step 1: Set hardcore=true
- Stop the server.
- Open
server.propertiesin your server's root folder. If you're not sure what the other lines do, see server.properties explained. - Find this line and change it:
hardcore=true
- Save the file.
You don't need to change difficulty. Hardcore forces Hard no matter what that line says.
Step 2: Generate a new world
This is the part people miss. The wiki describes hardcore as applying to created worlds. When a world is made, the hardcore flag is saved inside that world's level.dat file. After that, the server reads the flag from the world, not from server.properties.
So if you flip hardcore=true on a server that already has a world, nothing changes. Players still respawn as normal.
You have two ways to get a fresh hardcore world:
| Option | How | What happens to the old world |
|---|---|---|
| Delete the world | Stop the server, delete the world folder (and world_nether, world_the_end on Paper or Spigot) |
Gone, so back it up first |
| Change level-name | Set level-name=hardcore in server.properties |
Kept in its own folder, the server just loads the new one |
Changing level-name is the safer choice because you can switch back any time. For the full walkthrough, see how to reset a Minecraft world on a server.
Then start the server. When you join, you should see the hardcore hearts. If you see normal hearts, the server loaded an old world.
Can I turn an existing world into hardcore?
Not from server.properties. The only way is editing the hardcore value inside the world's level.dat with an NBT editor (1 for on, 0 for off), with the server stopped. It works, but it's easy to damage the file, so make a backup first. For most groups, starting a fresh world is simpler and more fun anyway.
The same goes the other way: once a world is hardcore, setting hardcore=false won't turn it off.
What happens when a player dies
- The player sees the hardcore death screen. There is no Respawn button.
- They pick the option to spectate the world.
- They become a spectator at the world spawn. Their items and XP dropped where they died, like a normal death.
If they disconnect at the death screen and rejoin later, they're still dead. Nothing resets on its own.
Spectators still load chunks around them by default. If you have a lot of dead players flying around exploring and your server starts to struggle, you can stop them from generating new terrain with:
/gamerule spectators_generate_chunks false
That's the 26.x name. On 1.21.x and older it's spectatorsGenerateChunks.
How to bring a dead player back
Hardcore only stops the player from respawning. A server operator can still change anyone's game mode. To revive a player:
- Make sure you're an op. If not, op yourself from the server console with
op YourName. - Move them somewhere safe first, because they'll come back exactly where they're floating. If a spectator is inside a wall, switching them to survival will suffocate them.
/tp Steve 0 80 0
- Switch them back to survival:
/gamemode survival Steve
They come back with full health. Unless you use keep inventory, their inventory is empty: their old items are wherever they died, if they haven't despawned (dropped items despawn after 5 minutes in loaded chunks).
You can also run these from the server console without the leading slash.
It is up to your group if you allow revives. Some hardcore SMPs never revive anyone. Others let a dead player back after a set time, or after the group completes a challenge.
Tips for a hardcore SMP with friends
- Agree on revive rules before you start. "Nobody comes back" and "one revive per week" are both fine, but argue about it on day one, not after your friend falls in lava.
- Make a backup right after the world is created, and keep backups going. A hardcore world is just as easy to corrupt as any other, and a crash is not a fair death. See how to back up your Minecraft server.
- Turn on the whitelist. A stranger who joins and burns down a base hurts more when nobody can respawn.
- Keep the server smooth. Lag spikes kill hardcore players. A rubber-band into a ravine or a creeper that freezes in place is a cheap death. If TPS drops, read why your server is lagging.
- Think twice about keep inventory. It works on hardcore, and it means a revived player comes back with all their gear. That's handy if you allow revives, but it takes away a lot of the risk.
- Plan a "graveyard." Dead players in spectator can still hang out, watch fights and give advice in chat. Some groups build a memorial for each fallen player.
- Think about the Nether early. Ghasts, lava and Piglin brutes take more hardcore lives than anything in the Overworld. Bring fire resistance.
For more general setup like plugins, rules and inviting people, see how to make a Minecraft SMP.
Quick troubleshooting
| Problem | Cause | Fix |
|---|---|---|
Normal hearts after setting hardcore=true |
Old world still loaded | Generate a new world or change level-name |
| Can't change difficulty | Hardcore locks it to Hard | Working as intended |
| Dead player died again instantly after revive | Revived inside a block or in lava | Teleport them to a safe spot first |
| Dead player has no Respawn button | That's hardcore | Op uses /gamemode survival <player> |
On FreaksMC you can edit server.properties from the panel's Files tab and take a backup from the Backups tab before you reset the world.
Want a server that just runs fast?
FreaksMC servers run on AMD Ryzen 9 7950X3D processors with fast NVMe storage. Pick vanilla, Paper or a modpack and your server is ready in minutes.
See plans from $4/mo