Minecraft Commands
Admin & Moderator Commands
Congratulations you have created server now its time to manage it and tell players who is "DA BOSS".
Moderator - Inside your Minecraft folder, there should be text document called "ops.txt". Open it with Notepad or with any text editor and inside enter your Minecraft name and save the document.
Administrator - Inside your Minecraft folder find or create new document called "admins.txt". Open it, enter your Minecraft name and save the document. You are now Administrator of the server. By doing this you will have access to all minecraft commands, you can find some below.
Commands | Description |
---|---|
ban [reason] |
Blacklists the name playername from the server so that they can no longer connect. |
ban-ip |
Blacklists an IP address so that all subsequent connections from it are rejected. |
banlist [ips] |
Displays the banlist. To display banned IP addresses, use the command "banlist ips". |
deop |
Revokes a player's operator status. |
kick [reason] |
Forcibly disconnects playername from the server, displaying an optional reason to them. |
list |
Shows the names of all currently-connected players (the same can be achieved when pressing tab). |
op |
Grants playername operator status on the server. |
pardon |
Removes playername from the blacklist, allowing them to connect again. |
pardon > |
Removes ip-address from the IP blacklist, allowing players from that IP address to connect to the server. |
save-all |
Forces the server to write all pending changes to the world to disk. |
save-off |
Disables the server writing to the world files. All changes will temporarily be queued. |
save-on |
Enables the server writing to the world files. This is the default behavior. |
stop |
Gracefully shuts down the server. |
whitelist |
Adds or removes playername from the whitelist. |
whitelist list |
Displays all players in the whitelist. |
whitelist |
Enables/disables the server's use of a whitelist. |
whitelist reload |
Reloads the list of playernames in white-list.txt from disk. |
Single Player Commands
You ever had a dream that you can rule your world ? Once you will install Single Player Commands MOD you will rule your world !
This MOD is simply a MUST HAVE for every player who wants to rule his/her world, also it will come handy when you are testing something on Multiplayer server with your friends.
Players can do lots of stuff like: Spawn Creepers, Give Damage to someone, health, world edit and much more.
Once you install this MOD type /help to see a full list of commands. Below you can find most used commands:
Commands | Description |
---|---|
/give <ITEMCODE|ITEMNAME> [QUANTITY] [DAMAGE] |
Gives player item, if quantity isn’t specified maximum amount of that item. |
/fly [ENABLE|DISABLE] |
Allows you to turn flying mode on/off. |
/heal |
Heals a player the specified number of points (2 per heart). |
/jump |
Moves you from where you are to where your mouse is pointing. |
/home |
Teleport to spawn point. |
/enchant |
Enchants the currently selected item. |
/setspawn [X Y Z] |
Set the current position as the spawn point, if X Y Z are specified sets that position as spawn point. |
/weather <lightning|thunder|rain[enable|disable]> |
Toggles weather effects on/off. |
/xp [player] OR /xp [player] - where L = level |
Changes player experience or experience level. |
/platform |
Creates a glass square under your feet. |
Cheat Commands
You can use this cheat commands on single player and multiplayer. Some codes require "single player commands" installed, otherwise they might not work.
Some work on multiplayer and some are exclusive to single player commands like "duplicate" and "atlantis".
Commands | Description |
---|---|
ascend |
Moves you to the next platform above your position. |
atlantis |
Toggles atlantis mode on/off. |
biome |
Tells you what biome you are currently in. |
bind {COMMANDPARAMS} |
Binds a command to a keyboard button. |
bindid {ARGS} |
Binds a command to a keyboard key using the key id. |
bring [ENTITY] |
Brings the specified entity to you. |
cannon [STRENGTH] |
Shoots a primed TNT in the direction you are pointing. |
chest <lightning|thunder|rain[enable|disable]> |
Allow access of chests. |
clear |
Clears the console. |
clearwater |
Toggles water clarity on/off. |
clone [QUANTITY] |
Clones the NPC which you are looking at. |
config |
Allows you to set the global configuration file as your current configuration. |
confuse [DISTANCE] |
Confuses nearby mobs. |
confusesuicide |
??? ... |
cyclepainting |
Cycles through the painting which you are pointing at. |
damage |
Turns player damage on/off. |
defuse [all] |
Defuses any TNT nearby which has been hit, drops 1 tnt in its place. |
descend |
Moves you to the next platform below your position. |
destroy [all] |
Destroys the current item. |
difficulty |
Sets the difficulty to the specified level (0-3). |
drops |
Turns item drops on/off, having them turned off will make the game run a little bit faster, and also stop your inventory from filling. |
dropstore |
This command transfers everything in your inventory into a chest that it creates next to you. |
duplicate [all] |
Duplicates and drops the currently selected item stack. |
explode [SIZE] |
Sets off an explosion in your current location. |
exterminate [SIZE] |
Kill NPC with style, kills the NPC you are pointing at. |
extinguish|ext [all] |
Puts out all nearby fire (or all fire). |
falldamage |
Turns fall damage on/off. |
firedamage |
Turns fire damage on/off. |
flammable [CATCH] [SPREAD] |
Sets the specified block at the flammability level. |
fly [SPEED] |
Allows you to turn flying mode on/off, speed specified your flying speed. |
freeze |
Freezes mobs so that they cannot move or attack you. |
goto |
Goto a waypoint. |
grow [all] |
Grows all saplings/wheat on the map. |
heal |
Heals a player the specified number of points. |
health |
Sets the health of a player to pre-defined figures. |
help [COMMAND] |
Gives general help when COMMAND isn't specified, gives specific help when COMMAND is specified. Same as "/h". |
helmet [ITEM] [QTY] [DAMAGE] |
Specifies the helmet the player wears. |
home |
Teleport to spawn point. |
infiniteitems |
Toggles infinite items on/off. |
instantkill |
Instantly kills any NPC you hit. |
instantmine |
Turns instant mining on/off. |
instantplant [grow] |
Instantly plants saplings into the ground, if grow is specified the tree will when instantly grow. |
item [QUANTITY] [DAMAGE] |
Gives player item, if quantity isn’t specified maximum amount of that item. Same as "/give" and "/i". |
itemdamage |
Turn item damage on/off. This means you will never have to repair an item again. |
itemname |
Use this command to discover the itemname and ID of your currently selected item. |
itemstack [QUANTITY] |
Gives the player the specified quantity of maximum item stacks of the item. |
jump |
Moves you from where you are to where your mouse is pointing. Note: This command is buggy and may put you in the block you move to. |
keepitems |
Turn this on and you will keep your items when you die. |
kill |
Kills the current player. |
killall |
Kills all of the specified mob type. |
killnpc [all|monster|animal] |
Kills all living creatures nearby. |
light |
Turns permanent lighting on and off. |
listwaypoints |
Lists all waypoints. Same as "/l". |
longerlegs |
Makes your legs longer so you can walk up 1 block high. |
macro |
Runs a macro. |
maxstack [ITEMID|ITEMNAME|all] [STACKSIZE] |
Configures the maximum stack size of that item between 1 and 64. |
mobdamage |
Mobs cannot give you damage. |
msg |
This commands adds a message to the console. |
music [play|pause|skip|stop|VOLUME] |
Requests a music track to be played, there is a limitation of at MAX 2 tracks per day. Set the volume by specifying VOLUME. |
noclip |
Turns no clip on/off. |
output |
This just toggles SPC messages on/off, useful for macros/scripts. |
phelp [COMMAND] |
Provides help for plugins. |
platform |
Puts a glass square under your feet. |
plugin |
Lists all loaded plugins and also allows you to enable/disable plugins. |
pos |
Gives current player position. Same as "/p". |
reach |
Sets the player reach distance. |
refill [all] |
Re-stocks your items in your inventory to the maximum ammount. |
rem |
Removes the specified waypoint. |
removedrops [all] |
This command removes item drops from the world. |
rename |
Allows you rename a command to a new name. |
repair [all] |
Repairs the currently selected item to full health. |
reset |
Resets the player settings. |
reskin |
Reskins the NPC which you are pointing at to the specified skin. |
return |
Moves the player to the last position before teleport. |
ride |
Allows you to ride any NPC which you point at. |
sc |
Added scripting support (more information coming soon). |
search |
Allows you to search for items using a name. |
set |
Mark a waypoint on the world. |
setjump [JUMP|reset] |
Sets the height that you jump. Note: Turns fall damage off if the jump is configured to move than 1. |
setspawn [ ] |
Set the current position as the spawn point, if X Y Z are specified sets that position as spawn point. |
setspeed [SPEED|reset] |
Sets the speed that the player moves. |
skin |
Change your players skin to ANY minecraft player. |
slippery [SLIPPERYNESS] |
Makes the specified block slippery. |
spawn [QTY] |
Allows you to spawn an individual creature. |
spawnportal |
Spawns a portal nearby the player. |
spawnstack |
Spawns the specified creature a few blocks away from your current position (use "/spawn list" to get a list of creature names and codes). |
superheat [all] |
Turns items which are furnace-able into their furnaced form. |
superpunch [DISTANCE|reset] |
Hit that NPC with a punch like no other. |
tele |
Teleport to X Y Z coordinates. Same as "/t". |
time [set|get|day|night [minute|hour|day [TIME]]] |
Set and get the time within minecraft. |
timeschedule > |
Sets a period of time (HH:MM format), this will make minecraft always within this time. |
unbind |
Unbinds the specified key from a command. |
unbindid |
Unbinds a command from a keyboard key using the key id. |
useportal |
Instantly transfers you to the nether, use it again to go back. |
waterdamage |
Turns water damage on/off. |
weather |
Toggles weather on/off. |
world |
Allows you to explicitly, have control over your world. |
world load |
Loads the specified FILE, this allows you to play ANY save on your computer, not just World1-5, and can have any name. |
world save |
Explicitly saves your game then returns to it. |
world seed [SEED] |
Allows you to see and change the seed of the map, so it will generate custom terrain. |
world new [FILENAME] [SEED] |
Creates a new map at the specified location. |
world exit |
Lets you exit a game without saving (perfect from when a creeper blows something up). |
world list |
Lists all the saves which you can load from ".minecraft/saves". |
world backup |
Allows you to backup your current world into .minecraft/backup. |