By Xizzzy
#206422 Normal despawn at a range is understandable, you don't want a billion pokemon dragging your computer to half a frame per second. There are however several types of spawns that might benefit from some spawn persistence. They don't need to keep running around and can just register to the chunk they're in and wait for the next time it gets loaded to resume. They also don't need to last forever, they can have a persistence level assigned to them that runs out and removes them from that temporary holding status.

Legendary, Shinies, Bosses, and Custom targets could be set for this system.

Legendary function with a timer that every time the timer runs out a 30% chance for a legend to spawn happens. In this case that legend could persist where it spawns until the next spawn chance happens if you haven't bothered to go get it by then.

Shinies have a severely low chance of spawning without lures, end game help, or ultra space. When you see a shiny despawn it is tragic. With this you could assign an amount of time they stick around for within their registered chunk until it runs out or you find them. Bosses and Custom targets would be the same.

Config Settings:
Number of Legends allowed to persist =
Minutes before despawn legend =
Number of Shinies allowed to persist =
Minutes before despawn shiny =
Number of Bosses allowed to persist =
Minutes before despawn Bosses =
Number of Custom Targets allowed to persist =
Minutes before despawn Custom Targets =

JOIN THE TEAM