Sueta
CH

ChatOnDiscord

1.0-SNAPSHOT

Send a message to your discord server with the chat logs or if player joins or server starts.

·Plugin

ChatOnDiscord

Plugin that offers sending chat logs, player join and leave, or if server stops or starts to your discord server.

Plugin is beta and i need to fix some things

How to create a webhook?
Here it is: https://gyazo.com/244083ddf78fb1b86c99776dc7a9e5c0

Just create a webhook!

Screenshots:
upload_2022-3-6_14-46-34.png
upload_2022-3-6_14-46-45.png
upload_2022-3-6_14-47-9.png

Plugin offers also a config file where you can set the webhook link or
This is example config:

links:
  webhook: 'https://discord.com/api/webhooks/***** < here is webhook link that you cant send to other users'
colors:
  chat:
    red: 153
    green: 40
    blue: 32
  server:
    start:
      red: 25
      green: 166
      blue: 15
    stop:
      red: 255
      green: 50
      blue: 50
  player:
    left_server:
      red: 255
      green: 50
      blue: 50
    join_server:
      red: 25
      green: 166
      blue: 15
messages:
  chat: '[%time%] %username%: %chat%'
  player:
    join_server: '[%time%] %username% joined the server! %player_count%/%player_max%'
    left_server: '[%time%] %username% left the server :( %player_count%/%player_max%'
  server:
    stop: ':exclamation: [%time%] Server stopped!'
    start: ':white_check_mark: [%time%] Server started!'
  options:
    addAuthor: true
    24hourformat: true


Credits:
Webhook sender: https://gist.github.com/k3kdude/fba6f6b37594eae3d6f9475330733bdb

Similar projects

Plugin →