Guest

Untitled

By: a guest on Jan 28th, 2012  |  syntax: YAML  |  size: 5.76 KB  |  hits: 47  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1.   # The formats below will specify the changes made to the player chat when talking.
  2.   # These keys can be used in other plugins that modify the chat format like iChat.
  3.  
  4.   # {worldname} - Displays the world the player is currently in.
  5.   # {town} - Displays town name if a member of a town.
  6.   # {townformatted} - Displays town name (if a member of a town) using tag_format.town.
  7.   # {towntag} - Displays the formated town tag (if a member of a town) using modify_chat.tag_format.town.
  8.   # {towntagoverride} - Displays the formated town tag (if a member of a town and present) or falls back to the full name (using modify_chat.tag_format.town).
  9.  
  10.   # {nation} - Displays nation name if a member of a nation.
  11.   # {nationformatted} - Displays nation name (if a member of a nation) using tag_format.town.
  12.   # {nationtag} - Displays the formated nation tag (if a member of a nation) using modify_chat.tag_format.nation.
  13.   # {nationtagoverride} - Displays the formated nation tag (if a member of a nation and present) or falls back to the full name (using modify_chat.tag_format.nation).
  14.  
  15.   # {townytag} - Displays the formated town/nation tag as specified in modify_chat.tag_format.both.
  16.   # {townyformatted} - Displays the formated full town/nation names as specified in modify_chat.tag_format.both.
  17.   # {townytagoverride} - Displays the formated town/nation tag (if present) or falls back to the full names (using modify_chat.tag_format.both).
  18.  
  19.   # {title} - Towny resident Title
  20.   # {surname} - Towny resident surname
  21.   # {townynameprefix} - Towny name prefix taken from the townLevel/nationLevels
  22.   # {townynamepostfix} - Towny name postfix taken from the townLevel/nationLevels.
  23.   # {townyprefix} - Towny resident title, or townynameprefix if no title exists
  24.   # {townypostfix} - Towny resident surname, or townynamepostfix if no surname exists
  25.  
  26.   # {townycolor} - Towny name colour for king/mayor/resident
  27.   # {group} - Players group name pulled from your permissions plugin
  28.   # {permprefix} - Permission group prefix
  29.   # {permsuffix} - Permission group suffix.
  30.  
  31.   # {playername} - Default player name.
  32.   # {modplayername} - Modified player name (use if Towny is over writing some other plugins changes).
  33.   # {msg} - The message sent.
  34.  
  35.   # {channelTag} - Defined in the channels entry in Channels.yml
  36.   # {msgcolour} - Defined in the channels entry in Channels.yml
  37.  
  38.   # Text colouring
  39.   # --------------
  40.   # Black = &0, Navy = &1, Green = &2, Blue = &3, Red = &4
  41.   # Purple = &5, Gold = &6, LightGray = &7, Gray = &8
  42.   # DarkPurple = &9, LightGreen = &a, LightBlue = &b
  43.   # Rose = &c, LightPurple = &d, Yellow = &e, White = &f
  44.  
  45.   # Spam_time set the minimum time between messages to be flagged as spam
  46.   spam_time: 0.5
  47.  
  48.   channel_formats:
  49.    # This is the format which will be used for GLOBAL chat/channels.
  50.     # This is also the format used when you have modify_chat.enable: true, but use other plugins to handle chat.
  51.     global: '{worldname}{townytagoverride}{townycolor}{permprefix}{modplayername}{permsuffix}&f: {msgcolour}{msg}'
  52.     # TOWN channel types.
  53.     town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}'
  54.     # NATION channel types.
  55.     nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}'
  56.     # DEFAULT channel types.
  57.     default: '{channelTag} {permprefix}{playername}{permsuffix}&f: {msgcolour}{msg}'
  58.    
  59.   tag_formats:
  60.       world: '&f[&f%s&f] '
  61.       town: '&f[&3%s&f] '
  62.       nation: '&f[&e%s&f] '
  63.       # First %s is the nation tag, second is the town tag.
  64.       both: '&f[&6%s&f|&3%s&f] '
  65.      
  66.     # Chat colours
  67.   colour:
  68.     king: '&6'
  69.     mayor: '&b'
  70.     resident: '&f'
  71.    
  72.   modify_chat:
  73.    # This is used for when you don't have another plugin to format chat.
  74.     # or you want some other plugin to handle open chat, but want Towny formatting.
  75.     # It will cause Towny to overwrite any other plugins alterations to the format.
  76.     enable: 'true'
  77.     # If true the chat formats will be read from below to allow per world formatting.
  78.     # These can then be altered individually.
  79.     per_world: 'false'
  80.    
  81.   worlds:
  82.     world_nether:
  83.       global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}'
  84.       town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}'
  85.       nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}'
  86.       default: '{channelTag} {permprefix}{playername}{permsuffix}&f: {msgcolour}{msg}'
  87.     world_the_end:
  88.       global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}'
  89.       town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}'
  90.       nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}'
  91.       default: '{channelTag} {permprefix}{playername}{permsuffix}&f: {msgcolour}{msg}'
  92.     world:
  93.       global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}'
  94.       town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}'
  95.       nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f: {msgcolour}{msg}'
  96.       default: '{channelTag} {permprefix}{playername}{permsuffix}&f: {msgcolour}{msg}'