CobbleDrock Spawn Alerts

CobbleDrock Spawn Alerts adds real-time server-wide notifications for Legendary, Mythical, Rare, and Shiny Pokémon spawns, captures, defeats, and despawns in CobbleDrock.
Back to Files

CobbleDrock-Spawn-Alerts-1.0.3.mcaddon

File nameCobbleDrock-Spawn-Alerts-1.0.3.mcaddon
Uploader
Kyrox999Kyrox999
Uploaded
Nov 5, 2026
Downloads
1.0K
Size
1.6 MB
File ID
9448836
Type
R
Release
Supported game versions
  • 26.40

What's new

What's New in Spawn Alerts 1.0.3

  • Legendary panel simplified to just 3 lines:

    1. ✦ LEGENDARY SPAWN ✦

    2. Pokémon name + Lv.50/Lv.70 + tier (Popular/Special) + coordinates

    3. Dimension · biome · remaining lifetime (leaves in ~X min)

  • Reads dynamic properties directly from entities created by Encounters:

    • lota:legendary_tier

    • lota:legendary_level

    • lota:legendary_expires_at

  • Displays accurate information even before pokemon_data becomes available.

  • Legendary spawns with the Legendary tag are no longer blocked by the anti-spam cooldown.

  • Added entityDie handling: when a Legendary is defeated, the notification correctly identifies the player who dealt the final blow instead of reporting it as a "despawn".

  • Still distinguishes between being caught, defeated, and despawning naturally.

  • Handshake lota:alerts_api = 2 ensures /lota:checkspawn legendary correctly reports the connection status.


4. Commands

Legendary Encounters

/lota:checkspawn legendary                  → Current status
/lota:checkspawn legendary rates            → Rates, timers, and species list
/lota:checkspawn legendary help             → Full command list
/lota:checkspawn legendary set popular 10   → Popular every 10 minutes
/lota:checkspawn legendary set special 20   → Special every 20 minutes
/lota:checkspawn legendary set first 5      → First spawn after 5 minutes
/lota:checkspawn legendary set max_active_legendaries 4
/lota:checkspawn legendary spawn            → Force an immediate spawn roll
/lota:checkspawn legendary clear            → Remove all currently spawned Legendaries
/lota:checkspawn legendary reset            → Restore 1.0.4 defaults
/lota:checkspawn legendary enable | disable
/lota:checkspawn legendary notify_alerts | notify_direct

Read-only commands (status, rates, help) are available to everyone. Commands that modify settings require the lota:legendary_admin tag. The first player to use a modifying command automatically receives this tag.

Spawn Timing Configuration — When Do Changes Take Effect?

  • After the world has spawned its first Legendary: Using set popular 10 or set special 20 immediately updates the interval and re-arms the next spawn roll using the new interval (including the usual ± jitter). There is no need to wait for the old timer to expire.

  • Before the first spawn: The initial timer is still controlled by first. Changes to popular or special are saved and take effect starting from the second spawn roll. The command will clearly indicate this.

  • set first X: Before the first spawn, re-arms the initial spawn timer to exactly X minutes from the moment the command is executed. After the first spawn has already occurred, this setting only applies to new worlds. The command will report that the first spawn has already happened and will not overwrite the current schedule.

  • reset and reload: Also re-arm the schedule using the newly loaded timing settings, ensuring that rates and the next spawn time are immediately synchronized.

  • In-game time = minutes × 1200 ticks; jitter is added or subtracted around the configured interval.

Spawn Alerts

/scriptevent lota:alerts_status
/scriptevent lota:alerts_test
/scriptevent lota:alerts_toggle on|off
/scriptevent lota:alerts_config legendarySimpleDisplay false   → Detailed panel
/scriptevent lota:alerts_config legendaryShowLeaveTime false

5. Quick Post-Installation Checklist

  1. Enter your world and run /lota:checkspawn legendary.

  2. The alerts: line should report that the connection is active (API 2).

  3. Run /lota:checkspawn legendary spawn to test an immediate spawn.

  4. The panel should display the correct 3-line format, with level 50 or 70 and leaves in ~….

This mod has no additional files