Skip to main content

/difficulty

Sets or queries the game difficulty. Affects mob spawning, damage, hunger mechanics, and other gameplay aspects.

Category
Gameplay
Permission Level
Game Master
Version Added
1.0

Syntax

/difficulty [<difficulty>]

Parameters

NameTypeRequiredDescription
difficultydifficultyOptionalThe difficulty to set: peaceful, easy, normal, or hard. If omitted, displays the current difficulty.

Examples

/difficulty hard

Sets the world difficulty to hard.

/difficulty peaceful

Sets the difficulty to peaceful, removing all hostile mobs.

/difficulty

Displays the current difficulty setting.

Common Mistakes

Notes

Difficulty affects mob spawning, damage, hunger drain, and whether mobs can break doors (hard only). On hard difficulty, zombies can break wooden doors and spiders can spawn with status effects.

Related Commands

Need a Minecraft server?

Try these commands on Astroworld or host your own server.

Try Astroworld Hosting