Single Player Commands (SPC)
Version 4.8 for Minecraft 1.5.2
If you're looking for a server, or need to contact me, currently the best place is through this PvP survival server: pvp.darkmines.net.

Download Automated Installation [Preferred] - [Alternate]
Click here for a video tutorial on how to use the installer
Download Manual Installation [Preferred] - [Alternate]
Release Details
Command List
Item and Block codes
Downloads
Installation Instructions
Troubleshooting Minecraft Coder Pack (MCP) Compatibility
Release Details
Version 4.8 for Minecraft 1.5.2
Updated for Minecraft 1.5.2
Version 4.7 for Minecraft 1.5.1
Added instant mine
Added clear drops
Refactored no clip code for better maintainability
Thanks q3hardcore for the two new commands, check out github if you want to contribute!
Version 4.6 for Minecraft 1.5
First of all, big thank you to q3hardcore (he added noclip and others!) and Loram100 (forums guru!)
Added no clip
Added path
Added superheat
Added waypoint commands, set, rem, goto
Refactored code
And More!
Code is open source at: https://github.com/simo415/spc
For more information on commands use /help <commandname> in game or visit http://youtube.com/user/spcmod
The Spotlight
Periodically I will put up a picture and video which I think are good representations as to what Single Player Commands is capable of. If you would like to get your picture or video featured here please send me a link (via PM or post) and if I like them they will get featured.
Note: Videos should focus on SPC and can be any length (preferably at least 30 seconds)
by drawingkid1313
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:
Normal Commands (Version 1.3 to Current Version)
Note: Not all current commands will work on earlier versions
? - help [COMMAND_NAME] - Activates the help message.
ascend - Moves you to the next platform above your current position.
bind <KEYCODE> <COMMAND> {PARAMETERS} - Binds a command to a keyboard button.
bindid <KEYID> <COMMAND> {PARAMETERS} - Binds a command to a keyboard key using the key id.
cannon [STRENGTH] - Shoots a primed TNT in the direction you are pointing at the chosen strength.
damage [enable|disable] - Turns player damage on/off.
debug -
defaultgamemode -
descend - Moves you to the next platform below your current position.
diff - difficulty [DIFFICULTY] - Sets the difficulty to the specified level (valid values 0-3).
difficulty [DIFFICULTY] - Sets the difficulty to the specified level (valid values 0-3).
effect <list|remove TYPE|add TYPE [DURATION] [STRENGTH]> - Configures potion effects on the player
enchant <list|remove|add TYPE [LEVEL]> - Enchants the currently selected item.
fly [ENABLE|DISABLE] - Allows you to turn flying mode on/off
gamemode <creative|survival|adventure> - Changes the game mode.
gamerule - <rule name><value> OR <rule name>.
give <ITEMCODE|ITEMNAME> [QUANTITY] [DAMAGE] – Gives player item, if quantity isn’t specified maximum amount of that item. See i & item.
gm - gamemode [creative|survival|adventure] - Changes the game mode.
hardcore [enable|disable] – Configures the world for hardcore mode or not.
heal <QUANTITY> - Heals a player the specified number of points (2 per heart).
health <min|max|infinite|get> - Sets the health of a player to pre-defined figures.
help [COMMAND_NAME] – Activates the help menu. If no COMMAND_NAME given, lists help commands.
home – Teleport to spawn point.
hunger <empty|full|infinite> - Sets your hunger level to predefined points.
i - give <ITEMCODE|ITEMNAME> [QUANTITY] [DAMAGE] – Gives player item, if quantity isn’t specified maximum amount of that item. See give & item.
ignite - sets the upper surface of the block you're pointing at on fire.
Info – Block information tool.
item <ITEMCODE|ITEMNAME> [QUANTITY] [DAMAGE] – Gives player item, if quantity isn’t specified maximum amount of that item. See give & i.
jump - Moves you from where you are to where your mouse is pointing.
kill – Kills the current player.
killall <ENTITY_TYPE [DISTANCE]> - Kills all the specified entity type, this destroys ALL entities (paintings, minecarts, etc) if no distance. As of 06 Dec 2012 this causes the game to freeze.
light - Turns permanent lighting on and off.
macro <FILE>[PARAMETERS] – Allows multiple Commands to be run.
me <action> -
msg </tell> -
path [BLOCK][RADIUS] – Creates a path as you walk.
platform – Creates a glass square under your feet.
pos – Gives current player position.
publish -
repair [all] - Repairs the currently selected item to full health. /repair all - repairs all inventory items except worn armor, if removed and added to inventory, it too is repaired.
say <message> -
seed – Displays world seed.
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
spawn <NAME|ID|random|list> [QUANTITY] - Allows you to spawn creatures.
spawnpoint - /spawnpoint <player> OR /spawnpoint <player> <X> <Y> <Z>.
spc – Provides generic commands around SPC.
su – Allows commands to be run as a specified player. /su simo_415 give 35:14 5 (give 5ea red wool).
t <X> <Y> <Z> - Teleport to X Y Z coordinates. See /tele & /teleport.
tele <X> <Y> <Z> - Teleport to X Y Z coordinates. See /t & teleport.
teleport <X> <Y> <Z> - Teleport to X Y Z coordinates. See /t & /tele.
tell <player> <private message> -
time [set[TIME<minute|hour|day>]|day|night] – Get or set minecraft time.
toggledownfall -
unbind <KEYCODE|all> - Unbinds the specified key from a command.
unbindid <ID> - Unbinds a command from a keyboard key using the key id.
w -
weather <lightning|thunder|rain[enable|disable]> - Toggles weather effects on/off.
xp <amount>[player] OR /xp <L amount>[player] - where L = level – Changes player experience or experience level.
Minecraft Version 1.2 and below:
WorldEdit Commands
For a list of WorldEdit commands please visit the WorldEdit wiki page: http://wiki.sk89q.co...dEdit/Reference
Global Command
//limit <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] <type> <radius> [height] - Switch to the cylinder brush tool.
//brush smooth <radius> [iterations] - Smooth the region.
//brush sphere [-h] <type> <radius> - Switch to the sphere brush tool.
//mask - Clear the mask
//mask <mask> - Set a mask
//mat <mat> - Change the material used by your current brush.
//size <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 <filename> - Load .schematic into clipboard.
//paste [-ao] - Pastes the clipboard.
//rotate <angle-in-degrees> - Rotate the clipboard.
//save <filename> - Save clipboard to .schematic.
General commands
//search <item> - 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 <block> <radius> [height] - Create a vertical cylinder.
//forestgen [size] [type] [density] - Make a forest.
//hcyl <block> <radius> [height] - Create a vertical hollow cylinder.
//hsphere <block> <radius> [raised?] - Create a hollow sphere.
//pumpkins [size] - Make a pumpkin forest
//sphere <block> <radius> [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 <block> - Place a block on top of blocks inside the region.
//outline <block> - 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 <block> - 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 <block> - Build the walls of the region (not including ceiling and floor).
Scripting
//cs <script> [args...] - Executes a script.
//.s [args...] - Re-executes last script with new arguments.
//<script>.js [args...] - Executes a JS script.
Selection
//chunk - Select the chunk that you are within for your selection.
//contract <amount> - Contracts the selection in the direction that you are looking towards.
//contract <amount> [direction] - Contracts the selection in the specified direction (north, east, south, west).
//contract <amount> <reverse-amount> [direction] - Contracts the selection in two directions at once.
//count <block> - Count the number of blocks in the region.
//distr [-c] - Get the block distribution in the selection.
//expand <amount> - Expands the selection in the direction that you are looking.
//expand <amount> [direction] - Expands the selection in the specified direction (north, east, south, west, up, down).
//expand <amount> <reverse-amount> [direction] - Expands the selection in two directions at once.
//expand <vert> - 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.
it is set.
//inset [-hv] <amount> - Inset the selection in every direction.
//outset [-hv] <amount> - 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 <cuboid or poly> - Choose the region shape to use for selections.
//shift <amount> [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 <date> - Find the first snapshot after the given date.
//snap before <date> -Find the first snapshot before the given date.
//snap list [num] - List the 5 newest snapshots.
//snap use <snapshot> - Use a particular snapshot.
Super pickaxe
// - Toggle the super pick axe.
//sp area <range> - Switch to area super pickaxe mode.
//sp recur <range> - 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 <block> - 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 <radius> Drain nearby water/lava pools (within one block of lava/water).
//ex [size] - Extinguish fires.
//fill <block> <radius> [depth] - Fill a hole.
//fillr <block> <radius> - Fill a hole fully recursively.
//fixlava <radius> - Level nearby pools of lava (within one block).
//fixwater <radius> - Level nearby pools of water(within one block).
//remove <type> <radius> - 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 <size> <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.
Downloads
Single Player Commands V4.8 for Minecraft 1.5.2
Download Automated Installation [Preferred] - [Alternate]
Click here for a video tutorial on how to use the installer
Download Manual Installation [Preferred] - [Alternate]
Previous Downloads
Installation Instructions
This mod does not need any other mods installed to run. Simply follow the instructions below and it will work. If you have any issues with these simple instructions, refer to a video or the troubleshooting section.
Automated Installation
Manual Installation
Troubleshooting
If after installing this mod you get a black screen or stuck at done loading. There are four common problems for this, please double check all of these before posting a problem about a black screen:
1. META-INF wasn't deleted.
2. You have a conflicting mod installed.
3. You are using the browser version of Minecraft, only the standalone version works.
4. You installed the mod on the wrong version of Minecraft.
MCP Compatibility
Single Player Commands and MCP are now compatible using this provided download. Please note that you must be using the SAME version of MCP as is specified otherwise it may not work. Please read the readme contained within the download for detailed instructions on how to setup and use SPC with MCP. If you wish to create an SPC plugin it is now possible to do within MCP simply by downloading and installing this, please be sure to follow the readme instructions.
SPC 4.0 for MCP 7.2 Coming Soon
Special Thanks
These are the people who deserve special thanks for help with SPC:
trunksbomb - Active thread user and helped develop some commands for this mod
sk89q - Big help in porting WorldEdit into SPC
dark_messiah - Help with the wiki
Emperor Penguin - Created the banners
303 - Contributed a bunch of commands to the mod, and always suggesting new things =)
LoRaM100, Dolphe, Scix active forum users who help out a lot
Join a Server


Advertise
Emperor Penguin was kind enough to create these banners for the mod. Feel free to include this in your signature.

[url=http://www.minecraftforum.net/index.php?showtopic=94310&view=findpost&p=1464349][img]http://i.imgur.com/rifZD.png[/img][/url]

[url=http://www.minecraftforum.net/index.php?showtopic=94310&view=findpost&p=1464349][img]http://i.imgur.com/srPYg.jpg[/img][/url]
License
This document is Copyright (2010-2012) of simo_415 (hereafter referred to as "The Owner") and is the intellectual property of The Owner. Only Minecraftforum.net is able to host any of The Owner's material without the consent of The Owner. It may not be placed on any other web site or otherwise distributed publicly without advance written permission. (Electronic mail is acceptable as long as you wait for a response.)
Donate
Say thanks, even a small contribution I will greatly appreciate!










