Team Manifest

Team Manifest
 
HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  

Share | 
 

 [TUT] Name Changer [/TUT]

View previous topic View next topic Go down 
AuthorMessage
TM_Monster



Posts : 1
Join date : 2012-03-18
Age : 20
Location : United States

PostSubject: [TUT] Name Changer [/TUT]   Sun Mar 18, 2012 10:21 pm

Go to EntityClientPlayerMp
And Under public void sendChatMessage
Add this


Code:

Code:

if(par1Str.startsWith(".name"))
 {
 try
 {
 String cmd[] = par1Str.split(" ");
 String host = cmd[1];mc.session = new Session((new StringBuilder()).append(host).toString(), "")
 mc.thePlayer.addChatMessage("\247c Name Changed Reconnect To The Server");
 }
 catch(Exception ex)
 {
 mc.thePlayer.addChatMessage("\247cError: User .name test");
 }
 }

Sorry this is not skid-proof.
Back to top Go down
View user profile
 
[TUT] Name Changer [/TUT]
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» bill changer machine..?
» Firefox 4 - Mybrute stuff
» Can You Make Wolfenstein Characters in Other Graphics Engines?
» How to control Stepper motor ?
» HEELP!!!!!!!!!

Permissions in this forum:You cannot reply to topics in this forum
Team Manifest :: Minecraft :: Minecraft Coding-
Jump to: