Minecraft

How to Enable Hardcore Mode on a Minecraft Server

One life, hard difficulty, spectator after death. Turning it on takes one line, but only if you do it before the world exists.

TheGameHosting Team 4 min read
Turn On Hardcore Mode in Minecraft
Background: Minecraft © Mojang Studios

To make a hardcore Minecraft server, set hardcore=true in server.properties and let the server create a new world with it. Hardcore is stored inside the world when it is generated, so flipping the setting on an old world is not the way to do it. Point level-name at a new folder, restart, and every player gets one life on hard difficulty.

What hardcore mode changes on a server

According to the Minecraft Wiki, hardcore is a variant of survival where the world is locked to hard difficulty and players cannot respawn after dying. On a server it works like this:

ThingWhat happens
DifficultyLocked to hard; the difficulty setting is ignored
DeathNo respawn: the player becomes a spectator (or quits to the title screen)
Who plays hardcoreEveryone on that world; you cannot mix hardcore and normal players
HeartsPlayers see the hardcore heart design
Ban on deathNo. That old behavior was removed in Java 1.15
OperatorsCan still use commands, including /gamemode to bring someone back

The wiki also notes that hardcore belongs to the world, not to players: the flag is saved in the world's level.dat. That detail drives the whole setup.

Why you need a new world

The Minecraft Wiki describes hardcore in server.properties as “whether to enable hardcore mode on created worlds”, and says hardcore cannot be enabled or disabled for existing worlds. So the line has to be there when the server generates the world. You have two clean options:

  • New world: change level-name to a new folder name so the server generates a fresh hardcore world. Your old world stays where it is.
  • Upload a hardcore world: create a hardcore world in single player, then upload its folder to the server. The wiki lists this as the way servers can use an existing hardcore world.

How to set up a hardcore Minecraft server step by step

  1. Back up your current world. On TheGameHosting, open the Backups tab and create one.
  2. Stop the server from the Console tab.
  3. Open server.properties in the Files tab.
  4. Set hardcore=true.
  5. Change level-name to a new name such as world_hardcore. If you uploaded a single-player hardcore world instead, set level-name to that folder's name.
  6. Save, start the server and join. Check that your hearts show the hardcore design and that F3 shows hard difficulty.
  7. Before opening it to everyone, turn on the whitelist so only your group plays the run.
server.properties
hardcore=true
level-name=world_hardcore
white-list=true

The hardcore line is a Java Edition setting; Bedrock Dedicated Server does not list it in its server.properties, so this guide is only about Java.

What to do when someone dies

In hardcore the dead player is put into spectator mode. They can fly around and watch, but not touch anything. Many groups keep it that way: that is the point of hardcore. But on a friends server you decide the rules, and an operator can bring a player back:

Server console
gamemode survival PlayerName
tp PlayerName 0 80 0

Agree on this before the run starts. A common house rule is “one revive per player per season” or “revive only after a boss fight”. If you are not an operator yet, see how to OP yourself on a Minecraft server.

Need the opposite, a forgiving world? The keep inventory guide covers the game rule that stops item loss on death. You can even run both worlds, one hardcore and one relaxed, by switching level-name.

Make it even harder: UHC-style rules

Hardcore already means one life and hard difficulty. Some groups go further and copy the “ultra hardcore” idea, where health does not come back on its own and you only heal with golden apples, potions and similar items. That is a game rule, not a separate mode:

Server console
gamerule natural_health_regeneration false

That name is for Minecraft 1.21.11 and newer; on older versions the rule was naturalRegeneration. Healing from food items like golden apples and from potions still works. On Paper, game rules are kept per world, so if you want the rule in the Nether and the End too, run it once in each dimension with execute in minecraft:the_nether run …. Test it before the run starts, with a few points of damage and a full hunger bar: health should stay where it is.

Tips for a hardcore SMP

  • Lag kills. A lag spike during a fight is a death you cannot undo. Pre-generate the area and keep the server on a fast CPU; our lag fix guide lists the usual causes.
  • Backups are for disasters, not for deaths. Restoring a backup rolls back everyone. Keep them for corruption or griefing, and say so in the rules.
  • Keep the group closed. One troll with TNT can end a run. Use the whitelist.
  • Restarting the run. When everyone is dead, change level-name again for a new world (season 2) and keep the old one as a memory.

Run your hardcore SMP on TheGameHosting

Hardcore punishes lag more than any other mode. A TheGameHosting Minecraft server runs on AMD Ryzen 9950X and 7950X3D CPUs up to 5.7 GHz with DDR5 and NVMe, plus DDoS protection, in Dallas or Amsterdam (switch with the Location Changer to be closer to your group). Edit server.properties in the Files tab, keep each season in Backups, and give a co-admin access with Users. It is ready about 60 seconds after payment and online 24/7. See plans and pricing and use FULL2026 for 15% off for life.

FAQ

Can I turn hardcore on for my existing server world?

Not cleanly. Hardcore is set when the world is created and saved in level.dat. Generate a new world with hardcore=true and a new level-name, or upload a hardcore world from single player.

Do players get banned when they die in hardcore?

No. Since Java 1.15 there is no ban on death. Dead players become spectators and can keep watching.

How do I revive a player on a hardcore server?

As an operator, run gamemode survival PlayerName in the console, then teleport them somewhere safe.

Can I change the difficulty on a hardcore server?

No. Hardcore locks the world to hard difficulty and ignores the difficulty setting.

Hosting for these games

Written by TheGameHosting Team, the people who run our servers in Dallas and Amsterdam and answer your tickets.

All posts