Username Tooltips

Discussion in 'Archived: Plugin Requests' started by Penguinaz, Apr 26, 2014.

  1. Offline

    Penguinaz

    Name: UserTooltips

    Hello. You guys know about the new chat tooltips in 1.7? Like where you can hover over text and a popup caption appears (for example when you hover over a named sword in chat and a tooltip appears showing the enchants)?
    If you aren't sure what I mean do this in Minecraft:
    Code:
    /tellraw @a {text:"HOVER",hoverEvent:{action:show_text,value:"This is a test"}}
    Replace @a with your username

    Would it be possible for someone to design a plugin, where when hover over certain peoples username in chat, a custom message comes up?
    Example:

    Say I was the "Head Architect and Quality Manager" of "Blablabla Network"

    Using conventional rank titles that would be too long
    [Head Architect and Quality Manager] penguinaz: hi der

    But with this plugin My chat name would just look like
    penguinaz: hi der

    But when someone hovers over "penguinaz" a tooltip appears saying "Head Architect and Quality Manager"

    The config file could be like:
    Code:
    #perm: message1.usertooltips
    message1: "Evil CEO of the universe"
    #perm: message2.usertooltips
    message2: "Director of lorem ipsum"
    #perm: message3.usertooltips
    message3: "Admins of doooooooom"
     
     
    etc.
    So if I gave the admins message3.usertooltip node, their chat tooltip would be Admins of doooooooom.

    Hope this could be made!
     
  2. Offline

    valon750

    Penguinaz

    This is most definitely possible, just has to override the chat so it sets up the name this way. Of course extra work would be needed to avoid it messing with say, prefixer plugins.
     
  3. Offline

    timtower Administrator Administrator Moderator

    Probably best off using packet manipulation on this one
     

Share This Page