Advertisement
Diamond_Cat

Towny - chatconfig.yml

Jul 1st, 2018
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. # Text altering
  46. # -------------
  47. # Bold = &l, Italics = &o, Underlined = &n,
  48. # Magic = &k, Strike = &m, Reset = &r
  49.  
  50. # Spam_time set the minimum time between messages to be flagged as spam
  51. spam_time: -1.0
  52.  
  53. # If using our updated HeroicDeath.jar and craftIRC 3.1 (dev), you can
  54. #configure what IRC channels you want death messages relayed to.
  55. HeroicDeathToIRC:
  56. enabled: true
  57. # comma delimited list of craftIRC channel tags 'admin,blah,blah'.
  58. craftIRCTags: 'admin'
  59.  
  60. channel_formats:
  61. # This is the format which will be used for GLOBAL chat/channels.
  62. # This is also the format used when you have modify_chat.enable: true, but use other plugins to handle chat.
  63. global: '{permprefix} {modplayername}{permsuffix}&f:{msgcolour} {msg}'
  64. # TOWN channel types.
  65. town: '{channelTag}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  66. # NATION channel types.
  67. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  68. # DEFAULT channel types.
  69. default: '{channelTag}{permprefix} {playername}{permsuffix}&f:{msgcolour} {msg}'
  70.  
  71. tag_formats:
  72. world: '&f[&f%s&f] '
  73. town: '&f[&3%s&f] '
  74. nation: '&f[&e%s&f] '
  75. # First %s is the nation tag, second is the town tag.
  76. both: '&f[&6%s&f|&3%s&f] '
  77.  
  78. # Chat colours
  79. colour:
  80. king: '&6'
  81. mayor: '&b'
  82. resident: '&f'
  83.  
  84. modify_chat:
  85. # This is used for when you don't have another plugin to format chat.
  86. # or you want some other plugin to handle open chat, but want Towny formatting.
  87. # It will cause Towny to overwrite any other plugins alterations to the format.
  88. enable: 'false'
  89. # If true the chat formats will be read from below to allow per world formatting.
  90. # These can then be altered individually.
  91. per_world: 'false'
  92. # If true any player who speaks in a channel in which he cannot be heard,
  93. # either by being along in the channel or out-of-range of another player in his chat channel,
  94. # that player will see a message saying they cannot be heard.
  95. alone_message: 'false'
  96. # This allows you to set your alone messaeg.
  97. alone_message_string: 'No one in range can hear you or you are alone in this channel.'
  98. worlds:
  99. '<world>':
  100. global: '{channelTag} {townytagoverride}{townycolor}{permprefix}{townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  101. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  102. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  103. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  104. 'newend':
  105. global: '{permprefix} {modplayername}{permsuffix}&f:{msgcolour} {msg}'
  106. town: '{channelTag}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  107. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  108. default: '{channelTag}{permprefix} {playername}{permsuffix}&f:{msgcolour} {msg}'
  109. 'tests':
  110. global: '{channelTag} {townytagoverride}{townycolor}{permprefix}{townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  111. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  112. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  113. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  114. 'world_the_end':
  115. global: '{channelTag} {townytagoverride}{townycolor}{permprefix}{townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  116. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  117. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  118. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  119. 'world':
  120. global: '{channelTag} {townytagoverride}{townycolor}{permprefix}{townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  121. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  122. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  123. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  124. 'c':
  125. global: '{channelTag} {townytagoverride}{townycolor}{permprefix}{townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  126. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  127. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  128. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  129. 'test':
  130. global: '{channelTag} {townytagoverride}{townycolor}{permprefix}{townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  131. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  132. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  133. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  134. 'world_nether':
  135. global: '{channelTag} {townytagoverride}{townycolor}{permprefix}{townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  136. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  137. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  138. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  139. 'resource':
  140. global: '{permprefix} {modplayername}{permsuffix}&f:{msgcolour} {msg}'
  141. town: '{channelTag}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  142. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  143. default: '{channelTag}{permprefix} {playername}{permsuffix}&f:{msgcolour} {msg}'
  144. 'the_verdant_realm':
  145. global: '{channelTag} {townytagoverride}{townycolor}{permprefix}{townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  146. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  147. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  148. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  149. 'creative':
  150. global: '{channelTag} {townytagoverride}{townycolor}{permprefix}{townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  151. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  152. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  153. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
Advertisement
RAW Paste Data Copied
Advertisement