Advertisement
delbertina

Server Towny Chat Config - 11/5/18

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