Mods/Single Player Commands

Single Player Commands is a mod that adds commands to single player. Below is a list of helpful commands.

Features

 * Powerful building capabilites

Command List
Stuck on a command, confused or just looking for something new? Check out http://www.youtube.com/user/spcmod for a simple demo of most of the commands this mod provides.

To bring up the command "console" type 'T' then type in the command. Below is a brief run through of the command list:

achievement  - Allows you to list or unlock all achievements

alias   {ARGS} - Allows you to assign an alias to one or more words

ascend - Moves you to the next platform above your position

WARNING: AS OF MOD VERSION 3.2 DO NOT USE THE /ATLANTIS COMMAND. THIS WILL DESTROY YOUR WORLD.

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

binditem  - Binds a mouse button to a command when the specified item is in hand

bring [ENTITY] - Brings the specified entity to you.

cannon [STRENGTH] - Shoots a primed TNT in the direction you are pointing.

calc - Calculator command

chest  - Allow access of chests

clear - Clears the console

clearwater - Toggles water clarity on/off

climb - Allows the player to climb any surface without a ladder

clone [QUANTITY] - Clones the NPC which you are looking at

config  - Allows you to set the global configuration file as your current configuration

confusesuicide - Makes mobs attack one another

creeper  - Enables or disables creeper explosions

criticalhit [enable|disable] - Allows you to turn critical hits always on/off

clouds [enable|disable] - Allows you to turn clouds on/off via command

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

effect  - Configures potion effects on the player

enchant  - Enchants the currently selected item

enderman pickup [enable|disable] - Enderman command to enable/disable block pickup

explode [SIZE] - Sets off an explosion in your current location.

exterminate [SIZE] - KillNPC 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

feed  - Adds the specified quantity to your food bar

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

flymode <dynamic|standard|minecraft|reset> - Allows you to specify which flying mode to use

fog [tiny|small|normal|far] - Changes the render distance

freecam - Allows you to freecam around the map

freezecam - Freezes the players camera at the current location

freeze - Freezes mobs so that they cannot move or attack you

gamemode <creative|survival|1|0> - Changes the World game mode to creative or survival

gamemode toggle

goto <NAME> - Goto a waypoint

grow [all] - Grows all saplings/wheat on the map.

hardcore [enable|disable] - Configures the world to be in hardcore mode or not

hardcore toggle

heal <HEALTH> - Heals a player the specified number of points

health <min|max|infinite> - 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

hunger <empty|full|infinite|enable|disable> - Sets your hunger level to predefined figures

infiniteitems - Toggles infinite items on/off

invrotate [line|item] - Rotates your inventory hotbar with the next line. You can rotate just a single item or the whole line

invstore <save <NAME>|load <NAME>|list> - Loads or saves your current inventory to file

instantkill - Instantly kills any NPC you hit

instantmine - Turns instant mining on/off (Installing Forge disables this function).

instantplant [grow] - Instantly plants saplings into the ground, if grow is specified the tree will when instantly grow

