Advertisement
Guest User

medunno

a guest
May 23rd, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.43 KB | None | 0 0
  1. # MagiBridge, by Eufranio
  2. #
  3. # You can use the following placeholders on the DISCORD -> MC formats:
  4. # %user% -> user who sent the message in the Discord channel
  5. # %message% -> message that was sent to the channel
  6. # %toprole% -> name of the highest role/rank of the user in the Discord server
  7. # %toprolecolor% -> color of the user's role, according to the replacer at the bottom of this config
  8. #
  9. # You can use the following placeholder on the MC -> DISCORD formats:
  10. # %player% -> player who sent the message in the chat channel
  11. # %prefix% -> prefix of the player that sent the message. Usually set via permission plugins
  12. # %topgroup% -> name of the highest group of the player who sent the message
  13. # %nick% -> nickname of the player. If no nick is assigned to the player, his name will be used instead
  14. # %message% -> message that the player sent
  15.  
  16. channel {
  17. # Role that users need to have to be able to send colored chat to minecraft
  18. # Set to "everyone" to allow everyone use colors in the messages
  19. color-allowed-role=vip
  20. # If a command is defined here, it will ONLY run if the user has the defined role.
  21. # In this example, ONLY who have the admin role can stop the server
  22. # Set the role to "everyone" to allow everyone use the command
  23. commands-role-override {
  24. ban=mod
  25. list=everyone
  26. msg=everyone
  27. stop=admin
  28. }
  29. # Discord command that executes server console commands
  30. console-command="!cmd"
  31. # Role that a user needs to have in order to run the console command
  32. console-command-required-role=admin
  33. # Should MagiBridge delete the player list message?
  34. delete-list-message=true
  35. # ID of the main Discord Channel, where start/stop messages will be sent to
  36. main-discord-channel="turtles"
  37. # IGNORE IF USING ULTIMATECHAT!
  38. nucleus {
  39. # Discord Channel ID which global messages are sent to
  40. global-discord-channel="potato"
  41. # Channel that HelpOp messages will be sent to (if enabled)
  42. helpop-channel=""
  43. # Discord Channel ID which messages from the staff chat are sent to
  44. staff-discord-channel=""
  45. }
  46. # Discord command that shows the current online player list
  47. player-list-command="!online"
  48. # IGNORE IF USING NUCLEUS!
  49. ultimatechat {
  50. # Channels defined here override the global format, so you can have per-channel formats
  51. channel-overrides {
  52. global="&7[&a&lG&7] &f%user%&7: %message%"
  53. }
  54. # Format: ChannelID = IngameChannelName, Example:
  55. # 12345678912345 = global
  56. # Replace the default value with your own channels
  57. channels {
  58. "12345678912345"=global
  59. }
  60. }
  61. # Should MagiBridge use Nucleus? If this and use-ultimatechat are both false, MagiBridge will use the vanilla chat system
  62. use-nucleus=true
  63. # Should MagiBridge use UltimateChat instead? If this and use-nucleus are both false, MagiBridge will use the vanilla chat system
  64. use-ultimatechat=false
  65. # Should MagiBridge send messages trough Webhooks instead a bot?
  66. use-webhooks=false
  67. }
  68. colors-converter {
  69. # Conversor from RGB to in-game colors (for %toprolecolor%)
  70. # Format: "RGB" = "IN-GAME COLOR"
  71. discord-to-mc-replacer {
  72. "206694"="&1"
  73. "11806A"="&2"
  74. "1ABC9C"="&a"
  75. "1F8B4C"="&2"
  76. "2ECC71"="&a"
  77. "3498DB"="&3"
  78. "546E7A"="&8"
  79. "607D8B"="&8"
  80. "71368A"="&5"
  81. "95A5A6"="&7"
  82. "979C9F"="&7"
  83. "992D22"="&4"
  84. "99AAB5"="&f"
  85. "9B59B6"="&5"
  86. A84300="&6"
  87. AD1457="&d"
  88. C27C0E="&6"
  89. E67E22="&6"
  90. E74C3C="&c"
  91. E91E63="&d"
  92. F1C40F="&e"
  93. }
  94. }
  95. core {
  96. # Should MagiBridge send advancement messages to Discord?
  97. advancement-messages-enabled=true
  98. # Bot Token of the Bot User that you want to be used when sending messages to Discord
  99. bot-token="big chungus"
  100. # Set to false if MagiBridge should NOT cut messages coming from Discord with more than
  101. # 120 characters. This can turn the chat ugly if someone sends a big message
  102. cut-messages=false
  103. # Should MagiBridge send death messages to Discord?
  104. death-messages-enabled=true
  105. # Should MagiBridge enable the Topic Updater, updating the topic of the main Discord channel?
  106. enable-topic-updater=true
  107. # Don't send messages of a player to Discord if he is vanished
  108. hide-vanished-chat=false
  109. # Should MagiBridge send Nucleus' HelpOp messages to Discord? The channel that the messages will be sent
  110. # SHOULD be defined in the Channels section if this is enabled!
  111. send-helpop=false
  112. # Topic Updater interval in seconds, minimum is 10
  113. topic-updater-interval=10
  114. # Should MagiBridge enable Boop support? Will only work if Boop is installed and updated
  115. use-boop=false
  116. }
  117. discord-to-mc-replacer {
  118. # Text that will be replaced in messages sent TO the game
  119. # Format: "word-to-replace" = "word-replaced"
  120. discord-to-mc-replacer {
  121. ":dizzy_face:"=xO
  122. ":frowning:"=":("
  123. ":heart:"="<3"
  124. ":joy:"=";D"
  125. ":kissing:"=":*"
  126. ":laughing:"=xD
  127. ":neutral_face:"=":|"
  128. ":open_mouth:"=":O"
  129. ":smile:"=":D"
  130. ":smiley:"=":)"
  131. ":sob:"=";("
  132. ":stuck_out_tongue:"=":P"
  133. ":stuck_out_tongue_closed_eyes:"=xP
  134. ":stuck_out_tongue_winking_eye:"=";P"
  135. ":sunglasses:"="B)"
  136. ":tired_face:"="x("
  137. ":wink:"=";)"
  138. }
  139. }
  140. messages {
  141. # Message that will be sent to the main discord channel when a player receives an advancement
  142. # Supports %advancement%
  143. advancement-message="**%player% got a new advancement: %advancement%**"
  144. # Messages sent to Discord when a player goes/retuns AFK, if enabled
  145. afk {
  146. enabled=false
  147. # Message sent when a player goes AFK
  148. going="%player% is now AFK"
  149. # Message sent when a player is not AFK anymore
  150. returning="%player% is not AFK anymore"
  151. }
  152. # Name of the attachment tag shown in-game when someone sends an attachment to the Discord channel
  153. attachment-name="[Attachment]"
  154. # Game that will be displayed in the bot's game status
  155. bot-playing-status="Playing on a nice server!"
  156. # Message that will be set in the main discord channel topic every X seconds
  157. # Supports %tps%, %players%, %maxplayers%, %daysonline%, %hoursonline% and %minutesonline%
  158. channel-topic-message="%players%/%maxplayers% players online | TPS: %tps% | Server online for %daysonline% days, %hoursonline% hours and %minutesonline% minutes!"
  159. # Message that will be set in the main discord channel topic when the server goes offline
  160. channel-topic-offline="The server is currently offline!"
  161. # No permission message (for console command)
  162. console-command-no-permisson="**You don't have permission to use this command!**"
  163. # Message that will be sent to the main discord channel when a player dies
  164. death-message="**Bad day for %player%: %deathmessage%**"
  165. # Format of the messsage sent from Discord to the server
  166. discord-to-server-format="&f%user%&7: &3%message%"
  167. # Format of the messages sent from the Discord Staff channel to the server
  168. # Node: This format is used ONLY when using the Nucleus hook!
  169. discord-to-server-staff-format="&f%user%&7: &7%message%"
  170. # Message that will be sent to the main discord channel when a new player joins the server
  171. new-players-message="**Enjoy playing on our server, %player%!**"
  172. # Message shown when there are no players in the server
  173. # and the list command is executed
  174. no-players-message="**There are no players online!**"
  175. # Text that will be used in %toprole% when the user don't have any roles (besides @everyone)
  176. # Use only if you need. If you don't, leave this option as ""
  177. no-role-placeholder=""
  178. # Message that will be sent to the discord-main-channel when a player joins the server
  179. player-join-message="**%player%** joined the server"
  180. # Format of the player name displayed in the channel list command (!online)
  181. player-list-name="%player%"
  182. # Message that will be sent to the discord-main-channel when a player leaves the server
  183. player-quit-message="**Bye, %player%!**"
  184. # Prefix that will be sent before the actual message, with a hover and clickable link
  185. prefix {
  186. enabled=true
  187. hover="&bClick do join our Discord!"
  188. link="https://discord.gg/sABVm2x"
  189. text="&8[&bDiscord&8]"
  190. }
  191. # Message that will be sent to the discord-main-channel when the server starts
  192. server-starting-message="**The server is starting!**"
  193. # Message that will be sent to the discord-main-channel when the server stops
  194. server-stopping-message="**The server is stopping!**"
  195. # Format of messages sent FROM the server TO discord
  196. server-to-discord-format="**%player%**: %message%"
  197. # Format of messages sent FROM the server staff channel TO the discord staff channel
  198. # Used only when Nucleus is running and enabled
  199. server-to-discord-staff-format="**%player%**: %message%"
  200. # Format of the name of the webhooks that will send messages to Discord, if enabled
  201. webhook-name="[%prefix%] %player%"
  202. # URL that webhooks should get the skin picture from
  203. # Note: the link SHOULD return a valid .png picture from the request!
  204. # Supports %player%
  205. webhook-picture-url="https://crafatar.com/avatars/%uuid%?default=MHF_Alex"
  206. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement