Advertisement
Guest User

townychat.config

a guest
Apr 15th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.39 KB | None | 0 0
  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. # {permuserprefix} - Permission user prefix.
  29. # {permusersuffix} - Permission user suffix.
  30. # {permgroupprefix} - Permission group prefix.
  31. # {permgroupsuffix} - Permission group suffix.
  32. # {permprefix} - Permission group and user prefix.
  33. # {permsuffix} - Permission group and user suffix.
  34.  
  35. # {playername} - Default player name.
  36. # {modplayername} - Modified player name (use if Towny is over writing some other plugins changes).
  37. # {msg} - The message sent.
  38.  
  39. # {channelTag} - Defined in the channels entry in Channels.yml
  40. # {msgcolour} - Defined in the channels entry in Channels.yml
  41.  
  42. # Text colouring
  43. # --------------
  44. # Black = &0, Navy = &1, Green = &2, Blue = &3, Red = &4
  45. # Purple = &5, Gold = &6, LightGray = &7, Gray = &8
  46. # DarkPurple = &9, LightGreen = &a, LightBlue = &b
  47. # Rose = &c, LightPurple = &d, Yellow = &e, White = &f
  48.  
  49. # Text altering
  50. # -------------
  51. # Bold = &l, Italics = &o, Underlined = &n,
  52. # Magic = &k, Strike = &m, Reset = &r
  53.  
  54. # Spam_time set the minimum time between messages to be flagged as spam
  55. spam_time: 0.5
  56.  
  57. # If using our updated HeroicDeath.jar and craftIRC 3.1 (dev), you can
  58. #configure what IRC channels you want death messages relayed to.
  59. HeroicDeathToIRC:
  60. enabled: true
  61. # comma delimited list of craftIRC channel tags 'admin,blah,blah'.
  62. craftIRCTags: 'admin'
  63.  
  64. channel_formats:
  65. # This is the format which will be used for GLOBAL chat/channels.
  66. # This is also the format used when you have modify_chat.enable: true, but use other plugins to handle chat.
  67. global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  68. # TOWN channel types.
  69. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  70. # NATION channel types.
  71. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  72. # DEFAULT channel types.
  73. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  74.  
  75. tag_formats:
  76. world: '&f[&f%s&f] '
  77. town: '&f[&3%s&f] '
  78. nation: '&f[&e%s&f] '
  79. # First %s is the nation tag, second is the town tag.
  80. both: '&f[&6%s&f|&3%s&f] '
  81.  
  82. # Chat colours
  83. colour:
  84. king: '&6'
  85. mayor: '&b'
  86. resident: '&f'
  87.  
  88. modify_chat:
  89. # This is used for when you don't have another plugin to format chat.
  90. # or you want some other plugin to handle open chat, but want Towny formatting.
  91. # It will cause Towny to overwrite any other plugins alterations to the format.
  92. enable: 'false'
  93. # If true the chat formats will be read from below to allow per world formatting.
  94. # These can then be altered individually.
  95. per_world: 'false'
  96. # If true any player who speaks in a channel in which he cannot be heard,
  97. # either by being along in the channel or out-of-range of another player in his chat channel,
  98. # that player will see a message saying they cannot be heard.
  99. alone_message: 'false'
  100. # This allows you to set your alone message.
  101. alone_message_string: 'No one in range can hear you or you are alone in this channel.'
  102. worlds:
  103. 'world_the_end':
  104. global: '{channelTag} {townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  105. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  106. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  107. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  108. 'world':
  109. global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  110. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  111. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  112. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  113. 'hub':
  114. global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  115. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  116. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  117. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  118. 'world_nether':
  119. global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  120. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  121. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  122. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  123. 'testing':
  124. global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  125. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  126. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  127. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  128. 'lootzworld':
  129. global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  130. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  131. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  132. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement