Jump to content

  • 854 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

[1.1.0] Single Player Commands [V3.1.1] - Official Download It's like having over 100 mods in one.

#1 User is offline

  • Group: Members
  • Posts: 2803
  • Joined: 29-November 10

Posted 06 December 2010 - 07:38 AM

*
POPULAR

Single Player Commands V3.1.1 for Minecraft 1.1.0

On holidays from Monday the 30th January until Sunday 26th February. I will not be responding to PMs, posts or emails throughout this time.


























Preview

Watch the video for a brief look at Single Player Commands.


A more thorough look at the mod is available here:


Release Details

MCP Compatibility - Click Here for more information

Version 3.1.1

Bug fixes! And MCP kit release

Fixed WorldEdit bug with reaching distance
Fixed /flymode minecraft - can now ascend and descend

Added custom colours to the sign command, that means you can colour your signs
in Single Player!

How to use:
/sign [add|edit] "Line 1 - No colours..." "&4Line 2 - Red text" "&5Line 3 - &6Multicolour!"

Available colours are here: http://www.minecraft...col#Color_Codes

Please note that &k is random - but only one random colour per line is generated.

Version 3.1

New Installer! See this video for more information:

New Commands:
pick [QUANTITY] - Command which gives you the blocks you point at
binditem <MOUSEBUTTON {COMMAND}> - Binds a mouse button to a command when the specified item is in hand
unbinditem [all] - Unbinds the currently selected items bindings, or all bindings
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
creeper <explosion [enable|disable]> - Enables or disables creeper explosions
sign <add|edit> ["LINE1"] ["LINE2"] ["LINE3"] ["LINE4"] - Allows placing and editing of signs without a GUI

Existing Command changes:
gamemode toggle
hardcore toggle
hunger [enable/disable] - Added ability to disable/enable hunger - no more starving!
spawned entities go to where you are pointing (applicable for /spawn and /spawnstack)
enable/disable weather - Allows you to turn weather permanently off and enable it again if needed.

Bug Fixes:
WorldEdit no longer has a bug when mouse block positions aren't hit
spawn list was fixed
several other incremental improvements

For more information on commands use /help <COMMANDNAME>

QWERTY Keyboard KeyCodes:
Posted Image
Special thanks to trunksbomb for providing this keycodes image.

trunksbomb said:

Macros are a useful feature of Single Player Commands that will allow you to automate any amount of commands by putting them into one file that can be executed in game.

Macros will be located in your .minecraft/mods/sppcommands/macros/ folder.

All macros must be in .txt format to work.

To write a macro, simply type each command on a new line. For an example testmacro.txt:

/give 1 64
/health infinite


This will give you 64 stone and set your health to infinite when you type /macro testmacro. Be sure to leave off the .txt extension when you are using the command in game.

You can also specify parameters to use in the commands. A parameter is denoted as a "$_" followed by a number. $_0 is reserved for the macro itself, do not use this. To change our testmacro to take a parameter, we might do this:

/give 1 $_1
/health $_2


To properly use this macro, you must specify the parameters $_1 and $_2 when you type the command. So, for example, we might type /macro testmacro 64 20. This will give us 64 stone blocks, and set our health to 20.

If a command takes multiple parameters, you can specify each one as a paramater in the macro file. For example, one command is /maxstack [item|all] [QTY], which changes the stack size of the specified item (if none specified, defaults to item in hand). If all is a parameter, changes the max stack of all items.

So we might change our macro to this:

/maxstack $_1 $_2


Granted this isn't a very good macro (one line macros are generally useless), but it works. You can specify /macro testmacro 323 64, which will change the max stack of item 323 (signs) to 64. It's not just limited to numbers though. Remember, one parameter of the /maxstack command is 'all'. So if we type /macro macrotest all 64, this works too, and changes the max stack of all items to 64.

When using macros, keep in mind that some parameterized commands can still work if you leave off the parameters, such as the /replenish command. This absence of parameters carries over to macros, and might not give the expected results if you're not careful. Take for example our latest macro, which has two parameters: $_1 and $_2. If you only specify one of those parameters, the macro will always interpret the parameter you did specify as the item parameter. Just keep that in mind when using macros (and all commands, for that matter).

And to demonstrate the power of this feature, take armor.txt:
give $_1 sword 1
give $_1 helmet 1
give $_1 chestplate 1
give $_1 leggings 1
give $_1 boots 1
give bow 1
give arrow $_2
give cooked porkchop 1
give cooked porkchop 1
give cooked porkchop 1
give cooked porkchop 1
health max


Where /macro diamond 32 will outfit you with a full set of diamond armor and 32 arrows.


Use /help <COMMANDNAME> to find out information about normal commands. For example - /help world

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) so long as they contain quality content. They should also be on youtube so they can be embedded in the forum.

