CommandSpy to Discord Webhook

Discussion in 'Plugin Requests' started by veyronity, May 4, 2024.

Thread Status:
Not open for further replies.
  1. Offline


    I know of a few servers who have already made this, but I don't know how.

    basically they have categorized each command into a channel, and a bot/webhook sends an embed upon event trigger.

    For example, if a player (successfully, meaning they had permission) types /gmsp it sends a message in #modcommands. but if a player types /town spawn it will send in #townylogs channels

    I was thinking this can use something like EssentialsX's SocialSpy, where I can configure what commands I should be notified about.

    The config here would be similar;
    webhook: [link] or incase of it being a bot, then channel: [channelid]
    - cmd1

    - cmd4
    - cmd5
    - cmd6

    On the event that cmd1 is used, the bot / plugin (thru webhook) sends an Embed in the assigned channel stating the full command (such as /town spawn America) where america is a variable (name of a town) and who ran the command (no nicknames, just the playername)
  2. Offline


  3. Offline


    Thanks. it's working great
Thread Status:
Not open for further replies.

Share This Page