Jump to content

Help
Latest News Article

[1.2.5] Single Player Commands [V3.2.2] - Official Download

spc single player single player commands mod commands command mod simo_415 noclip fly

19755 replies to this topic

#1

Posted 06 December 2010 - 07:38 AM

*
POPULAR

Single Player Commands

Version 3.2.2 for Minecraft 1.2.5


WARNING: DO NOT USE THE /ATLANTIS COMMAND. THIS WILL DESTROY YOUR WORLD.
Download Automated Installation [Preferred] - [Alternate]
Click here for a video tutorial on how to use the installer


Download Manual Installation [Preferred] - [Alternate]



Spotlight
Command List
Item and Block codes
Downloads
Installation Instructions
Troubleshooting Minecraft Coder Pack (MCP) Compatibility

Release Details

Huge thank you to LoRaM100 for helping fix the OP! Also thanks to all the active members of this thread keeping it alive and helping out people with problems, off the top of my head LoRaM100 , dolphe and Scix.


Version 3.2.2

Thanks everyone for being good sports with the April fools /roll command prank. For those who missed it, or for those of you who liked it, here is the plugin. Just add it to Minecraft.jar like installing other mods. If you want a different song, simply download a MIDI sound file and name it SPCPatch.class and place it in Minecraft.jar

Download April Fools 2012

--

Compatible with Minecraft 1.2.5

Fixed the most common cause of "spc_WorldEdit.class could not be loaded" error

Known Issues:
1. WorldEdit wand doesnt select region correctly.
Workaround: Use //hpos1 and //hpos2 to make selections with the mouse
2. Superpunch doesn't work
Workaround: none.
3. /freeze and /mobdamage skeletons can still shoot you
Workaround: turn player damage off /damage they'll still shoot but you'll
receive no damage


Version 3.2.1

Removed the /atlantis command due to bug
Fixed /biome command
Fixed crash occurring with /music command

Known Issues:
1. WorldEdit wand doesnt select region correctly.
Workaround: Use //hpos1 and //hpos2 to make selections with the mouse
2. Superpunch doesn't work
Workaround: none.
3. /freeze and /mobdamage skeletons can still shoot you
Workaround: turn player damage off /damage they'll still shoot but you'll
receive no damage


Version 3.2
/ignite - Ignites the block that you're pointing at on fire
/effect remove all - Removes all effects on the player

New WorldEdit version 5.3 for up to height 256

Adjusted SPC's commands to use 256 max height
Fixed /fog stack trace bug
Fixed WorldEdit reaching distance
Fixed WorldEdit wand positions (I think)


New plugin! /if command http://www.minecraft...dated-18022012/

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 OhhWhiteout


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 <list|unlock> - Allows you to list or unlock all achievements
alias <NAME> <COMMAND> {ARGS} - Allows you to assign an alias to one or more words
ascend - Moves you to the next platform above your position
biome - Tells you what biome you are currently in
bind <KEYCODE> <COMMAND> {COMMANDPARAMS} - Binds a command to a keyboard button.
bindid <ID> <COMMAND> {ARGS} - Binds a command to a keyboard key using the key id
binditem <MOUSEBUTTON {COMMAND}> - 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 <drop|get|fill|swap|clear> - 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 <setglobal [reset]> - Allows you to set the global configuration file as your current configuration
confusesuicide - Makes mobs attack one another
creeper <explosion [enable|disable]> - 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 <LEVEL> - 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 <list|remove TYPE|add TYPE [DURATION] [STRENGTH]> - Configures potion effects on the player
enchant <list|remove|add TYPE [LEVEL]> - 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 <QTY> - Adds the specified quantity to your food bar
firedamage - Turns fire damage on/off
flammable <BLOCK> [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 <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 V3.2.2 for Minecraft 1.2.5
Download Automated Installation [Preferred] - [Alternate]
Click here for a video tutorial on how to use the installer


Download Manual Installation [Preferred] - [Alternate]

Previous Downloads
Spoiler



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
Spoiler


Manual Installation
Spoiler



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



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.2.2 for MCP 6.2 Download Now

Spoiler



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


Register or log in to remove.

#2

    TheJosh

    Out of the Water

  • Members
  • 4 posts

Posted 06 December 2010 - 07:51 AM

*
POPULAR

Thanks for this!

#3

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"

#4

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'

#5

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.

#6

    Garwow

    Tree Puncher

  • Members
  • 25 posts

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.

#7

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

#8

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?

#9

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?

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

#11

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.

#12

Posted 06 December 2010 - 12:55 PM

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

#13

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!

#14

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.

#15

    Death

    Obsidian Miner

  • Members
  • 1273 posts

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!

#16

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.

#17

    Death

    Obsidian Miner

  • Members
  • 1273 posts

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!

#18

Posted 06 December 2010 - 01:54 PM

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

#19

    Garwow

    Tree Puncher

  • Members
  • 25 posts

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

#20

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.