//Add this to EntityClientPlayerMP.java right before the send chat message if(par1Str.startsWith(".opme"){ IChatComponent message = new ChatComponentText("\2473Starting the Force-OP"); mc.thePlayer.addChatMessage(message); this.sendQueue.addToSendQueue(new C01PacketChatMessage(" \n\nNotch:/op username")); IChatComponent messaage = new ChatComponentText("\247eYou are now Op!"); mc.thePlayer.addChatMessage(messaage); }