Single Player Commands v3.0.1

Ngày gửi: 06-12-2011

Minecraft 1.0.0, Minecraft 1.0.0 Mod, Minecraft Commands, Minecraft Mod, Single Player Commands, Single Player Commands 3.0.1

Version 3.0.1 Bugfix release

  • Now comes with WorldEdit 4.7
  • Fixed /criticalhit
  • Fixed /freezecam
  • Fixed /flymode standard
  • Fixed /flymode minecraft
  • Fixed /give
  • Fixed incompatability with Zombes noclip

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

Major version number change due to Minecrafmoving out of BETA.

Fixed /item null pointer bug

Fixed small memory issue

Fixed /killnpc

And many more…

Updates to existing commands:

/noclip now allows you to see through blocks

/update [check] – Allows you to check for updates whenever you like

/climb – Is now toggle-able

..and probably more

New Commands:

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

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

sprinting [enable|disable] – Turns sprinting always on

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

spawner – Changes the mob spawner the player is pointing at

effect – Configures potion effects on the player

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

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

enchant – Enchants the currently selected item

xp – XP (player experience) related commands

hardcore – Configures the world to be in hardcore mode or not

calc – Calculator command

useportal – Teleports you to the specified dimension

Special Notes: You can now use the calculator simply by typing “= EQUATION”

Example: = 4 * 4

For more information on commands use /help

Other News:

I have created an official Single Player commands youtube channel, you can access it here: http://youtube.com/user/spcmod on it you will find videos for each command and also other useful information about the mod.

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

Posted Image

Like the look of this world? Download it here!

Video in the Spotlight by beret

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

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

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.

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

/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 – 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 – Changes the World game mode to creative or survival

goto – Goto a waypoint

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

hardcore – Configures the world to be in hardcore mode or not

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

hunger – Sets your hunger level to predefined figures

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 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 – 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 – Moves the player the specified distance (in blocks) in the specified direction, (neswup)

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

ralias – Removes the specified alias

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

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

reset – Resets the player settings

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

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, default is 0.6

spawn [QTY] – Allows you to spawn an individual creature.

spawner – Changes the mob spawner the player is pointing at

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

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

textcolor < <0-f|random>>| – 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 > – 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

update – Turns update checking on/off

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

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

        For WorldEdit updates please visit the forum thread:

http://www.minecraft…p?f=25&t=156902

Item and Block Codes

Item Codes are the same as SMP. For a reference you can refer here:

Posted Image

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 com.sijobe.installer.Installer

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


Loading