mcHook

Add a simple discord webhook system to your server!

48

mcHook

Ever wanted to add custom discord webhooks to your minecraft server?

Here is your solution! A very simple and lightweight discord webhooks system

Don't know how to add a large JSON to your config.yml?

Here is an example!

``` welcome: | { "content": "Welcome to the server, %server_online%!", "tts": false, "embeds": [ { "author": { "name": "Server Info: Get Started", "url": "https://example.com" }, "title": "Welcome to the Server!", "url": "https://example.com/rules", "description": "We are glad to have you here! Please read the rules before playing.nnType %server_online% in-game for a quick overview.", "fields": [ { "name": "Player", "value": "Player %server_online% has joined for the first time!", "inline": true }, { "name": "Online Members", "value": "There are now %server_online% players online.", "inline": true } ], "image": { "url": "https://cubedhuang.com/images/alex-knight-unsplash.webp" }, "thumbnail": { "url": "https://crafatar.com/avatars/%player_uuid%?size=64" }, "color": 3447003, "footer": { "text": "Server Join Notification | mcHook", "icon_url": "https://slate.dan.onl/slate.png" } } ] } ``` use %%MD0%% for embeds and select in the output JSON

Commands:

/mchook <webhookID> <messageID> [player] - Send the selected message with the selected webhook note: the [player] is to use placeholders or send it to his name

/mchook reload - Reload the plugin

Have any problems?

Don't worry! Join the discord server and open a ticket

ADS