Guest User

gchat config

a guest
Jun 13th, 2021
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. # gChat Configuration
  2.  
  3. # If a player doesn't have permission for any of the formats, should the chat message be passed through to the
  4. # backend server or just ignored.
  5. passthrough: true
  6.  
  7. # Logs chat to file `log-file` as specified below
  8. log-chat: true
  9. # Logs chat to Bungeecord log and proxy.log.0
  10. log-chat-global: true
  11. # File to log chat to
  12. log-file: gChat.log
  13.  
  14. # if permissions are required to send/receive chat messages
  15. require-permission:
  16. # if true, players will need to have the "gchat.send" permission to send messages
  17. send: false
  18.  
  19. # the message to send if a player doesn't have permission to chat
  20. # will only be sent if the 'passthrough' option below is false
  21. send-fail: "&cYou do not have permission to use the chat!"
  22.  
  23. # if true, players will need to have the "gchat.receive" permission to receive messages
  24. receive: false
  25.  
  26. # if a player doesn't have permission to send a message, should it be passed through to the backend server?
  27. passthrough: true
  28.  
  29. # Defines the formats to be used.
  30. formats:
  31.  
  32. # a default format for everyone on the server
  33. everyone:
  34.  
  35. # the priority of the format. higher number = higher priority.
  36. # if a user has permission for multiple formats, the one with the highest priority will be used.
  37. priority: 100
  38.  
  39. # if this format requires a permission.
  40. # permissions are in the format: "gchat.format.<format name>"
  41. # for example: "gchat.format.everyone"
  42. check-permission: true
  43.  
  44. # the actual format for the chat message
  45. format: "{luckperms_prefix}{name}{luckperms_suffix}{message}"
  46.  
  47. format-extra:
  48.  
  49. # the format for the message tooltip
  50. hover: ""
  51.  
  52. # what should happen when the message is clicked?
  53. click:
  54.  
  55. # type: can be either "none", "suggest_command", "run_command" or "open_url"
  56. type: "none"
  57.  
  58. # the value to suggest or run.
  59. value: ""
  60.  
  61. # another format without all the comments!
  62. staff:
  63. priority: 150
  64. check-permission: true
  65. format: "* {luckperms_prefix}{name}{luckperms_suffix}&c: &b&l{message}"
  66. format-extra:
  67. hover: |-
  68. &e{name} is a staff member!
  69.  
  70. &6Feel free to message them any time, by
  71. &6clicking this message!
  72. click:
  73. type: suggest_command
  74. value: "/msg {name} "
Advertisement
Add Comment
Please, Sign In to add comment