Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
Minecraft Force-Op
SUBMITTED BY:
Guest
DATE:
April 10, 2014, 11:46 p.m.
FORMAT:
Java
SIZE:
470 Bytes
Raw
Download
Tweet
HITS:
134147
Go to comments
Report
//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
);
}
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus