Looking for a super simple prefix/suffix chat plugin

Discussion in 'Bukkit Discussion' started by mbaxter, Feb 3, 2013.

Thread Status:
Not open for further replies.
  1. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    The plugin I'm looking for should have the following attributes:
    • Lightweight
      • No extra nonsense. Just adding prefix and suffix to chat.
    • Permissions-based
      • Assign node, get prefix/suffix.
      • Not Vault, or directly hooking a permissions plugin.
    • Easy to configure
    • Up to date
      • Not abandoned in early 2012 and still using outdated Bukkit API.
    • On BukkitDev (provide a link)
    There's a billion billion chat plugins, so I thought I'd just ask around and see what you guys already use and like. :)
     
  2. Offline

    crushh87

    I use IChat and it works well or PEX & ChatManager are simpler just use the
    Set-message format command
    /pex group Admins set message-format "&4[admin] &f%player: %message"

    Edit: mbaxter
     
  3. Offline

    schmidtbochum

    If you use Essentials:
    EssentialsChat does exactly what you want.
     
  4. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

  5. Offline

    crushh87

    Pex and ChatManager do exactly what you want
    Lightweight if you already use PEX for permissions just install chatmanager
    Permission node based off your PEX groups.
    Very easy to configure just one simple command
    No Vault needed
    Up to date

    and I guess here is he link to fulfill your requirements Here
     
    lol768 likes this.
  6. Offline

    codename_B

    I'm not sure if there is one.
    I'll go write one :p
     
  7. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    crushh87

    I asked for a chat plugin, not a permissions plugin. Especially not a bug-filled one.

    codename_B

    Writing my own in response to the underwhelming response.
     
  8. Offline

    codename_B

    mbaxter would you like to work together? Perhaps we can join ideas and make an even better one.
     
  9. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    codename_B Happy to collaborate, perhaps chat later on IRC?
     
  10. Offline

    codename_B

    mbaxter sounds like a plan. I'll be on IRC in about 2 hours for a bit :)
     
  11. Offline

    zipfe

    Tehe, bax and codename gonna get a room together. <3
     
    jorisk322 likes this.
  12. Offline

    codename_B

    mbaxter first draft

    http://pastie.org/6074668

    Test code shows promising results
    Code:
    public static void test() {
            /*
             * Basic format
             * {prefix, admin, admin.prefix}
             * {prefix, moderator, moderator.prefix}
             * {prefix, user, user.prefix}
             */
            Set<String> permissions = new HashSet<String>();
            FormatHandler handler = new FormatHandler();
            handler.setFormat("[<prefix>] <name>: <message>");
            // 
            permissions.add("color.chat");
            permissions.add("admin.prefix");
            //
            handler.addFormat(new Format<String>("prefix", "admin", "admin.prefix"));
            handler.addFormat(new Format<String>("prefix", "moderator", "admin.prefix"));
            handler.addFormat(new Format<String>("prefix", "user", "user.prefix"));
            //
            String message = "hello there!";
            //
            Test test = new Test(permissions);
            System.out.println(handler.format(message, "codename_B", test));
        }
    
    prints
    Code:
    [admin] codename_B: hello there!
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
  13. Offline

    evilmidget38

    codename_B Typical high-quality codename_B code.

    crushh87 I can guarantee that mbaxter isn't using PEX.
     
    -_Husky_- likes this.
  14. Offline

    codename_B

    evilmidget38 I swapped the last few lines into a trinary operator, just for fun.
     
  15. Offline

    evilmidget38

    codename_B I don't see any conditional assignments, mind updating your code to show what you mean?
     
  16. Offline

    codename_B

  17. Offline

    evilmidget38

    codename_B Oh, okay. I only did a brief glance at paste, I was mostly looking at the test code.
     
  18. Offline

    crushh87

    Well how am I suppose to know that? :D Every server has permissions, and a lot of them use PEX so maybe his does too.
     
  19. Offline

    evilmidget38

  20. Offline

    crushh87

    The plugin I suggested is chatmanger, which is not a permissions plugin. I just said if your are using PEX, chatmanger is not bad. But it seems you don't like PEX so i guess chatmanger is out of question
     
  21. Offline

    baem

    is this a bad joke?
    a moderator & bukkit dev staff doesnt know the common Chat plugins?
    crushh87 informs him about a Chat plugin that fulfills his "attributes list"
    the Moderators answer is: " i asked for a Chat plugin, not a permissions plugin"

    :eek:
     
  22. Offline

    rguz10

    They are still people, and can say what they want to. To them it doesn't really matter if it comes off right it wrong. To me everything he said seems just fine. Ya there are a lot of common chat plugins but they are either a. Really complicated and are not "simple" or b. Need another plugin to go with it such as essentials or PermissionsEX.
     
  23. Offline

    Necrodoom

    1. chatmanager requires PEX to work, thus doesnt fulfill "No extra nonsense"
    2. directly hooks to PEX.

    assuming you dont know the common chat plugins?
     
  24. Offline

    TnT

    Also can be included: Is not lightweight.

    I was going to recommend ChatSuite, but that doesn't fit his lightweight needs, even though its specifically a chat management plugin.
     
  25. Offline

    XanderCrews01

    I think other admins looking for a light-weight chat solution might find this useful. Will you be posting this on dev.bukkit codename_B, mbaxter?
     
  26. Offline

    codename_B

    I/we will be, at some point yeah. I think what I designed was more than the simplistic solution he was looking for haha. :3

    http://dev.bukkit.org/server-mods/bformatted/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
    XanderCrews01 likes this.
  27. Offline

    gomeow

    fancy
     
Thread Status:
Not open for further replies.

Share This Page