Request: Auto-Complete Usernames in General Chat

Discussion in 'Archived: Plugin Requests' started by gdea73, Sep 30, 2011.

  1. Offline

    gdea73

    Plugin Request:
    Auto-Complete Usernames (in general chat) with Syntax:
    I've always found auto-completion of names very useful with commands (ex. /msg King = /msg Kingloon2). I thought this would be cool to use in the general chat box.
    This is how it would work:
    (CptDurr joins the game)
    (gdea73 *types*: hey @cpt)
    (and the output...)
    <gdea73>: hey @CptDurr

    I imagine this would be fairly simple to implement, and if it is, then that would be great. However there might be a catch, which would make it more convenient. If this could be compatible with Essentials Group Manager and EssentialsChat, that would be even better. Example: CptDurr has prefix &b before his username, making it appear cyan. The same dialog would now read:
    (CptDurr joins the game)
    (gdea73 *types*: hey @cpt)
    (and the output...)
    <gdea73>: hey @CptDurr

    Also, in a configuration file, I'd like to see a few options (ideally):
    EssentialsChatCompatible: true/false (or maybe EssChat is a prerequisite...?)
    AtSignColor: [0-9] or [a-f]

    Additionally, the sole permission node would be:
    Code:
    autocomp.autocomp
    or something of the like.

    Of course this is all hypothetical, a request, and something I would greatly enjoy being able to use. Now I have a few questions for you
    - would this be fairly easy to implement?
    - would you find this a useful plugin as well?
    - is there anything else you would add/change?
    (and if you find it easy to implement, and you can, and are willing)
    - would someone consider creating it?

    Note: Support for EssentialsChat, I suppose, would be optional. It just would be a nice touch, and would help make the user's name stand out so they know they're being mentioned. I imagine this to be like tagging someone in a Facebook update, except with autocomplete.

    Thanks in advance...​
    - gdea73 -​
     
  2. Offline

    Pinkishu

    AtSignColor => only colors the @ sign or the nick after it too?
    sound nice though, i can give it a try, should be easy enough I think

    Well I got a working prototype now, still have to add the Essentials Support though
     
  3. Offline

    gdea73

    Incredible, thanks for picking up the idea! :)
    I meant by the at sign color attribute to be the color of the @ symbol. I would rather not have it change the color of the username because that can already be set through Essentials. Although I don't know. Maybe there could be two separate options, but it could conflict with username prefixes in EssentialsChat.

    And again, this plugin without EssentialsChat support would still be awesome :)

    I realize having to get username prefix information from EssentialsChat might be more difficult... so why not make the AtSignColor attribute be the general color (&b for example) of tagged usernames, so that would be both the at symbol and the username. I guess to eliminate confusion, in a configuration file, it could be called TagColor.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016

Share This Page