← All guides
FreaksMC Guides

How to Change Gamemode and Difficulty on a Minecraft Server

Updated September 25, 2026 · 4 min read

Whether you want a survival SMP, a creative build server, or you just need to bump the difficulty up to Hard, Minecraft gives you two ways to control gamemode and difficulty: the server.properties file (the defaults everyone gets) and in-game commands (live changes, including per-player). This guide covers both and explains when to use each.

Short answer
For server-wide defaults, edit server.properties: set gamemode=survival (or creative/adventure/spectator) and difficulty=hard (or peaceful/easy/normal), then restart. For live changes, use /gamemode creative PlayerName for one player and /difficulty hard for the whole world. Both need operator (OP) permission.

The two ways to set it

You need to be an operator to run these commands. If you're not opped yet, do that first through your panel console or the ops list.

Change the default gamemode in server.properties

Open server.properties and find these lines:

gamemode=survival
force-gamemode=false

On FreaksMC, you don't need command-line access. Open the file manager in your panel, click server.properties, edit these values in the browser, save, and hit Restart.

Change the default difficulty in server.properties

In the same file:

difficulty=easy
hardcore=false

Save and restart to apply.

Change gamemode live with commands

Run these in the in-game chat or in your panel's live console:

/gamemode creative
/gamemode survival Steve
/gamemode adventure @a

Modes: survival, creative, adventure (can't break/place blocks without the right tools - good for maps), and spectator (fly through blocks, no interaction).

Per-player vs default: commands only affect players who are online right now and don't touch the server.properties default. So a temporary /gamemode creative won't stick after a restart unless force-gamemode is off and the player was in creative when they logged off.

Change difficulty live with commands

/difficulty hard

This changes the whole world's difficulty immediately, no restart. Options are peaceful, easy, normal, hard. There's no per-player difficulty - it's world-wide.

Note: you can't turn hardcore on or off with a command. hardcore is a server.properties setting that's read when the world is created, so it's effectively locked in for that world.

Which should you use?

Common gotchas

Running your own server means you get full control over server.properties and a live console for commands - no waiting on a host. FreaksMC gives you both on every plan. See plans from $3/mo - first-time purchases come with a 24-hour money-back guarantee.

Want a server that just runs fast?

FreaksMC runs on NVMe hardware with performance-tuned defaults baked in - pre-optimized Paper, sane view distances, and one-click world pre-generation. Set up in 60 seconds.

See plans from $3/mo

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