Advertisement
kenhoang

Channel

Mar 31st, 2020
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.63 KB | None | 0 0
  1. # This file contains all configuration data for channels
  2. # The formating for them remains in the Towny Config and world files
  3. # so they can still be used on a per world basis.
  4.  
  5. # Channels are toggleable using any of the commands listed
  6. # eg. /tc (would put you in town chat)
  7. # doing it again would take you out
  8. # So long as you had the permission node for that channel.
  9.  
  10. # The channel type is either GLOBAL, TOWN, NATION or DEFAULT.
  11. # These specify what chat formating section they will use
  12. # and where the chat will go
  13. # (town goes to all town residents, depending on the range setting)
  14.  
  15. # channeltag is applied if the chat format for that channel has the {channelTag}
  16.  
  17. # messagecolour sets the colour of the message when sent.
  18.  
  19. # range is a setting which allows greater control over each channel.
  20. # this will set the maximum distance between players who can hear the message.
  21. # range is in blocks (if set to a limit).
  22. #
  23. # -1 = no limits
  24. # 0 = same world only
  25. # any positive value = limited range in the same world.
  26.  
  27. # Text colouring
  28. # --------------
  29. # Black = &0, Navy = &1, Green = &2, Blue = &3, Red = &4
  30. # Purple = &5, Gold = &6, LightGray = &7, Gray = &8
  31. # DarkPurple = &9, LightGreen = &a, LightBlue = &b
  32. # Rose = &c, LightPurple = &d, Yellow = &e, White = &f
  33.  
  34. Channels:
  35. general:
  36. commands: [g]
  37. type: GLOBAL
  38. channeltag: '&f[g]'
  39. messagecolour: '&f'
  40. permission: 'towny.chat.general'
  41. default: true
  42. craftIRCTag: 'admin'
  43. range: '-1'
  44.  
  45. town:
  46. commands: [tc]
  47. type: TOWN
  48. channeltag: '&f[&3TC&f]'
  49. messagecolour: '&b'
  50. permission: 'towny.chat.town'
  51. craftIRCTag: 'admin'
  52. range: '-1'
  53.  
  54. nation:
  55. commands: [nc]
  56. type: NATION
  57. channeltag: '&f[&6NC&f]'
  58. messagecolour: '&e'
  59. permission: 'towny.chat.nation'
  60. craftIRCTag: 'admin'
  61. range: '-1'
  62.  
  63. admin:
  64. commands: [a,admin]
  65. type: DEFAULT
  66. channeltag: '&f[&4ADMIN&f]'
  67. messagecolour: '&c'
  68. permission: 'towny.chat.admin'
  69. craftIRCTag: 'admin'
  70. range: '-1'
  71.  
  72. mod:
  73. commands: [m,mod]
  74. type: DEFAULT
  75. channeltag: '&f[&9MOD&f]'
  76. messagecolour: '&5'
  77. permission: 'towny.chat.mod'
  78. craftIRCTag: 'admin'
  79. range: '-1'
  80.  
  81. local:
  82. commands: [l,lc]
  83. type: GLOBAL
  84. channeltag: '&f[local]'
  85. messagecolour: '&f'
  86. permission: 'towny.chat.local'
  87. craftIRCTag: 'admin'
  88. range: '100'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement