Essentials Chat Group-Based Chat not Working

Discussion in 'Spigot Plugin Help' started by pdugery, Jun 15, 2018.

  1. Here is my essentials chat config. I hope to have everything look as formatted in the "group-formats:" section, however things do not look like that at all. The chat looks like this: &7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}, despite the line that does that being commented out, as I believe it should be.

    Config - https://pastebin.com/hW2cmu7s

    For clarification, here's what the chat looks like: https://imgur.com/a/Pml3JBp

    For example, as shown in the chat config, I would hope the FullAdmin rank would look like this: &8[&cAdministrator&8] &7username &8» &7message.

    Thanks for your help.
     
  2. You need to add some indentation before the names of your ranks, otherwise the YAML reader does not understand that the line "Nomad: ..." has the line "group-formats:" as their parent.

    Example:
    Before: (this does not work)
    Code (YAML):
     group-formats:
     Nomad
    : '&8[&7Nomad&8] &7{DISPLAYNAME}&8 »&7 {MESSAGE}'
     Explorer
    : '&8[&aExplorer&8] &7{DISPLAYNAME}&8 »&7 {MESSAGE}'
    After: (this should work)
    Code (YAML):
     group-formats:
        Nomad
    : '&8[&7Nomad&8] &7{DISPLAYNAME}&8 »&7 {MESSAGE}'
        Explorer
    : '&8[&aExplorer&8] &7{DISPLAYNAME}&8 »&7 {MESSAGE}'
    (I fixed your complete config here: https://pastebin.com/JF0eGLvJ)
     
    • Useful Useful x 1
  3. Thank you. It worked. I knew it was going to be something so simple.
    .
     
    • Optimistic Optimistic x 1