Minecraft

Minecraft Command Generator

Generate common Minecraft commands for gamemode, teleport, give item, weather, time, difficulty, effects, gamerules, and server administration.

Pick a command category, configure it, and generate.

Command reference

  • gamemode <mode> [target]Java + Bedrock

    Changes the gamemode of a player.

  • tp [target] <destination>Java + Bedrock

    Teleports a player or entity.

  • give <target> <item> [amount]Java + Bedrock

    Gives an item to a player.

  • effect give <target> <effect> [seconds] [amplifier] [hideParticles]Java + Bedrock

    Applies a status effect.

  • weather <clear|rain|thunder> [duration]Java + Bedrock

    Sets the weather.

  • time set <value|day|night>Java + Bedrock

    Sets the world time.

  • difficulty <peaceful|easy|normal|hard>Java + Bedrock

    Sets the game difficulty.

  • gamerule <rule> [value]Java + Bedrock

    Sets or queries a gamerule.

  • kill [target]Java + Bedrock

    Kills entities.

  • clear [target] [item]Java + Bedrock

    Clears inventory items.

  • spawnpoint [target] [pos]Java + Bedrock

    Sets spawn point.

  • setworldspawn [pos]Java + Bedrock

    Sets world spawn.

  • seedJava + Bedrock

    Shows the world seed.

  • listJava + Bedrock

    Lists online players.

  • say <message>Java + Bedrock

    Broadcasts a server message.

  • me <action>Java

    Describes an action in chat.

  • whitelist add <player>Java

    Adds a player to the whitelist.

  • whitelist remove <player>Java

    Removes a player from the whitelist.

  • op <player>Java

    Grants operator status.

  • deop <player>Java

    Removes operator status.

  • ban <player> [reason]Java + Bedrock

    Permanently bans a player.

  • pardon <player>Java + Bedrock

    Unbans a player.

  • kick <player> [reason]Java + Bedrock

    Kicks a player from the server.

  • enchant <target> <enchantment> [level]Java

    Enchants an item.

  • xp <amount> [target]Java + Bedrock

    Gives experience points.

How to use it

  • Enter a player target name or leave it as @p.
  • Choose Server Console or In-Game (/) mode depending on where you will run the command.
  • Select your Minecraft edition for edition-specific syntax.
  • Pick a command category and fill in the options.
  • Click Generate Command and copy the result.

FAQ

What is the difference between console and in-game mode?

Console mode generates commands without a forward slash, for pasting into your server terminal or control panel. In-game mode adds the <code className="rounded bg-slate-900 px-1.5 py-0.5 font-mono text-xs text-indigo-300">/</code> prefix for Minecraft chat.

Does this tool work for both Java and Bedrock Edition?

Yes. Select your edition from the dropdown. The generator adapts basic command syntax. Note that some advanced commands are edition-specific.

What if I do not enter a player name?

The tool defaults to <code className="rounded bg-slate-900 px-1.5 py-0.5 font-mono text-xs text-indigo-300">@p</code> (nearest player) when no name is entered. This is useful for commands you run while standing near the target.

Can I use these commands on any server?

You need operator (op) permissions on the server to run most commands. Some servers use plugins that may change command syntax.

Why is my command not working?

Check that you have operator permissions, that the player name is correct, and that the command syntax matches your server software (Bukkit, Spigot, Paper, etc.). Test commands in a safe area first.

Is this tool free to use?

Yes, completely free. No login, no sign-up, no hidden costs. Built by QUESTPAUSE.

Related tools

Running a server long-term?

QUESTPAUSE runs modded Project Zomboid and Valheim worlds with real onboarding and admin workflows. The community is on Discord.

Join Discord