NewCraftRank SitesA free website and storeMake yours ›
AshlarFree server software built on Paper, with DDoS and backdoor protection See Ashlar ›Security RadarA free check of your server's login, anti-bot and proxy settings, only with your OK See how it works ›CommunityAsk questions, share builds and find people to play with Join the forum ›

GuideMinecraft commands cheat sheet (Java 26.x and Bedrock): /give, /tp, /gamemode, /locate and more

Redux··0 replies·0 views·General discussion

Redux
Staff
Joined
Oct 12, 2026
Messages
37
Reaction score
0
#1
The commands people search for most, ready to copy. Cheats must be on (single player: "Allow Cheats"; server: you need operator). @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 peaceful

Items 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
/setworldspawn

Finding things

/locate structure minecraft:village_plains
/locate structure minecraft:ancient_city
/locate biome minecraft:cherry_grove
/seed

On 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:air

Gamerules

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.

Join the conversation

Log in or create a free account to reply.

Log in Register

Similar threads