Jump to content

Favorlock

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Favorlock's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Yeah, I finally got it to work. I didn't quite grasp how to use it properly when I first tried but then by going through some of the minecraft code trying to understand the chat system finally understood how it all worked. Works great now. My chat prefixing mod works perfectly with the permission system my friend and I wrote.
  2. Hey there, I'm currently working on a prefixing plugin, but I'm currently stuck with a username problem. Currently I have to insert the prefix into the username, which is obviously a no-no because it causes the client to crash for having a username greater than 16 characters. So far I've determine that by implementing IChatListener I can modify the message and I can get the player with the NetHandler, but I cannot find a way to modify the rest of the message. So let me provide some examples: Normal Chat: <Favorlock> message Desired Chat: [prefix] <Favorlock> message If possible I would like to change the brackets around the username as well, but seeing as I can't find a way to edit anything but the username and the message I'm at a loss. Any suggestions, tips, pointers? Anything would be appreciated.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.