diff --git a/website/docs/mods/betterpokebroadcaster/README.md b/website/docs/mods/betterpokebroadcaster/README.md index 6bdf516..9709905 100644 --- a/website/docs/mods/betterpokebroadcaster/README.md +++ b/website/docs/mods/betterpokebroadcaster/README.md @@ -1,6 +1,6 @@ --- description: >- - BetterPokeBroadcaster allows for certain Pokemon events to be broadcasted + BetterPokeBroadcaster allows for certain Pokemon events to be broadcast throughout your server through the specs that are entered in the configs. --- @@ -8,6 +8,11 @@ description: >- Welcome to the BetterPokeBroadcaster wiki! +BetterPokeBroadcaster is a Pixelmon sidemod that allows you to configure broadcasts, and player messages, for when +given events occur on the server. For example, you can now broadcast a formatted message to your entire server +when a legendary Pokemon spawns, or when a player defeats a legendary Pokemon. You can then add a webhook onto +the same broadcast logic to send the same message to a Discord channel! + For configuration help visit the [`Config`](config.md) page. For more support visit the Discord: Discord diff --git a/website/docs/mods/betterpokebroadcaster/broadcast-types.md b/website/docs/mods/betterpokebroadcaster/broadcast-types.md index 7bb6505..5c26a39 100644 --- a/website/docs/mods/betterpokebroadcaster/broadcast-types.md +++ b/website/docs/mods/betterpokebroadcaster/broadcast-types.md @@ -3,3 +3,9 @@ description: You can use multiple specs in one broadcast --- # Broadcast Types + +Types: +- `spawn` +- `defeat` +- `capture` +- `flee` \ No newline at end of file diff --git a/website/docs/mods/betterpokebroadcaster/config.md b/website/docs/mods/betterpokebroadcaster/config.md index 197a49a..af0e5ac 100644 --- a/website/docs/mods/betterpokebroadcaster/config.md +++ b/website/docs/mods/betterpokebroadcaster/config.md @@ -1,6 +1,6 @@ # Config -You can use any spec to be broadcasted that is within the Pixelmon mod, those specs can be found [here](https://pixelmonmod.com/wiki/Pokemon\_spec). +BetterPokeBroadcaster allows for certain Pokemon events to be broadcast throughout your server through the specs that are entered in the configs.
@@ -9,37 +9,76 @@ You can use any spec to be broadcasted that is within the Pixelmon mod, those sp ``` # © EnvyWare Ltd Software 2022 -broadcast-options: - one: - type: spawn - spec: shiny - nearest-player-radius: 30.0 - broadcasts: - - '&8-------' - - '&a%pokemon% %nearest_name% %x%, %y%, %z%, %world%' - - '&8-------' - webhook: none - nearest-player-only: false - two: - type: spawn - spec: legendary - nearest-player-radius: 30.0 - broadcasts: - - '&8-------' - - '&a%pokemon% %nearest_name% %x%, %y%, %z%, %world%' - - '&8-------' - webhook: none - nearest-player-only: false - three: - type: defeat - spec: legendary - nearest-player-radius: 30.0 - broadcasts: - - '&8-------' - - '&a%pokemon% %nearest_name% %x%, %y%, %z%, %world%' - - '&8-------' - webhook: none - nearest-player-only: false +# © EnvyWare Ltd Software 2024 +# For assistance visit https://discord.envyware.co.uk + +# If this is false then this broadcast option will not be checked. This option is useful for disabling the defaults provided with the mod as you cannot delete those files, only modify them. +enabled: true +# The radius in blocks that the mod will check for the `nearby player` placeholders and options +nearest-player-radius: 100.0 +# The messages that will be broadcasted when the event is triggered. These messages can contain placeholders. +broadcasts: +- '&8---------------------------------' +- ' ' +- ' &6&lSHINY SPAWN' +- ' &e%pokemon% &7has spawned at &a%x%&7, &a%y%&7, &a%z%&7 in &f%biome%&7!' +- ' &7The nearest player is &e%nearest_name%&7' +- ' ' +- '&8---------------------------------' +# The webhook that will be executed when the event is triggered. This webhook can contain placeholders. +webhook: + enabled: false + tts: false + embeds: + example-0: + description: A shiny %pokemon% has spawned at %x%, %y%, %z% in %biome%! + color: + red: 255 + green: 255 + blue: 0 + alpha: 255 + footer: + text: Powered by EnvyWare Ltd + icon-url: '' + author: + name: EnvyWare Ltd + url: https://envyware.co.uk + icon-url: '' + fields: + example-5: + name: Y + value: '%y%' + inline: false + example-6: + name: Z + value: '%z%' + inline: false + example-3: + name: Biome + value: '%biome%' + inline: false + example-4: + name: X + value: '%x%' + inline: false + example-1: + name: Nearest Player + value: '%nearest_name%' + inline: false + example-2: + name: World + value: '%world%' + inline: false + thumbnail: {} + image: {} + url: YOUR WEBHOOK URL HERE + username: EnvyWare Ltd BetterPokeBroadcaster +# If this is true then the broadcast will only be sent to the nearest player to the Pokemon that triggered the event. +nearest-player-only: false +# The type of broadcast. This defines when the broadcast will attempt to be sent. +type: spawn +# This is used to check if the Pokemon in the event is the correct Pokemon for this broadcast. For more information read: https://pixelmonmod.com/wiki/Pokemon_spec +pokemon-spec: shiny isboss:notboss !leg !ub ```