Ok First go to your PacketManager.java
and find
There you should find something like this
Code:
int objectId = p.stream.readUnsignedWordA();
break;
Now to add the text you want to write this code
Code:
int objectId = p.stream.readUnsignedWordA();
if (objectId == (ITEM CODE HERE)) {
p.frames.sendMessage(p, "TEXT HERE.");
}
else {
p.frames.sendMessage(p, "An object.");
break;
}
Save and Compile
What its doing is that if the objectID equals of what you wrote it will send a message to the frames. And if there is no object that equals what you wrote then it will say "An Object". To add more object examine's just cope and past and change the ObjectID.