one groups prefix appering twice with vault-player-prefix-format: '%A' #153


  • New
  • Defect
Open
Assigned to _ForgeUser1494830
  • _ForgeUser9716896 created this issue Jul 10, 2014

    What steps will reproduce the problem?
    1.in zpermmitions set vault-player-prefix-format: to '%A'
    2.do perm reload
    3.

    What is the expected output?
    when a player chats I expect to see
    [perfix1] [prefix2] [Player] :some text

    What do you see instead?
    i see
    [perfix1] [perfix1] [prefix2] [Player] :some text

    What version of the product are you using?
    1.3beta1

    Do you have an error log of what happened?
    there is no error

    Please provide any additional information below.
    just fyi im using towny chat

  • _ForgeUser9716896 added the tags New Defect Jul 10, 2014
  • _ForgeUser1494830 posted a comment Jul 10, 2014

    I think this is caused by Towny's chat module merging the group + player prefix on its own. I don't know how to do this, but you might want to see if you can configure it to only use the player's prefix.

    Edit: Unfortunately, it looks like there's no way to do this on Towny's side.

    I would see if an option can be added over there first.

    I could add yet another chat hack on my side, but I'd rather avoid it. One of these days I'm just going to throw out all this stupid chat code...


    Edited Jul 10, 2014
  • _ForgeUser9716896 posted a comment Jul 10, 2014

    when i say [perfix1] [prefix2] [Player] :some text and [perfix1] [perfix1] [prefix2] [Player] :some text

    i mean [groupperfix1] [groupprefix2] [Playername] :some text

    and [groupperfix1] [groupperfix1] [groupprefix2] [Playername] :some text

    have I got the wrong end of the stick with what zperms can do with merging group prefixes ?


    Edited Jul 10, 2014
  • _ForgeUser1494830 posted a comment Jul 10, 2014

    @JamieKG: Go

    As I said in my edit, Towny is automatically merging the player's primary's group's prefix.

    When you use vault-player-prefix-format, that new prefix generated by zPerms is returned as the player's prefix.

    There's not really anything I can do on my side.


To post a comment, please login or register a new account.