Advertisement
ArifJan

Untitled

Aug 9th, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 7.68 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. # What commands should trigger the channel menu (separated by a comma ,)?
  27. #
  28. # * THE FIRST ALIAS IS THE MAIN LABEL, PLEASE DO NOT REMOVE IT. *
  29. # -------------------------------------------------------------------------------------------
  30. Command_Aliases: [channel, ch]
  31.  
  32. # -----------------------------------------------------------------------------------------
  33. # Send "You are in X channel." / "You have no channels" messages to players when they join?
  34. #
  35. # You can change the message in the localization (see settings.yml)
  36. #
  37. # TIP: To hide "Player X have joined this channel", hide it in the localization as well!
  38. # -----------------------------------------------------------------------------------------
  39. Notify_On_Join: true
  40.  
  41. # -----------------------------------------------------------------------------------------
  42. # How many channels can the player be at once, maximum?
  43. #
  44. # You can override this and give VIP's/staff more channels, see Groups in settings.yml.
  45. # PS: There is no limit for spying channels.
  46. # -----------------------------------------------------------------------------------------
  47. Channel_Limits:
  48.   #
  49.   # Limit for channels in which the player can write.
  50.   #
  51.   Write: 1
  52.   #
  53.   # Limit for channels which the player can read.
  54.   #
  55.   Read: 3
  56.  
  57. # -----------------------------------------------------------------------------------------
  58. # When you use /channel send command must the player be in the given channel for them
  59. # to be able to use that command? False by default
  60. # -----------------------------------------------------------------------------------------
  61. Send_Command_Require_Join: false
  62.  
  63. # -----------------------------------------------------------------------------------------
  64. # Since you can be in more then one channel at once, some third party plugins
  65. # do not like this idea and ChatControl needs to be adjusted.
  66. # -----------------------------------------------------------------------------------------
  67. Compatibility:
  68.   #
  69.   # Should we fire Player Chat Event for each channel where the player writes separately?
  70.   #
  71.   # Each plugin will get each message from each channel separately to process
  72.   # multiple times in case of the single chat event that was fired originally.
  73.   #
  74.   # Can conflict with NoCheatPlus and Factions or print doubled messages if not handled correctly.
  75.   #
  76.   Multi_Event: false
  77.   #
  78.   # If "Multi_Event" is "false", only one message will appear in the console and to other
  79.   # plugins, no matter how many channels the player is in. Configure the format here.
  80.   #
  81.   # All variables are supported, however, no JSON can be added due to Bukkit limitations.
  82.   # The special variable {channels} will print all channels the player is in.
  83.   #
  84.   Single_Event_Format: "[{channels}] {player}: {message}"
  85.   #
  86.   # ChatControl listens to "chat event" from which we process the channel message.
  87.   # Cancel the event? Enable if you have for example Discord and see doubled messages.
  88.   #
  89.   Cancel_Event: false
  90.   #
  91.   # Settings for when you have DiscordSRV enabled.
  92.   #
  93.   Discord:
  94.     #
  95.     # If true, messages from Discord will be only send into a ChatControl channel
  96.     # with exactly the same name, in the format below.
  97.     #
  98.     Control_Incoming_Messages: true
  99.     #
  100.     # If the option above is true, and channel is not installed on the server,
  101.     # should be block the message from appearing in the chat? If not, DiscordSRV
  102.     # will handle it and it will display to all players on your server.
  103.     #
  104.     Deny_Unknown_Channel: true
  105.     #
  106.     # When you are online both on Discord and in-game, apply your in-game formatting
  107.     # when you type from Discord? This will cause duplicated messages on Bungee,
  108.     # and it is therefore disabled by default.
  109.     #
  110.     Apply_Natural_Format_If_Online: false
  111.     #
  112.     # If you write a message on discord and you are NOT online under the same name,
  113.     # the following format will be used. Specify full format or link in formatting.yml
  114.     # If you are online, we will send it as though it was you from the server.
  115.     #
  116.     # Set to "" to use your channel's format, but this is not recommended
  117.    # because we cannot replace variables since the player is not online!
  118.    #
  119.    Format: "&8[&3Discord&8] &7{player}: &f{message}"
  120.  
  121. # -----------------------------------------------------------------------------------------
  122. # Configuration of each chat channel.
  123. #
  124. # To create or remove channels, simply remove or create new sections down below.
  125. #
  126. # FOR TUTORIAL PLEASE SEE https://github.com/kangarko/ChatControl-Pro/wiki/Channels
  127. # -----------------------------------------------------------------------------------------
  128. Channels:
  129.  #
  130.  # The default channel for all players.
  131.  # As you can see, you only need to set the options you need!
  132.  #
  133.  standard:
  134.    #
  135.    # This format is changeable in formatting.yml
  136.    #
  137.    Format: Chat    
  138.  
  139.  #
  140.  # The default global channel with bungee support.
  141.  # NB: This has nothing to do with our bungee chat (/chc bc), that is a separate feature.
  142.  #
  143.  global:
  144.    #
  145.    # This format is changeable in formatting.yml
  146.    #
  147.    Format: Global_Chat
  148.    #
  149.    # Shortcut channel commands
  150.    #  eg, /g to switch, or /g <message> to send a message without switching
  151.    #
  152.    Commands: [g,global]
  153.    #
  154.    # This channel sends the messages to the BungeeCord.
  155.    #
  156.    Bungee: true
  157.    #
  158.    # Channel is logged into ChatControl/logs/channels/global.yml with the following format:
  159.    #
  160.    Log_Format: '{player}: {message}'
  161.  
  162.  #
  163.  # The default admin chat for staff.
  164.  #
  165.  admin:
  166.    #
  167.    # You can change the format in formatting.yml
  168.    #
  169.    Format: Admin_Chat
  170.    #
  171.    # Shortcut channel commands
  172.    #  eg, /a to switch, or /a <message> to send a message without switching
  173.    #
  174.    Commands: [a,admin]
  175.    #
  176.    # Custom console format.
  177.    # Requires Compatibility.Multi_Event to true, otherwise Compatibility.Single_Event_Format will be shown.
  178.    #
  179.    Console_Format: '[A-chat {player}] {message}'
  180.    #
  181.    # Channel is logged into ChatControl/logs/channels/admin.yml with the following format:
  182.    #
  183.    Log_Format: '{player}: {message}'
  184.  
  185.  #
  186.  # The default ranged chat per world.
  187.  #
  188.  ranged:
  189.    #
  190.    # You can also set the format directly:
  191.    #
  192.    Format: '&6[ranged] &7{pl_prefix}{player}:{pl_suffix} {message}'
  193.    #
  194.    # How many blocks around the sender should the other players see sender's message?
  195.     # To unlimited, simply set to "*"
  196.     #
  197.     Range: 100
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement