Advertisement
Guest User

TownyChat

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