The commands people search for most, ready to copy. Cheats must be on (single player: "Allow Cheats"; server: you need operator).
On Bedrock:
Which command do you use the most? Add your favourite one-liners below.
@s = yourself, @p = nearest player, @a = all players.Game mode and time
/gamemode creative
/gamemode survival
/gamemode spectator
/time set day
/time set night
/weather clear
/difficulty peacefulItems and XP
/give @s minecraft:diamond 64
/give @s minecraft:elytra
/enchant @s minecraft:sharpness 5
/xp add @s 30 levels/enchant only goes up to the normal max level and only on items that can take that enchantment.Moving around
/tp @s 100 64 -200
/tp Steve Alex
/spawnpoint
/setworldspawnFinding things
/locate structure minecraft:village_plains
/locate structure minecraft:ancient_city
/locate biome minecraft:cherry_grove
/seedOn Bedrock:
/locate structure village and /locate biome cherry_grove.Effects and cleanup
/effect give @s minecraft:night_vision infinite 0 true
/effect clear @s
/kill @e[type=minecraft:item]
/fill ~-5 ~ ~-5 ~5 ~3 ~5 minecraft:airGamerules
On Java 1.21.11+ the names changed:/gamerule keep_inventory true. Bedrock: /gamerule keepinventory true. Full list in the gamerules thread in Running a server.Which command do you use the most? Add your favourite one-liners below.
