CodeRida

Untitled

Nov 20th, 2020
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.98 KB | None | 0 0
  1. # !-----------------------------------------------------------------------------------------!
  2. # Welcome to ChatControl's channel configuration
  3. #
  4. # In this configuration you can setup chatting rooms on your server, also known as
  5. # chat channels.
  6. #
  7. # Chat channels can reduce spam on big servers because they sort players to individual
  8. # channels instead of letting everyone to chat on the main server chat.
  9. #
  10. # Read more:
  11. # - https://github.com/kangarko/ChatControl-Pro/wiki/Channels
  12. #
  13. # !-----------------------------------------------------------------------------------------!
  14.  
  15. # -----------------------------------------------------------------------------------------
  16. # Should the channel functionality be enabled?
  17. #
  18. # When you enable this, we disable standard formatting completely (we will ignore Enabled
  19. # option in formatting.yml and acts as if it was on false). However, admin chat and bungee
  20. # chat will still be functional and use format in formatting.yml since those are
  21. # independent of channels.
  22. # -----------------------------------------------------------------------------------------
  23. Enabled: false
  24.  
  25. # -----------------------------------------------------------------------------------------
  26. # Put players with the autojoin permission automatically into channels?
  27. #
  28. # Give them chatcontrol.channel.autojoin.{channel}.{mode} permission to make this feature
  29. # function. Replace {channel} with the channel name and {mode} with channel mode (read,
  30. # write, spy)
  31. # -----------------------------------------------------------------------------------------
  32. Auto_Join: true
  33.  
  34. # -----------------------------------------------------------------------------------------
  35. # If you join a channel into write mode, your old channels are automatically changed
  36. # to reading mode. Set this flag to true if you want old channels change to spying instead.
  37. # -----------------------------------------------------------------------------------------
  38. Switch_To_Spy: false
  39.  
  40. # -----------------------------------------------------------------------------------------
  41. # When you leave your writing channel should we try to turn your first reading channel
  42. # into writing for your convenience?
  43. # -----------------------------------------------------------------------------------------
  44. Auto_Write_On_Leave: true
  45.  
  46. # -------------------------------------------------------------------------------------------
  47. # What commands should trigger the channel menu (separated by a comma ,)?
  48. #
  49. # * THE FIRST ALIAS IS THE MAIN LABEL, PLEASE DO NOT REMOVE IT. *
  50. # -------------------------------------------------------------------------------------------
  51. Command_Aliases: [channel, ch]
  52.  
  53. # -----------------------------------------------------------------------------------------
  54. # Send "You are in X channel." / "You have no channels" messages to players when they join?
  55. #
  56. # You can change the message in the localization (see settings.yml)
  57. #
  58. # TIP: To hide "Player X have joined this channel", hide it in the localization as well!
  59. # -----------------------------------------------------------------------------------------
  60. Notify_On_Join: true
  61.  
  62. # -----------------------------------------------------------------------------------------
  63. # How many channels can the player be at once, maximum?
  64. #
  65. # You can override this and give VIP's/staff more channels, see Groups in settings.yml.
  66. # PS: There is no limit for spying channels.
  67. # -----------------------------------------------------------------------------------------
  68. Channel_Limits:
  69. #
  70. # Limit for channels which the player can read.
  71. #
  72. Read: 3
  73.  
  74. # -----------------------------------------------------------------------------------------
  75. # When you use /channel send command must the player be in the given channel for them
  76. # to be able to use that command? False by default
  77. # -----------------------------------------------------------------------------------------
  78. Send_Command_Require_Join: false
  79.  
  80. # -----------------------------------------------------------------------------------------
  81. # Since you can be in more then one channel at once, some third party plugins
  82. # do not like this idea and ChatControl needs to be adjusted.
  83. # -----------------------------------------------------------------------------------------
  84. Compatibility:
  85. #
  86. # Should we fire Player Chat Event for each channel where the player writes separately?
  87. #
  88. # Each plugin will get each message from each channel separately to process
  89. # multiple times in case of the single chat event that was fired originally.
  90. #
  91. # Can conflict with NoCheatPlus and Factions or print doubled messages if not handled correctly.
  92. #
  93. Multi_Event: true
  94. #
  95. # If "Multi_Event" is "false", only one message will appear in the console and to other
  96. # plugins, no matter how many channels the player is in. Configure the format here.
  97. #
  98. # All variables are supported, however, no JSON can be added due to Bukkit limitations.
  99. # The special variable {channels} will print all channels the player is in.
  100. #
  101. Single_Event_Format: "[{channels}] {player}: {message}"
  102. #
  103. # ChatControl listens to "chat event" from which we process the channel message.
  104. # Cancel the event? Enable if you have for example Discord and see doubled messages.
  105. #
  106. Cancel_Event: false
  107. #
  108. # Settings for when you have DiscordSRV enabled.
  109. # TO USE DISCORD FOR CHANNELS, PLACE "Discord: true" KEY AND VALUE FOR THE CHANNELS
  110. # WHERE YOU WANT TO USE IT
  111. #
  112. Discord:
  113. #
  114. # If true, messages from Discord will be only send into a ChatControl channel
  115. # with exactly the same name, in the format below.
  116. #
  117. Control_Incoming_Messages: false
  118. #
  119. # If the option above is true, and channel is not installed on the server,
  120. # should be block the message from appearing in the chat? If not, DiscordSRV
  121. # will handle it and it will display to all players on your server.
  122. #
  123. Deny_Unknown_Channel: true
  124. #
  125. # When you are online both on Discord and in-game, apply your in-game formatting
  126. # when you type from Discord? This will cause duplicated messages on Bungee,
  127. # and it is therefore disabled by default.
  128. #
  129. Apply_Natural_Format_If_Online: false
  130. #
  131. # If you write a message on discord and you are NOT online under the same name,
  132. # the following format will be used. Specify full format or link in formatting.yml
  133. # If you are online, we will send it as though it was you from the server.
  134. #
  135. # Set to "" to use your channel's format, but this is not recommended
  136. # because we cannot replace variables since the player is not online!
  137. #
  138. Format: "&8[&3Discord&8] &7{player}: &f{message}"
  139.  
  140. # -----------------------------------------------------------------------------------------
  141. # Configuration of each chat channel.
  142. #
  143. # To create or remove channels, simply remove or create new sections down below.
  144. #
  145. # FOR TUTORIAL PLEASE SEE https://github.com/kangarko/ChatControl-Pro/wiki/Channels
  146. # -----------------------------------------------------------------------------------------
  147. Channels:
  148. #
  149. # The default channel for all players.
  150. # As you can see, you only need to set the options you need!
  151. #
  152. standard:
  153. #
  154. # This format is changeable in formatting.yml
  155. #
  156. Format: Chat
  157.  
  158. #
  159. # The default global channel with bungee support.
  160. # NB: This has nothing to do with our bungee chat (/chc bc), that is a separate feature.
  161. #
  162. global:
  163. #
  164. # This format is changeable in formatting.yml
  165. #
  166. Format: '&3C&8 ┃ {pl_prefix}&7{nick}{pl_suffix}{deluxetags_tag}&3 »&7 {message}'
  167. Console_Format: '&3C&8 ┃ {pl_prefix}&7{nick}{pl_suffix}{deluxetags_tag}&3 »&7 {message}'
  168. #
  169. # This channel sends the messages to the BungeeCord.
  170. #
  171. Bungee: true
  172. #
  173. # Connect this channel to Discord (additional configuration is needed, see
  174. # https://github.com/kangarko/ChatControl-Pro/wiki/Discord)
  175. #
  176. Discord: true
  177. #
  178. # Channel is logged into ChatControl/logs/channels/global.yml with the following format:
  179. #
  180. Log_Format: '&3C&8 ┃ {pl_prefix}&7{nick}{pl_suffix}{deluxetags_tag}&3 »&7 {message}'
  181.  
  182. #
  183. # The default admin chat for staff.
  184. #
  185. admin:
  186. #
  187. # You can change the format in formatting.yml
  188. #
  189. Format: Admin_Chat
  190. #
  191. # Custom console format.
  192. # Requires Compatibility.Multi_Event to true, otherwise Compatibility.Single_Event_Format will be shown.
  193. #
  194. Console_Format: '[A-chat {player}] {message}'
  195. #
  196. # Channel is logged into ChatControl/logs/channels/admin.yml with the following format:
  197. #
  198. Log_Format: '{player}: {message}'
  199.  
  200. #
  201. # The default ranged chat per world.
  202. #
  203. ranged:
  204. #
  205. # You can also set the format directly:
  206. #
  207. Format: '&6[ranged] &7{pl_prefix}{player}:{pl_suffix} {message}'
  208. #
  209. # How many blocks around the sender should the other players see sender's message?
  210. # To unlimited, simply set to "*"
  211. #
  212. Range: 100
  213.  
Advertisement
Add Comment
Please, Sign In to add comment