GameAIWiki
マインクラフト
マインクラフト

Minecraft Command Guide — Essential Commands for Survival and Admin

初心者向けUpdated: May 19, 2026日本語版 →

Minecraft Command Guide — Essential Commands for Survival and Admin

Enabling Cheats

Singleplayer: Create world with "Allow Cheats" ON, or toggle with F3+F4

Server: Set op-permission-level=4 in server.properties, run /op [username]

Essential Commands

Teleportation

Command Effect
/tp [player] [x] [y] [z] Teleport to coordinates
/tp [player1] [player2] Teleport player to player
/home (requires plugin) Return to set home

World

Command Effect
/time set day Set time to day
/time set night Set time to night
/weather clear Clear weather
/weather rain Start rain

Game Settings

Command Effect
/gamemode survival Set to survival
/gamemode creative Set to creative
/gamemode spectator Spectate mode
/difficulty peaceful No hostile mobs
/difficulty hard Hard mode

Items

Command Effect
/give [player] [item] [amount] Give item
/clear Clear your inventory

Example: /give @s diamond 64 — gives yourself 64 diamonds

Player

Command Effect
/xp add @s 1000 points Add XP
/effect give @s strength 60 2 Apply Strength II for 60s
/kill @s Kill yourself (useful for fast respawn)

Structure Finding

Command Effect
/locate structure village Find nearest village
/locate structure stronghold Find end portal
/locate structure mineshaft Find mineshaft
/locate structure monument Find ocean monument

Selector Targets

  • @s = yourself
  • @a = all players
  • @p = nearest player
  • @e = all entities
  • @r = random player

Useful Gamerules

Gamerule Effect
/gamerule keepInventory true Keep items on death
/gamerule doMobSpawning false Stop mob spawning
/gamerule doDaylightCycle false Freeze time
/gamerule randomTickSpeed 10 Faster crop growth

スクリーンショットをお持ちですか?投稿すると記事に反映されます。

jpg/png/webp・5MB以内

All マインクラフト guidesGuide Index →