Guest

Untitled

By: a guest on Jan 28th, 2012  |  syntax: YAML  |  size: 2.43 KB  |  hits: 41  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  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.         range: '-1'
  42.        
  43.     town:
  44.         commands: [tc]
  45.         type: TOWN
  46.         channeltag: '&f[&3TC&f]'
  47.         messagecolour: '&b'
  48.         permission: 'towny.chat.town'
  49.         range: '-1'
  50.          
  51.     nation:
  52.         commands: [nc]
  53.         type: NATION
  54.         channeltag: '&f[&6NC&f]'
  55.         messagecolour: '&e'
  56.         permission: 'towny.chat.nation'
  57.         range: '-1'
  58.        
  59.     admin:
  60.         commands: [a,admin]
  61.         type: DEFAULT
  62.         channeltag: '&f[&4ADMIN&f]'
  63.         messagecolour: '&c'
  64.         permission: 'towny.chat.admin'
  65.         range: '-1'
  66.        
  67.     mod:
  68.         commands: [m,mod]
  69.         type: DEFAULT
  70.         channeltag: '&f[&9MOD&f]'
  71.         messagecolour: '&5'
  72.         permission: 'towny.chat.mod'
  73.         range: '-1'
  74.        
  75.     local:
  76.         commands: [l,lc]
  77.         type: GLOBAL
  78.         channeltag: '&f[local]'
  79.         messagecolour: '&f'
  80.         permission: 'towny.chat.local'
  81.         range: '100'