Picture in the Spotlight by AtomicPaperclip
Posted Image

Video in the Spotlight by mandydax


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:



Installation Instructions

Automated Installation
1. Double click the .JAR file to run it. Note that if double clicking the file doesn't open it you can also run it from command line/console/terminal as described below:

-Open command line (Windows) /console (Unix/Linux) /terminal (MAC)
-Navigate to where the installer is, for example it might be:
cd C:\Users\Example\My Documents\Downloads
-Type in the following: java -cp <DOWNLOADNAME> com.sijobe.installer.Installer
Where <DOWNLOADNAME> is the name of the .JAR file, ie: SinglePlayerCommandsV2.11.jar

2. Once the installation screen is up verify that the filepath that is displayed is
pointing to where Minecraft is installed.
3. Click the Install button and the installation will start, a popup message will
appear when the installation is finished.

Backup MCJAR - Allows you to backup the Minecraft.jar at the click of a button
Backup Worlds - Allows you to backup all your worlds at a click of a button

Note: Both backup methods put the backups into, .minecraft/backups



Manual Installation
1. Go to the ".minecraft/bin" directory and backup minecraft.jar
2. Using 7zip or equally capable archive viewer open minecraft.jar
3. Delete the META-INF folder (if on a MAC *only* delete the Mojang_c files)
4. Copy ALL the ".class" files contained within the mod to minecraft.jar, replacing the existing files.
5. Close minecraft.jar
6. Copy ALL the ".jar" files contained within the mod to the ".minecraft/bin" directory (the same directory as minecraft.jar). This means copy WorldEdit.jar into ".minecraft/bin" NOT into Minecraft.jar
7. Enjoy the mod.

Windows Help:

Alternate: http://www.youtube.c...h?v=P339g_ib6pY

MAC Help:

Alternate: http://www.youtube.c...h?v=LInGjC28G2U

Further installation help for MAC users: Click Here.
Further installation help to Windows users: Click Here

MyCraft Installation
If you would like to install this mod with MyCraft here is a simple video you can follow for details regarding this.


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.

You're on a Mac - Many Macs can't handle Java files compiled in 1.6.X. Try this guide to get mods compiled in Java build 1.6.X to run under a Mac or this video http://www.youtube.c...h?v=odcYUjEXTpw. If the first links don't work or aren't applicable try this.
Game black screens while loading - You forgot to delete META-INF or you left out some class files. Double check that you've got all the class files from the mod by redownloading the latest version and dragging all class files over to minecraft.jar.
Chat Window doesn't show up - Check that the SPC welcome message appears when you start a World, if it doesn't you haven't installed the mod correctly. Make sure all .class files in the mod are put into Minecraft.jar. Otherwise post in this thread.

If you don't get an error log, but instead the game completely crashes without a warning: We can tell you what we think is happening, but that isn't necessarily what is happening. If our suggestions don't help, follow the instructions in this guide and post the error log that you get. For our sakes, please enclose the error log in code tags.

If, when attempting this on Windows, you get an error that tells you "java is not recognized as an internal or external command", that means that you don't have Java set up properly in your environment variables. Follow the instructions here for setting your environment variable.

NOTE: Always make sure that your copy of Java is up to date. At the very least, get the most up-to-date version of Java for your OS from the official Java download page.

If you have a problem not mentioned here, or the solutions don't work for you, then be as detailed as possible in your post. Include:

When the game crashes
If there is an error log, copy and paste that here
Your OS
Your version of Java
Other mods installed

Thanks to Trunksbomb for the troubleshooting section.

Compatibility

ModLoader IS compatible with this mod V1.4 and above.
Xau's patcher is compatible with this mod V2.0 and above.
SDK's mods are compatible with this mod V2.0 and above.
ShockAhPI compatibility with this mod V2.10_2 and above.

PlayerAPI compatibility available here

All other major mods *should* work, let me know if otherwise.

Known Issues

/skin It keeps the Mojang cape or ears (if the previous skin had them) when you reset your skin with the reset parameter. Use /skin YourUsername to force the cape or ears to go away.
/ride may crash the game if bound to a key

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 3.1.1 for MCP 5.6 Download Now
SPC 3.0.1 for MCP 5.0 Download Now
SPC 2.12.1 for MCP 4.4 Download Now
SPC 2.11.1 for MCP 4.3 Download Now
SPC 2.9_1 for MCP 3.3 Download Now
SPC 2.9_DEV for MCP 2.12: Download Now

Installer
The installer used with Single Player Commands is free open source software and available to anyone to use. The project home page is located here: https://code.google.com/p/mci/

If you would like to see more mods using this installer I would recommend you contact the owners and ask them to provide a download with it included.

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 =)

Need a server to join?
Posted Image



