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 + BedrockChanges the gamemode of a player.
tp [target] <destination>Java + BedrockTeleports a player or entity.
give <target> <item> [amount]Java + BedrockGives an item to a player.
effect give <target> <effect> [seconds] [amplifier] [hideParticles]Java + BedrockApplies a status effect.
weather <clear|rain|thunder> [duration]Java + BedrockSets the weather.
time set <value|day|night>Java + BedrockSets the world time.
difficulty <peaceful|easy|normal|hard>Java + BedrockSets the game difficulty.
gamerule <rule> [value]Java + BedrockSets or queries a gamerule.
kill [target]Java + BedrockKills entities.
clear [target] [item]Java + BedrockClears inventory items.
spawnpoint [target] [pos]Java + BedrockSets spawn point.
setworldspawn [pos]Java + BedrockSets world spawn.
seedJava + BedrockShows the world seed.
listJava + BedrockLists online players.
say <message>Java + BedrockBroadcasts a server message.
me <action>JavaDescribes an action in chat.
whitelist add <player>JavaAdds a player to the whitelist.
whitelist remove <player>JavaRemoves a player from the whitelist.
op <player>JavaGrants operator status.
deop <player>JavaRemoves operator status.
ban <player> [reason]Java + BedrockPermanently bans a player.
pardon <player>Java + BedrockUnbans a player.
kick <player> [reason]Java + BedrockKicks a player from the server.
enchant <target> <enchantment> [level]JavaEnchants an item.
xp <amount> [target]Java + BedrockGives 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
Minecraft Whitelist Command Generator
Generate whitelist, op, deop, ban, pardon, and kick commands for Minecraft servers.
Minecraft
Minecraft server.properties Generator
Generate clean server.properties settings for Minecraft Java servers, including survival SMPs, whitelist servers, PvE worlds, and private servers.
Minecraft
Running a server long-term?
QUESTPAUSE runs modded Project Zomboid and Valheim worlds with real onboarding and admin workflows. The community is on Discord.