Big thanks to q3hardcore for many of the new features
/killall and /butcher now work
/wand fixed
Compatability with Mod Loader, PlayerAPI and Forge
The current SPC installer is broken, a new one is being worked on which will be out in a few weeks (hopefully)
New installation instructions, below.
Many other things
How to install (Minecraft 1.6.2)
1. Close Minecraft launcher (if open)
2. Navigate to where minecraft is installed (eg: on Windows %appdata%/.minecraft)
3. Go to versions and copy the 1.6.2 directory and name it something else (eg: 1.6.2.mods). Alternatively, if you have done this for another mod already backup the Minecraft JAR.
4. Open the jar file (using an archive utility, such as 7zip) in the mod directory you created (eg: 1.6.2.jar) and copy all of the files into it except for WorldEdit.jar
5. Delete the files in the META-INF directory except for MANIFEST.MF
6. Close the jar file
7. Copy WorldEdit.jar into .minecraft/bin
8. Rename the jar file to the same name as the directory (eg: 1.6.2.mods.jar)
9. Rename the json file to the same name as the directory (eg: 1.6.2.mods.json)
10. Open the json file in a text editor and the line that contains the id (eg: "id": "1.6.2") change it to the same name as the directory (eg: "id": "1.6.2.mods")
11. Save and close the json file.
12. Start up the Minecraft launcher
13. Create a new profile
14. Select the version that you just created (eg: 1.6.2.mods)
15. Select the rest of your settings.
16. Launch the game.
Note: Using a 3rd party launcher such as Magic Launcher may save you a lot of time in managing mods.
For more information on commands use /help 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:
Commands
ADMIN: Due to the number of youtube links here, this content has been removed.
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 - 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 [type] [density] - Make a forest. //hcyl [height] - Create a vertical hollow cylinder. //hsphere [raised?] - Create a hollow sphere. //pumpkins - 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 - Replace all non-air blocks blocks inside the region. //replace - 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).
Wrong input, eg: exceptions, are handled - though I may have missed something, but I have used it for a week now without problems. Feel free to report any bugs and I'll fix them. You should NEVER see a stack trace from bad input.
ps: You don't need the '/' either - I changed that today before posting. For example: '/give 1' is the same as 'give 1'
Is there any way you could merge this with risugami's mod loader? They both use the cy class...
Anyways, this seems like it will be useful. Very useful.
This mod froze my Single-Player worlds (old and new) and I had to re-install Minecraft AND put ALL of my mods back.
Can you provide some more information?
When did it freeze?
What mods were you using - specifically what classes have other mods modified?
Anything else that could help debug the problem?
I suspect that this problem would be due to another mod modifying cy.class and when you installed this one it overwrote some of the other mod - method calls which previously worked no longer would and after a set amount of time would have thrown up a minecraft stack trace...
Is there any way you could merge this with risugami's mod loader? They both use the cy class...
Anyways, this seems like it will be useful. Very useful.
I have read through that thread and there is no documentation on how to use it. JavaDocs tend to suggest that it won't work for this mod as this mod modifies the World, Minecraft and SinglePlayer classes - and the mod loader is designed for Blocks, Crafting, Entities, etc etc.
The mod loader itself does not use cy.class as far as I can see, it must be one of the mods for it?
I backed up minecraft.jar and renamed it (so I wouldn't try to edit the wrong copy), then opened the minecraft.jar in /bin with WinRAR. I then copied the two .class files from the download into the general minecraft.jar archive, deleted META-INF; closed and reopened it in WinRAR to confirm META-INF was gone and the filesizes of the two .class files I had installed in it were the same as the ones I had downloaded. I then opened Minecraft and opened one of my saved worlds in single player. Pressing the chat key did nothing. I made a new world. Pressing the chat key also did nothing.
I'm new to this, so it may be something obvious, but where did I go wrong?
I backed up minecraft.jar and renamed it (so I wouldn't try to edit the wrong copy), then opened the minecraft.jar in /bin with WinRAR. I then copied the two .class files from the download into the general minecraft.jar archive, deleted META-INF; closed and reopened it in WinRAR to confirm META-INF was gone and the filesizes of the two .class files I had installed in it were the same as the ones I had downloaded. I then opened Minecraft and opened one of my saved worlds in single player. Pressing the chat key did nothing. I made a new world. Pressing the chat key also did nothing.
I'm new to this, so it may be something obvious, but where did I go wrong?
There are three class files. Make sure to copy "Minecraft.class" this is the one which enables the chat key. This should be copied to "/net/minecraft/client" within the JAR.
I would suggest using 7zip as well as this shows the directory structure of the JAR a lot nicer than WinZip or WinRAR.
I realized this belatedly. Thank you, regardless. I tried using 7-zip, but it wouldn't let me add files to an archive. WinRAR works well enough, though.
To add files to a JAR using 7zip I "drag" them from the folder they are in into the open archive. This seems to work the best. But if you're happy with WinRAR, stick with it!
Oh ok. Well then in that case one method needs to be changed and one added. I will have a look at it better tomorrow if I get some time, there doesn't appear to be any direct conflicts.
would it be possible to make it so when u type it doesnt actually press the buttons, like disable everything while ur typing so when i type give 1 it doesnt enable my grappling hook: Gravitygun and reVerse
Due to the way 303 has done the mod it is not immediately apparent how this can be done. I will have a think about it and see if I can work out a way.
Basically all the keyboard input for minecraft is done through minecraft.class but 303's mods use their own classes to handle keyboard input, therefore there is no easy way to actively "turn off" the keyboard when the chat window is up like mentioned.
Well if you have other mods which modify the same classes that this mod modifies it won't work, sorry. It will just break the game. This is the same for every other mod as well, unless they explicitly specify compatibility.
I'm really interested in this, but I can't seem to get it installed. I open up minecraft.jar found in my .minecraft folder. I put in the 2 class files and the net folder. Then I delete META-INF and then run minecraft. I sign in and it stops on the loading screen saying done with a mostly complete progression bar. This is the first mod I've tried to install ever.
I am using Windows XP SP3 and IZarc for my zip viewer.
Thanks ahead of time.
Edit: Downloaded and used WinRar and it worked fine. Great mod.
do not put in the entire net folder, only the contents. you go into net in minecraft.jar, then minecraft, then client, and then drag in the provided minecraft.class
do not put in the entire net folder, only the contents. you go into net in minecraft.jar, then minecraft, then client, and then drag in the provided minecraft.class
Actually, you do. I tried doing both ways on a fresh minecraft bin, and putting the net folder into the jar worked.
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 [COMING SOON]
for a video tutorial on how to use the installer
Download Manual Installation [Preferred] - [Link Removed]
NEW INSTALL INSTRUCTIONS - CLICK HERE
Release Details
Spotlight
Command List
Item and Block codes
Downloads
Installation Instructions
Troubleshooting
Installer
Minecraft Coder Pack (MCP) Compatibility
Special Thanks
Want to play SMP with me? Find me on this server regularly
Advertise Single Player Commands
License
Donate
Release Details
For Minecraft 1.6.2 - Download Here
Big thanks to q3hardcore for many of the new features
/killall and /butcher now work
/wand fixed
Compatability with Mod Loader, PlayerAPI and Forge
The current SPC installer is broken, a new one is being worked on which will be out in a few weeks (hopefully)
New installation instructions, below.
Many other things
How to install (Minecraft 1.6.2)
1. Close Minecraft launcher (if open)
2. Navigate to where minecraft is installed (eg: on Windows %appdata%/.minecraft)
3. Go to versions and copy the 1.6.2 directory and name it something else (eg: 1.6.2.mods). Alternatively, if you have done this for another mod already backup the Minecraft JAR.
4. Open the jar file (using an archive utility, such as 7zip) in the mod directory you created (eg: 1.6.2.jar) and copy all of the files into it except for WorldEdit.jar
5. Delete the files in the META-INF directory except for MANIFEST.MF
6. Close the jar file
7. Copy WorldEdit.jar into .minecraft/bin
8. Rename the jar file to the same name as the directory (eg: 1.6.2.mods.jar)
9. Rename the json file to the same name as the directory (eg: 1.6.2.mods.json)
10. Open the json file in a text editor and the line that contains the id (eg: "id": "1.6.2") change it to the same name as the directory (eg: "id": "1.6.2.mods")
11. Save and close the json file.
12. Start up the Minecraft launcher
13. Create a new profile
14. Select the version that you just created (eg: 1.6.2.mods)
15. Select the rest of your settings.
16. Launch the game.
Note: Using a 3rd party launcher such as Magic Launcher may save you a lot of time in managing mods.
Code is open source at: https://github.com/simo415/spc
For more information on commands use /help 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:
Commands
ADMIN: Due to the number of youtube links here, this content has been removed.
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 - 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 [type] [density] - Make a forest.
//hcyl [height] - Create a vertical hollow cylinder.
//hsphere [raised?] - Create a hollow sphere.
//pumpkins - 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 - Replace all non-air blocks blocks inside the region.
//replace - 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
Wrong input, eg: exceptions, are handled - though I may have missed something, but I have used it for a week now without problems. Feel free to report any bugs and I'll fix them. You should NEVER see a stack trace from bad input.
ps: You don't need the '/' either - I changed that today before posting. For example: '/give 1' is the same as 'give 1'
Anyways, this seems like it will be useful. Very useful.
Can you provide some more information?
When did it freeze?
What mods were you using - specifically what classes have other mods modified?
Anything else that could help debug the problem?
I suspect that this problem would be due to another mod modifying cy.class and when you installed this one it overwrote some of the other mod - method calls which previously worked no longer would and after a set amount of time would have thrown up a minecraft stack trace...
I have read through that thread and there is no documentation on how to use it. JavaDocs tend to suggest that it won't work for this mod as this mod modifies the World, Minecraft and SinglePlayer classes - and the mod loader is designed for Blocks, Crafting, Entities, etc etc.
The mod loader itself does not use cy.class as far as I can see, it must be one of the mods for it?
I backed up minecraft.jar and renamed it (so I wouldn't try to edit the wrong copy), then opened the minecraft.jar in /bin with WinRAR. I then copied the two .class files from the download into the general minecraft.jar archive, deleted META-INF; closed and reopened it in WinRAR to confirm META-INF was gone and the filesizes of the two .class files I had installed in it were the same as the ones I had downloaded. I then opened Minecraft and opened one of my saved worlds in single player. Pressing the chat key did nothing. I made a new world. Pressing the chat key also did nothing.
I'm new to this, so it may be something obvious, but where did I go wrong?
There are three class files. Make sure to copy "Minecraft.class" this is the one which enables the chat key. This should be copied to "/net/minecraft/client" within the JAR.
I would suggest using 7zip as well as this shows the directory structure of the JAR a lot nicer than WinZip or WinRAR.
To add files to a JAR using 7zip I "drag" them from the folder they are in into the open archive. This seems to work the best. But if you're happy with WinRAR, stick with it!
Oh ok. Well then in that case one method needs to be changed and one added. I will have a look at it better tomorrow if I get some time, there doesn't appear to be any direct conflicts.
Basically all the keyboard input for minecraft is done through minecraft.class but 303's mods use their own classes to handle keyboard input, therefore there is no easy way to actively "turn off" the keyboard when the chat window is up like mentioned.
Well if you have other mods which modify the same classes that this mod modifies it won't work, sorry. It will just break the game. This is the same for every other mod as well, unless they explicitly specify compatibility.
I am using Windows XP SP3 and IZarc for my zip viewer.
Thanks ahead of time.
Edit: Downloaded and used WinRar and it worked fine. Great mod.
Actually, you do. I tried doing both ways on a fresh minecraft bin, and putting the net folder into the jar worked.