Minehook is a logging plugin that uses Discord Webhooks.
When a player/the server does an action that is enabled for it to be logged, example: player joins, server/console runs a command. It will log it using a set discord webhook url.
You may edit it and use it for yourself or your server but you may not redistribute this project (unless you get my permission), the only official distributions are below
CurseForge: https://www.curseforge.com/minecraft/bukkit-plugins/minehook (NOT AVAILABLE YET)
SpigotMC: https://www.spigotmc.org/resources/minehook.107722/
Discord: https://discord.gg/2wNv7MSJaw