Mods
  • Home
  • Advanced Holograms
    • Download
    • Config
    • Placeholders
    • Commands & Permissions
  • BetterDexRewards
    • Download
    • Config
    • Placeholders
    • Commands & Permissions
  • BetterPokeBroadcaster
    • Download
    • Config
    • Placeholders
    • Broadcast Types
  • Chest Shop
  • Envy AntiLag
    • Download
    • Config
  • EnvyBattleTower
    • Download
    • Config
    • Commands & Permissions
  • EnvyCrates
    • Download
    • Default Crate
    • Example Crate with Sprites
    • Commands & Permissions
  • EnvyDayCare
    • Download
    • Config
  • EnvyGTS
    • Download
    • Config
    • Placeholders
    • Webhooks
    • Commands & Permissions
  • EnvySpecs
    • Debug Spec
    • Generation Spec
    • Boss Spec
  • EnvyHunt
    • Download
    • Config
    • GUI
    • Placeholders
    • Commands & Permissions
  • EnvySTS
    • Download
    • Config
    • Placeholders
    • Commands & Permissions
  • Envy Specs
    • Download
    • Specs
  • EnvySafari
    • Download
    • Config
    • Commands & Permissions
  • EnvyVaults
    • Download
    • Config
    • GUI
    • Commands & Permissions
  • ForgeEconomies
    • Download
    • Config
  • ForgeMenus
    • Download
    • Example Menu
    • Requirements
    • Commands & Permissions
  • ForgePlaceholderAPI (FPAPI)
    • Download
    • Installation
    • Custom Placeholders
    • Commands & Permissions
  • Forge TAB
    • Config
    • Commands & Permissions
  • Pixelmon Overlays
    • Download
    • Config
    • Developer
    • Commands & Permissions
  • PokeRemoval
    • Download
    • Config
    • Commands & Permissions
  • PokeTracker
    • Download
    • Config
    • Commands & Permissions
  • ReforgedBingo
    • Download
    • Config
    • Commands & Permissions
  • UltimatePokeBuilder
    • Download
    • Config
    • GUI
    • Placeholders
    • Commands & Permissions
  • WonderTrade
    • Download
    • Config
    • GUI
    • Locale
    • Commands & Permissions
    • Webhooks
    • Placeholders
Powered by GitBook
On this page
  1. WonderTrade

Webhooks

Here is an example webhook you can use for discord integrations.

Here is what you will change inside of the WonderTrade Config.

web-hooks:
    one:
        web-hook-path: config/WonderTradeForge/webhooks/broadcast.json
        trigger-spec: pixelmon

Now Create a file directory leading to config/WonderTradeForge/webhooks/ Then create a file called broadcast.json Inside of the broadcast.json, paste this and then insert your discord webhook URL.

{
   "url": "INSERT WEBHOOK HERE",
   "username":"Reforged GTS",
   "avatar_url": "https://play.pokemonshowdown.com/sprites/ani/%species_lower%.gif",
   "tts": false,
   "icon_url":"https://play.pokemonshowdown.com/sprites/ani/%species_lower%.gif",
   "embeds":[
      {
         "title":"NEW ADDITION",
         "description": "",
         "url": "https://google.com",
         "color":65280,
         "footer":{
            "icon_url":"https://play.pokemonshowdown.com/sprites/ani/%received_species_lower%.gif",
            "text":"Wonder Trade"
         },
         "thumbnail":{
            "url":"https://play.pokemonshowdown.com/sprites/ani/%species_lower%.gif"
         },
         "author":{
            "name":"Wonder Trade",
            "url":"https://discordapp.com",
            "icon_url":"https://pixelmonmod.com/w/images/logo/Fullcolor-50x50.png"
         },
         "fields":[
            {
               "name":"Wonder Trade - New Addition",
               "value":"**%player%** has added %species% to the Pool! \\n**IVs:** %given_ivs% \\n **EVs:** %given_evs% \\n**Nature:** %given_nature% \\n**Growth:** %given_growth%",
               "inline":true
            },
            {
               "name":"Wonder Trade - Received Pokemon",
               "value":"**%player%** has received %received_species% in return! \\n**IVs:** %received_ivs% \\n **EVs:** %received_evs% \\n**Nature:** %received_nature% \\n**Growth:** %received_growth%",
               "inline":true
            }
         ]
      }
   ]
}
PreviousCommands & PermissionsNextPlaceholders

Last updated 2 years ago

The Completed Webhook will appear as so.