Advertisement
CadCal

chatconfig.yml

Nov 12th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.62 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. # {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: 0.5
  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: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{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: 'true'
  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_the_end':
  100. global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {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. 'world':
  105. global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {townyprefix}{modplayername}{townypostfix}{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. 'world_nether':
  110. global: '{channelTag} {worldname}{townytagoverride}{townycolor}{permprefix}{group} {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}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement