heping4hao

chatconfig.yml

Sep 5th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.26 KB | None | 0 0
  1.  
  2. # Spam_time set the minimum time between messages to be flagged as spam
  3. spam_time: '0.5'
  4. HeroicDeathToIRC:
  5. enabled: true
  6. craftIRCTags: admin
  7.  
  8. channel_formats:
  9. # This is the format which will be used for GLOBAL chat/channels.
  10. # This is also the format used when you have modify_chat.enable: true, but use other plugins to handle chat.
  11. global: '{modplayername}:{msgcolour} {msg}'
  12. # TOWN channel types.
  13. town: '{modplayername}:{msgcolour} {msg}'
  14. # NATION channel types.
  15. nation: '{modplayername}:{msgcolour} {msg}'
  16. # DEFAULT channel types.
  17. default: '{modplayername}:{msgcolour} {msg}'
  18.  
  19. tag_formats:
  20. world: '&f[&f%s&f] '
  21. town: '&f[&3%s&f] '
  22. nation: '&f[&e%s&f] '
  23. # First %s is the nation tag, second is the town tag.
  24. # You may also use %t for the town tag and %n for the nation tag!
  25. both: '&f[&6%s&f|&3%s&f] '
  26.  
  27. colour:
  28. king: '&6'
  29. mayor: '&b'
  30. resident: '&f'
  31.  
  32. modify_chat:
  33. # This is used for when you don't have another plugin to format chat.
  34. # or you want some other plugin to handle open chat, but want Towny formatting.
  35. # It will cause Towny to overwrite any other plugins alterations to the format.
  36. enable: 'true'
  37. # If true the chat formats will be read from below to allow per world formatting.
  38. # These can then be altered individually.
  39. per_world: 'false'
  40. # If true any player who speaks in a channel in which he cannot be heard,
  41. # either by being along in the channel or out-of-range of another player in his chat channel,
  42. # that player will see a message saying they cannot be heard.
  43. alone_message: 'false'
  44. # This allows you to set your alone message.
  45. alone_message_string: No one in range can hear you or you are alone in this channel.
  46.  
  47. worlds:
  48. world_the_end:
  49. global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  50. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  51. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  52. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  53. world:
  54. global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  55. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  56. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  57. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  58. world_nether:
  59. global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  60. town: '{channelTag} {townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  61. nation: '{channelTag}{towntagoverride}{townycolor}{permprefix}{townyprefix}{playername}{townypostfix}{permsuffix}&f:{msgcolour} {msg}'
  62. default: '{channelTag} {permprefix}{playername}{permsuffix}&f:{msgcolour} {msg}'
  63. modernworld:
  64. global: '{modplayername}:{msgcolour} {msg}'
  65. town: '{modplayername}:{msgcolour} {msg}'
  66. nation: '{modplayername}:{msgcolour} {msg}'
  67. default: '{modplayername}:{msgcolour} {msg}'
  68. skylands:
  69. global: '{modplayername}:{msgcolour} {msg}'
  70. town: '{modplayername}:{msgcolour} {msg}'
  71. nation: '{modplayername}:{msgcolour} {msg}'
  72. default: '{modplayername}:{msgcolour} {msg}'
  73.  
  74. version:
  75. # This is the current version of Towny. Please do not edit.
  76. version: '0.53'
  77. # This is for showing the changelog on updates. Please do not edit.
  78. last_run_version: '0.52'
  79.  
  80. ############################################################
  81. # +------------------------------------------------------+ #
  82. # | ChatConfig.yml | #
  83. # +------------------------------------------------------+ #
  84. ############################################################
  85. #
  86. # The formats below will specify the changes made to the player chat when talking.
  87. #
  88. # {worldname} - Displays the world the player is currently in.
  89. # {town} - Displays town name if a member of a town.
  90. # {townformatted} - Displays town name (if a member of a town) using tag_format.town.
  91. # {towntag} - Displays the formated town tag (if a member of a town) using modify_chat.tag_format.town.
  92. # {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).
  93. #
  94. # {nation} - Displays nation name if a member of a nation.
  95. # {nationformatted} - Displays nation name (if a member of a nation) using tag_format.town.
  96. # {nationtag} - Displays the formated nation tag (if a member of a nation) using modify_chat.tag_format.nation.
  97. # {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).
  98. #
  99. # {townytag} - Displays the formated town/nation tag as specified in modify_chat.tag_format.both.
  100. # {townyformatted} - Displays the formated full town/nation names as specified in modify_chat.tag_format.both.
  101. # {townytagoverride} - Displays the formated town/nation tag (if present) or falls back to the full names (using modify_chat.tag_format.both).
  102. #
  103. # {title} - Towny resident Title.
  104. # {surname} - Towny resident Surname.
  105. # {townynameprefix} - Towny name prefix taken from the townLevel/nationLevels.
  106. # {townynamepostfix} - Towny name postfix taken from the townLevel/nationLevels.
  107. # {townyprefix} - Towny resident title, or townynameprefix if no title exists.
  108. # {townypostfix} - Towny resident surname, or townynamepostfix if no surname exists
  109. #
  110. # {townycolor} - Towny name colour for king/mayor/resident.
  111. # {group} - Players group name pulled from your permissions plugin.
  112. # {permuserprefix} - Permission user prefix.
  113. # {permusersuffix} - Permission user suffix.
  114. # {permgroupprefix} - Permission group prefix.
  115. # {permgroupsuffix} - Permission group suffix.
  116. # {permprefix} - Permission group and user prefix.
  117. # {permsuffix} - Permission group and user suffix.
  118. #
  119. # {playername} - Default player name.
  120. # {modplayername} - Modified player name (use if Towny is over writing some other plugins changes).
  121. # {msg} - The message sent.
  122. #
  123. # {channelTag} - Defined in the channels entry in Channels.yml.
  124. # {msgcolour} - Defined in the channels entry in Channels.yml.
  125. #
  126. # Text colouring
  127. # --------------
  128. # Black = &0, Navy = &1, Green = &2, Blue = &3, Red = &4
  129. # Purple = &5, Gold = &6, LightGray = &7, Gray = &8
  130. # DarkPurple = &9, LightGreen = &a, LightBlue = &b
  131. # Rose = &c, LightPurple = &d, Yellow = &e, White = &f
  132. #
  133. # Text altering
  134. # -------------
  135. # Bold = &l, Italics = &o, Underlined = &n,
  136. # Magic = &k, Strike = &m, Reset = &r
  137. chatconfigcomments: ''
  138.  
  139. # If using our updated HeroicDeath.jar and craftIRC 3.1 (dev), you can
  140. #configure what IRC channels you want death messages relayed to.
  141. heroicdeathtoirc:
  142. enabled: 'true'
  143. # comma delimited list of craftIRC channel tags 'admin,blah,blah'.
  144. craftirctags: admin
Advertisement
Add Comment
Please, Sign In to add comment