Social Icons

Saturday, 5 May 2012

Spam code for eclipse {Minecraft hack client}

Credit To :FrogIsHam

Notch/Bukkit has added spam protection so the new max limit of spamming is 10.
This code goes right under
protected void joinEntityItemWithWorld(EntityItem entityitem)
in EntityClientPlayerMP
Enjoy

}
if(s.startsWith(".spam"))
{
try
{
String as[] = s.split("=");
String s1 = as[1];
int i = Integer.parseInt(as[2]);
for(int j = 0; j < i; j++)
{
sendQueue.addToSendQueue(new Packet3Chat(s1));
}

}
catch(Exception exception)
{
mc.thePlayer.addChatMessage("\247cUsage .spam=message=10");
}
}
if(!s.startsWith("."))
{
sendQueue.addToSendQueue(new Packet3Chat(s));

No comments:

Post a Comment