item <ITEMCODE|ITEMNAME> [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 <ITEMID|ITEMNAME> [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 <ENTITYTYPE> - Kills all of the specified entity type, this will destroy ALL entities (paintings, minecarts, etc) unless specified otherwise.

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 <edit|create|dir|folder|delete|list|FILENAME {PARAMS}> - 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

moveplayer <DISTANCE> <DIRECTION> - Moves the player the specified distance (in blocks) in the specified direction, (neswup)

msg <MESSAGE> - 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.

path <BLOCK_ID> [size]

phelp [COMMAND] - Provides help for plugins

pick [QUANTITY] - Command which gives you the blocks you point at

platform - Puts a glass square under your feet

plugin <list|enable [MODNAME]|disable [MODNAME]|dlist> - Lists all loaded plugins and also allows you to enable/disable plugins

pos – Gives current player position. Same as /p

ralias <NAME> - Removes the specified alias

reach <DISTANCE|reset> - Sets the player reach distance.

refill [all] - Re-stocks your items in your inventory to the maximum ammount

rem <NAME> - Removes the specified waypoint

removedrops [all] - This command removes item drops from the world.

rename <COMMANDNAME> <NEWNAME> - Allows you rename a command to a new name

repair [all] - Repairs the currently selected item to full health

repeat - Repeats the last used command (useful command to bind)

reset - Resets the player settings

resize [1080p|720p|480p|setdefault [WIDTH]|<HEIGHT>] - Resizes the Minecraft window, no arguments sets it to default

reskin <FILENAME> - 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 <FILENAME> - Added scripting support (more information coming soon)

search <SEARCHTERM> - Allows you to search for items using a name

set <NAME> - 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 [<X> <Y> <Z>] – 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

sign <add|edit> ["LINE1"] ["LINE2"] ["LINE3"] ["LINE4"] - Allows placing and editing of signs without a GUI

skin <USERNAME> - Change your players skin to ANY minecraft player

slippery <BLOCK> [SLIPPERYNESS] - Makes the specified block slippery, default is 0.6

spawn <NAME|ID|random|list> [QTY] - Allows you to spawn an individual creature where you are looking.

spawner <TYPE> - Changes the mob spawner the player is pointing at

spawnportal - Spawns a portal nearby the player

spawnstack <NAME|ID|list|random> - Spawns the specified creature where you are looking (use "/spawn list" to get a list of creature names and codes).

sprinting [enable|disable] - Turns sprinting always on

stackcombine - When run combines all of the same stack types into the same stack

stacklimit - Turns stack limiting on/off

startup <COMMAND> {ARGS} - Specifies a command to run on startup

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 <X> <Y> <Z> - Teleport to X Y Z coordinates. Same as /t

textcolor <<normal|error> <0-f|random>>|<setrandom COLORS> - Allows you to configure output text colors

time [set|get|day|night [minute|hour|day [TIME]]|speed SPEED] - Set and get the time within minecraft.

timeschedule <reset | <TIME1> <TIME2>> - Sets a period of time (HH:MM format), this will make minecraft always within this time.

unbind <KEYCODE|all> - Unbinds the specified key from a command.

unbindid <ID> - Unbinds a command from a keyboard key using the key id

unbinditem [all] - Unbinds the currently selected items bindings, or all bindings

update <enable|disable> - Turns update checking on/off

useportal <normal|nether|end|PORTAL> - Instantly transfers you to the nether, use it again to go back.

waterdamage - Turns water damage on/off

weather <lightning|thunder|rain|enable|disable> - Toggles weather on/off

world <load|save|seed|new|exit|list|backup> - Allows you to explicitly, have control over your world.

world load <FILENAME> - 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

xp <add QTY|get|set XP> - XP (player experience) related commands

WorldEdit Commands
For a list of WorldEdit commands please visit the WorldEdit wiki page: http://wiki.sk89q.co...dEdit/Reference

Global Command
//limit - Set a maximum number of blocks to change at most for all operations. This only affects yourself. Use this to prevent catastrophic accidents. This command will not override the limit in the configuration if it is set.

Brushes
//brush clipboard - Switch to the clipboard tool.

//brush cylinder [-h] [height] - Switch to the cylinder brush tool.

//brush smooth [iterations] - Smooth the region.

//brush sphere [-h] - Switch to the sphere brush tool.

//mask - Clear the mask

//mask - Set a mask

//mat - Change the material used by your current brush.

//size - Change the size of the current brushes

Chunk tools
//chunkinfo - Get the filename of the chunk that you are in.

//delchunks - Generate a shell script to delete chunks.

//listchunks - Print a list of used chunks.

Clipboard
//clearclipboard - Clear your clipboard.

//copy - Copies the currently selected region. Be aware that it stores your position relative to the selection when copying.

//cut - Cuts the currently selected region.

//flip [dir] - Flip the clipboard.

//load - Load .schematic into clipboard.

//paste [-ao] - Pastes the clipboard.

//rotate <angle-in-degrees> - Rotate the clipboard.

//save - Save clipboard to .schematic.

General commands
//search - Search for an item by its name.

//worldedit reload - Reloads WorldEdit's configuration.

//worldedit tz - Set your timezone. This is temporary.

//worldedit version - Gets WorldEdit's version.

Generation
//cyl [height] - Create a vertical cylinder.

//forestgen [size] [type] [density] - Make a forest.

//hcyl [height] - Create a vertical hollow cylinder.

//hsphere [raised?] - Create a hollow sphere.

//pumpkins [size] - Make a pumpkin forest

//sphere [raised?] - Create a sphere.

Getting around
//ascend - Go up one level.

//ceil [clearance] - Get to the ceiling.

//descend – Go down one level.

//jumpto - Jump to the block that you are looking at.

//thru - Go through the wall that you are looking at.

//unstuck - Go up to the first free spot.

//up [distance] - Go up some distance.

History
//clearhistory - Clear your history.

//redo [number of steps] - Redo your last (undo) action. This command replays back history and does not repeat the command.

//undo [number of steps (default – last)] - Undo your last action.

Region operations
//move [count] [direction] [leave-id] - Move the selection's contents. A block can be specified to fill in the left over area.

//overlay - Place a block on top of blocks inside the region.

//outline - Build walls, floor, and ceiling.

//regen - Regenerate the selection region.

//replace <to-block> - Replace all non-air blocks blocks inside the region.

//replace <from-block> <to-block> - Replace all blocks of the specified block(s) with another block inside the region.

//set - Set all blocks inside the selection region to a specified block.

//smooth [iterations] - Smooth the selection's heightmap.

//stack [count] [direction] - Stacks the selection.

//walls - Build the walls of the region (not including ceiling and floor).

Scripting
//cs [args...] - Executes a script.

//.s [args...] - Re-executes last script with new arguments.

// .js [args...] - Executes a JS script.

Selection
//chunk - Select the chunk that you are within for your selection.

//contract - Contracts the selection in the direction that you are looking towards.

//contract [direction] - Contracts the selection in the specified direction (north, east, south, west).

//contract <reverse-amount> [direction] - Contracts the selection in two directions at once.

//count - Count the number of blocks in the region.

//distr [-c] - Get the block distribution in the selection.

//expand - Expands the selection in the direction that you are looking.

//expand [direction] - Expands the selection in the specified direction (north, east, south, west, up, down).

//expand <reverse-amount> [direction] - Expands the selection in two directions at once.

//expand - Expands the selection to include sky to bedrock.

//hpos1 - Set selection position #1 to the block that you are looking at.

//hpos2 - Set selection position #2 to the block that you are looking at.

//inset [-hv] - Inset the selection in every direction.

//outset [-hv] - Outset the selection in every direction.

//pos1 - Set selection position #1 to the block above the one that you are standing on.

//pos2 - Set selection position #2 to the block above the one that you are standing on.

//sel - Choose the region shape to use for selections.

//shift [direction] - Moves the selection region. It does not move the selection's contents.

//size - Get the size of selected region.

//toggleeditwand - Toggles the edit wand selection mode, allowing you to use the edit wand item normally.

//wand - Gives you the "edit wand" (by default, a wooden axe). Left click with this tool to select position 1 and right click to selection position 2.

Snapshots
//restore [snapshot] - Restore a particular snapshot.

//snap after - Find the first snapshot after the given date.

//snap before -Find the first snapshot before the given date.

//snap list [num] - List the 5 newest snapshots.

//snap use - Use a particular snapshot.

Super pickaxe
// - Toggle the super pick axe.

//sp area - Switch to area super pickaxe mode.

//sp recur - Switch to recursive super pickaxe mode.

//sp single - Switch to single block super pickaxe mode.

Tools
//cycler - Block data cycler tool.

//info - Switch to the info tool.

//none - Switch to no tool.

//repl - Switch to the block replacer tool.

//tree [type] - Switch to the tree tool. Available types [tree, regular, big, bigtree, redwood, sequoia, tallredwood, tallsequoia, birch, white, whitebark, pine, randredwood, randomredwood, anyredwood, rand, random.

Utilities
//butcher [radius] - Kill nearby mobs.

//drain Drain nearby water/lava pools (within one block of lava/water).

//ex [size] - Extinguish fires.

//fill [depth] - Fill a hole.

//fillr - Fill a hole fully recursively.

//fixlava - Level nearby pools of lava (within one block).

//fixwater - Level nearby pools of water(within one block).

//remove - Remove nearby entities. Type can be "items" for loose items/drops, arrows, boats, minecarts, or tnt.

//removeabove [size] [height] - Remove blocks above your head.

//removebelow [size] [height] - Remove blocks below your feet.

//removenear [block] [size] - Remove blocks near you.

//replacenear <from-id> <to-id> - Replace all existing blocks nearby.

//snow [radius] - Simulate snow cover.

//thaw [radius] - Unthaw/remove snow.

//toggleplace -Toggle between using pos #1 or your current position.