← All guides

How to Make a Hardcore Minecraft Server (One Life for Everyone)

Updated December 2, 2026 · 6 min read

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.

Short answer
Stop the server, set 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.

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

  1. Stop the server.
  2. Open server.properties in your server's root folder. If you're not sure what the other lines do, see server.properties explained.
  3. Find this line and change it:
hardcore=true
  1. 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

  1. The player sees the hardcore death screen. There is no Respawn button.
  2. They pick the option to spectate the world.
  3. 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:

  1. Make sure you're an op. If not, op yourself from the server console with op YourName.
  2. 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
  1. 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

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

We use cookies for analytics & ads to measure how our site performs. Essential cookies always run. See our Privacy Policy.