Emperor Penguin was kind enough to create these banners for the mod. Feel free to include this in your signature.
Posted Image
[url=http://www.minecraftforum.net/index.php?showtopic=94310&view=findpost&p=1464349][img]http://i.imgur.com/rifZD.png[/img][/url]


Posted Image
[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 ©(2011) 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.)


Feel like motivating me to add in more features and fix existing bugs or just feel like saying thank you? Even a small contribution I will greatly appreciate!

Posted Image
705

Register or log in to remove.

#2 User is offline

  • Group: Members
  • Posts: 1
  • Joined: 17-September 10

Posted 06 December 2010 - 07:51 AM

Thanks for this!
34

#3 User is offline

  • Group: Members
  • Posts: 14
  • Joined: 01-March 10

Posted 06 December 2010 - 07:57 AM

Nice!

What happens if you just type into it though? Without any /, or what happens if you error it? It doesn't give you a massive traceback does it o.o"
10

#4 User is offline

  • Group: Members
  • Posts: 2803
  • Joined: 29-November 10

Posted 06 December 2010 - 08:01 AM

Nothing happens, I imitated the behavior of SMP.

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'
16

#5 User is offline

  • Group: Members
  • Posts: 6
  • Joined: 30-October 10

Posted 06 December 2010 - 11:27 AM

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.
3

#6 User is offline

  • Group: Members
  • Posts: 25
  • Joined: 29-October 10

Posted 06 December 2010 - 12:19 PM

This mod froze my Single-Player worlds (old and new) and I had to re-install Minecraft AND put ALL of my mods back.
2

#7 User is offline

  • Group: Members
  • Posts: 2803
  • Joined: 29-November 10

Posted 06 December 2010 - 12:23 PM

Garwow said:

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...
9

#8 User is offline

  • Group: Members
  • Posts: 2803
  • Joined: 29-November 10

Posted 06 December 2010 - 12:44 PM

Powerkillera said:

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?
3

#9 User is offline

  • Group: Members
  • Posts: 11
  • Joined: 06-December 10

Posted 06 December 2010 - 12:45 PM

I wasn't able to get this to work...

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?
2

#10 User is offline

  • Group: Members
  • Posts: 2803
  • Joined: 29-November 10

Posted 06 December 2010 - 12:48 PM

dkarrde said:

I wasn't able to get this to work...

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.
2

#11 User is offline

  • Group: Members
  • Posts: 11
  • Joined: 06-December 10

Posted 06 December 2010 - 12:54 PM

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.
1

#12 User is offline

  • Group: Members
  • Posts: 6
  • Joined: 30-October 10

Posted 06 December 2010 - 12:55 PM

Sorry, my mistake. The class was bq, not cy.
1

#13 User is offline

  • Group: Members
  • Posts: 2803
  • Joined: 29-November 10

Posted 06 December 2010 - 12:57 PM

Hehe, no worries.

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!
2

#14 User is offline

  • Group: Members
  • Posts: 2803
  • Joined: 29-November 10

Posted 06 December 2010 - 01:10 PM

Powerkillera said:

Sorry, my mistake. The class was bq, not cy.


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.
3

#15 User is offline

  • Death
  • Lapis Lazuli Collector
  • Group: Members
  • Posts: 1128
  • Joined: 23-July 10

Posted 06 December 2010 - 01:22 PM

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
Apparently Macys has been in my life for over 400 years!
3

#16 User is offline

  • Group: Members
  • Posts: 2803
  • Joined: 29-November 10

Posted 06 December 2010 - 01:44 PM

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.
3

#17 User is offline

  • Death
  • Lapis Lazuli Collector
  • Group: Members
  • Posts: 1128
  • Joined: 23-July 10

Posted 06 December 2010 - 01:47 PM

so in other words: you'll work on it?
Apparently Macys has been in my life for over 400 years!
1

#18 User is offline

  • Group: Members
  • Posts: 2803
  • Joined: 29-November 10

Posted 06 December 2010 - 01:54 PM

Will check tomorrow.. not sure how much I can do about it.
3

#19 User is offline

  • Group: Members
  • Posts: 25
  • Joined: 29-October 10

Posted 06 December 2010 - 02:51 PM

simo_415 said:

Garwow said:

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

It was the bq.class
1

#20 User is offline

  • Group: Members
  • Posts: 2803
  • Joined: 29-November 10

Posted 07 December 2010 - 08:14 AM

Garwow said:

It was the bq.class


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.
15

Share this topic:


  • 854 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

183 User(s) are reading this topic
10 members, 172 guests, 1 anonymous users

  1. 27andreas27,
  2. Saidas,
  3. nici638,
  4. meinekraft1,
  5. GabrielGelatti,
  6. Intrspace (CZ),
  7. Kroseklan4,
  8. Benxis,
  9. DJBNY,
  10. Aurelia