channels.conf 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. // Channel System Configuration File
  2. channel_config: {
  3. /* Colors available */
  4. colors: {
  5. Default: "0xffffff" /* Custom channels will use the first in the list unless a color is selected through @channel. */
  6. Red: "0xff0000"
  7. Blue: "0x83cfe9"
  8. Orange: "0xe57c00"
  9. Cyan: "0x00b89d"
  10. Yellow: "0xffff90"
  11. Green: "0x28bf00"
  12. White: "0xFFFFFF"
  13. Purple: "0xD67FFF"
  14. LightGreen: "0xB6FF00"
  15. Normal: "0x00ff00"
  16. /* Add as many colors as you'd like. */
  17. }
  18. /**
  19. * Private channel config
  20. * - Always CHAN_TYPE_PUBLIC
  21. * - Always displayed in chat log as "#channel_name: <name>: <chat>"
  22. * - ID of private channels start at 1000
  23. **/
  24. private_channel: {
  25. allow: true // (bool) Allow player to create their own channel?
  26. color: "Default" // (string) Default color, see colors
  27. delay: 1000 // (int) Chat delay for each member
  28. max_member: 1000 // (int) Max members
  29. self_notif: true // (bool) Show message when player enters or leaves the channel
  30. join_notif: false // (bool) Show message when player joined the channel
  31. leave_notif: false // (bool) Show message when player leaves the channel
  32. /* Moderation feature for channel owner, allowed to: */
  33. ban: true // (bool) Ban players
  34. kick: true // (bool) Kick players
  35. color_override: false // (bool) Allow players to change the private channel color to their own
  36. change_delay: false // (bool) Allow players to change the private channel delay to their own
  37. }
  38. /**
  39. * Default server channels
  40. **/
  41. channels: (
  42. /**
  43. * Structure
  44. {
  45. name: "#channel" // (string) Channel name
  46. password: "" // (string) Channel password
  47. alias: "[Channel]" // (string) Message from this that channel will be displayed instead the channel name
  48. color: "Default" // (string) Channel color
  49. type: "CHAN_TYPE_PUBLIC" // (string) Channel type: CHAN_TYPE_PUBLIC, CHAN_TYPE_ALLY, CHAN_TYPE_MAP
  50. autojoin: false // (bool) Players will auto join channel
  51. delay: 1000 // (int) Chat delay for each player
  52. leave: true // (bool) Player is allowed to leave the channel
  53. chat: true // (bool) Player is allowed to chat on this channel
  54. color_override: false // (bool) Allow players to change the private channel color to their own
  55. self_notif: true // (bool) Show message when player enters or leaves the channel
  56. join_notif: false // (bool) Show message when player joined the channel
  57. leave_notif: false // (bool) Show message when player leaves the channel
  58. groupid: (0,..,99) // (list,int) Only players with valid group IDs are allowed to join. Group with 'channel_admin' can always enter the channel.
  59. /// All values above are default settings
  60. }, // Use comma if followed by other channel
  61. **/
  62. {
  63. name: "#global"
  64. alias: "[Global]"
  65. color: "White"
  66. type: "CHAN_TYPE_PUBLIC"
  67. delay: 1000
  68. autojoin: false
  69. leave: false
  70. },
  71. {
  72. name: "#support"
  73. alias: "[Support]"
  74. color: "Blue"
  75. type: "CHAN_TYPE_PUBLIC"
  76. delay: 1000
  77. autojoin: false
  78. },
  79. {
  80. name: "#trade"
  81. alias: "[Trade]"
  82. color: "LightGreen"
  83. type: "CHAN_TYPE_PUBLIC"
  84. delay: 1000
  85. autojoin: false
  86. }
  87. )
  88. /**
  89. * Channel config for guild alliance
  90. * For the structure, see the 'channels' above
  91. **/
  92. ally: {
  93. name: "#ally"
  94. alias: "[Ally]"
  95. color: "Green"
  96. type: "CHAN_TYPE_ALLY" // DO NOT CHANGE THIS VALUE
  97. delay: 1000
  98. autojoin: false
  99. leave: true
  100. chat: true
  101. }
  102. /**
  103. * Channel config for map channel
  104. * For the structure, see the 'channels' above
  105. **/
  106. map: {
  107. name: "#map"
  108. alias: "[Map]"
  109. color: "Yellow"
  110. type: "CHAN_TYPE_MAP" // DO NOT CHANGE THIS VALUE
  111. delay: 1000
  112. autojoin: false
  113. leave: true
  114. chat: true
  115. }
  116. }