Display a town(Towny) name in chat with EssentialsChat?

Discussion in 'Bukkit Help' started by IronHoarder, Jul 13, 2012.

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

    IronHoarder

    Yeah, the title explains my problem.
     
  2. Offline

    JWhy

    You should be able to add some of these keys to your EssentialsChat chat format (that's a section/setting in Essentials' config.yml):
    Code:
      # {townytag} - Displays the formated town/nation tag as specified in modify_chat.tag_format.both.
      # {townyformatted} - Displays the formated full town/nation names as specified in modify_chat.tag_format.both.
      # {townytagoverride} - Displays the formated town/nation tag (if present) or falls back to the full names (using modify_chat.tag_format.both).
     
      # {title} - Towny resident Title
      # {surname} - Towny resident surname
      # {townynameprefix} - Towny name prefix taken from the townLevel/nationLevels
      # {townynamepostfix} - Towny name postfix taken from the townLevel/nationLevels.
      # {townyprefix} - Towny resident title, or townynameprefix if no title exists
      # {townypostfix} - Towny resident surname, or townynamepostfix if no surname exists
     
      # {townycolor} - Towny name colour for king/mayor/resident
      # {group} - Players group name pulled from your permissions plugin
      # {permprefix} - Permission group prefix
      # {permsuffix} - Permission group suffix.
     
      # {playername} - Default player name.
      # {modplayername} - Modified player name (use if Towny is over writing some other plugins changes).
      # {msg} - The message sent.
     
      # {channelTag} - Defined in the channels entry in Channels.yml
      # {msgcolour} - Defined in the channels entry in Channels.yml
    format: '{DISPLAYNAME}> {MESSAGE}'
    =>
    format: '[{}townytag]{DISPLAYNAME}> {MESSAGE}'

    This will result in something like
    [Townyfan] Ironharder> Hi!
     
  3. I'm having the same problem, and by adding townytag it does not work.
     
  4. Offline

    Necrodoom

    switch to townychat to keep towny settings.
     
Thread Status:
Not open for further replies.

Share This Page