DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run Scan×
Skip to content
VGSources
Blog

How to Set Minecraft to Peaceful Using Commands

Use /difficulty peaceful in Minecraft chat to set the world’s difficulty to Peaceful. If commands are unavailable, check the edition-specific access settings and multiplayer permissions.
Length1 min Posted Quest giverVGSources Team
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Enter /difficulty peaceful in Minecraft chat and submit it. Peaceful is a difficulty setting, not a game mode, so use the /difficulty command rather than /gamemode.

Set the difficulty with a command

  1. Open the chat or command entry area.

  2. Type /difficulty peaceful and submit it. Minecraft’s command guide explains that commands entered in chat begin with a forward slash and lists peaceful as an argument for /difficulty. See Minecraft’s official command guide.

If the command is unavailable

You need permission to use commands. The setting to enable that permission depends on the edition and whether you are playing alone or on a server.

Bedrock single-player

Open the world’s Game settings and turn on Allow Cheats. Be aware that enabling cheats permanently prevents achievement unlocking in that world, even if you later turn cheats off. Minecraft documents this consequence in its command guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Minecraft - Nintendo Switch
  • Minecraft is a game about placing blocks and going on adventures
  • Explore randomly generated worlds and build amazing things from the simplest of homes to the grandest of castles
  • Play in creative mode with unlimited resources or mine deep into the world in survival mode, crafting weapons and armor to fend off the dangerous mobs
  • Play on the go in handheld or tabletop modes
  • Includes Super Mario Mash-Up, Natural Texture Pack, Biome Settlers Skin Pack, Battle & Beasts Skin Pack, Campfire Tales Skin Pack; Compatible with Nintendo Switch only

Java single-player

When creating a world, enable Allow Commands. For an existing world, use the option to allow commands in World Options.

Multiplayer

You need a sufficiently high permission level to run commands. On someone else’s server, ask the owner or administrator to grant the required access.

Rank #2
Minecraft: Switch Edition
  • Explore randomly-generated worlds and build amazing things from the simplest of homes to the grandest of castles
  • Play in Creative Mode with unlimited resources or mine deep into the world in survival mode, crafting weapons and armour to fend off the dangerous mobs

If Minecraft rejects the command

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What changing to Peaceful can affect

Peaceful is a difficulty setting, and game activities may depend on the selected difficulty. For example, a Minecraft Education lesson notes that a particular zombie-pig activity will not work on Peaceful. That example applies to the lesson’s activity; it is not a complete account of all Peaceful behavior. See the Minecraft Education lesson support PDF.

Quick Recap

Bestseller No. 1
Minecraft - Nintendo Switch
Minecraft - Nintendo Switch
Minecraft is a game about placing blocks and going on adventures; Play on the go in handheld or tabletop modes
$29.83
Bestseller No. 2
Bestseller No. 3
Minecraft - Nintendo Switch [Digital Code]
Minecraft - Nintendo Switch [Digital Code]
Minecraft is a game about placing blocks and going on adventures; Play on the go in handheld or tabletop modes
$29.88
Bestseller No. 4
Bestseller No. 5

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More quests from Patch Notes

  1. How To Create Custom Stickers & Shoutouts In Monster Hunter WildsMonster Hunter WildsBlog20min
  2. How to Get XL Gogoat in Pokemon Legends Z-A (An Extra-Large Gogoat)Pokemon Legends Z-ABlog20min
  3. How to Get Rotting Lightbringer in Diablo 4Diablo 4Blog17min
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.