(Slightly Outdated. It doesnt show how to setup the command ran event [Its the same as the other events], and the video doesnt show the new settings you can change on each event [It can be found on the configuration page for each event])
NEWEST UPDATE:
+ Embed Color Selector for the PlayerQuitEvent
+ Setup Color Selectors to be translated
+ Fixed Icon Name of the upcoming PlayerChatEvent Webhook (The color code was in the wrong spot)
DiscordEventWebhooks is a plugin for Minecraft Servers. It is very sinple and easy to use thanks to everything being configured in game and on a GUI. It allows you to send webhooks to your Discord server on various events like when a user joins and leaves. It is very customizable, and more events are constantly being added. It will have multiple translations added to make it more inclusive and its 100% free.
![[IMG]](/proxy/image?url=https%3A%2F%2Fi.postimg.cc%2FN0YkDgFh%2FPerms.png)
discordwebhooks.config - Ability to configure the plugin, and use all the commands. (Found Below)
![[IMG]](/proxy/image?url=https%3A%2F%2Fi.postimg.cc%2F9X4grQq1%2FCommands.png)
/discordwebhooks or /dswb
- Open the configuration GUI
/discordwebhooksreload or
/dswbreload - Reload the Plugins Config (If you configure it in game, this is not needed)
![[IMG]](/proxy/image?url=https%3A%2F%2Fi.postimg.cc%2FtRPdKZ60%2FInstall.png)
1. Download the File
2. Upload it to your Plugins Folder
3. Restart your Server
![[IMG]](/proxy/image?url=https%3A%2F%2Fi.postimg.cc%2FnLj9qgY8%2FConfig.png)
Code (Text):
language:
CurrentLanguage: 'English' ## Do not change, only English is available
webhookURLs: ## If you are getting errors every time an event happens, make sure your webhook URL is correct, or if you don't set a URL, put DISCORD_WEBHOOK_URL_HERE instead
joinMessageWebhookURL: 'DISCORD_WEBHOOK_URL_HERE' ##This is when a user joins the server
leaveMessageWebhookURL: 'DISCORD_WEBHOOK_URL_HERE' ## This is when a user leaves the server
bedEnterMessageWebhookURL: 'DISCORD_WEBHOOK_URL_HERE' ##BedEnter is when a user gets into a bed
bedExitMessageWebhookURL: 'DISCORD_WEBHOOK_URL_HERE' ##BedExit is when they get out of the bed
commandRanMessageWebhookURL: 'DISCORD_WEBHOOK_URL_HERE' ## This logs when a user runs a command on your server
messages:
JoinEmbedTitle: 'A User Has Joined!' ## All the following are parts of the embeds
JoinEmbedDescription: '**%player_name%** has joined the Server!'
JoinEmbedFooter: 'Join Message'
JoinWebhookUsername: 'Join Alert'
JoinWebhookIcon: 'https://cdn.discordapp.com/avatars/911483825312399360/be1124a96fb52a453ea9b48867b7139a.webp?size=2048'
JoinWebhookColor: 'Green' ## Change the color of the embed that is sent when the embed is triggered (Configure it by running /discordwebhooks, and clicking on the beacon, then the dye in the top left corner)
LeaveEmbedTitle: 'A User has Left' ## This is the start of the section for the leaveEmbedMessage
LeaveEmbedDescription: '**%player_name%** has left the Server!'
LeaveEmbedFooter: 'Leave Message'
LeaveWebhookUsername: 'Leave Alert'
LeaveWebhookIcon: 'https://cdn.discordapp.com/avatars/911483825312399360/be1124a96fb52a453ea9b48867b7139a.webp?size=2048'
LeaveWebhookColor: 'Red' ## Change the color of the embed that is sent when the embed is triggered (Configure it by running /discordwebhooks, and clicking on the Lava Bucket, then the dye in the top left corner)
BedEnterEmbedTitle: 'A User Has Started Sleeping!' ## This is the start of the section for the BedEnterEmbedMessage
BedEnterEmbedDescription: '**%player_name%** has started sleeping!'
BedEnterEmbedFooter: 'Bed Enter Alert'
BedEnterWebhookUsername: 'Sleeping Alert'
BedEnterWebhookIcon: 'https://cdn.discordapp.com/avatars/911483825312399360/be1124a96fb52a453ea9b48867b7139a.webp?size=2048'
BedExitEmbedTitle: 'A User Has Stopped Sleeping!' ## This is the start of the section for the BedExit EmbedMessage
BedExitEmbedDescription: '**%player_name%** has stopped sleeping!'
BedExitEmbedFooter: 'Bed Enter Alert'
BedExitWebhookUsername: 'Sleeping Alert'
BedExitWebhookIcon: 'https://cdn.discordapp.com/avatars/911483825312399360/be1124a96fb52a453ea9b48867b7139a.webp?size=2048'
CommandRunEmbedTitle: 'A User Has Ran a Command' ## This is the start of the section for the CommandRun EmbedMessage (This is triggered when a user runs a command)
CommandRunEmbedDescription: '**%player_name%** has run the %command_ran% command.' ## Use placeholder %command_ran% to get the command that the user ran!
CommandRunEmbedFooter: 'Command Alert'
CommandRunWebhookUsername: 'Command Logging'
CommandRunWebhookIcon: 'https://cdn.discordapp.com/avatars/911483825312399360/be1124a96fb52a453ea9b48867b7139a.webp?size=2048'
features:
joinWebhookMessage: 'True' ## True means on, so True means it will send the webhook on join and leave of users
leaveWebhookMessage: 'True' ##| If true it will send a webhook
sleepWebhookMessage: 'True' ##This is when a user gets into a bed | If true it will send a webhook
exitsleepwebhook: 'True' ##This is when a user gets OUT of a bed | If true it will send a webhook
commandrunwebhook: 'True' ##This is when a command is run | If true it will send a webhook
other:
sendDevStats: 'True' ## Send some stats about your server to the developer
onlyLogOperatorCommands: 'False' ## (This is for the CommandRan Event) | If set to true, the plugin will only send a webhook if the user who runs the command is an operator | Options: True or False
https://someonessonsplugins.ga/discord