Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.19.3: Bosses not despawning if Chunks are unloaded + Mobs like Wither & Warden not despawning at all. #1153

Closed
0x484 opened this issue Apr 24, 2023 · 5 comments
Labels

Comments

@0x484
Copy link

0x484 commented Apr 24, 2023

Issues with the "Despawn when far away" function:

  1. My Bosses are not despawning when they're in unloaded Chunks. To be specific, sometimes they do despawn but most of the time they don't. I am not sure if this is a bug with the Boss plugin or my Server or if it's even possible to despawn since the Chunks are unloaded.

  2. Boss Mobs like the Wither and the Warden + maybe others (I haven't testet them all) do not despawn at all which im pretty certain is a "bug" with Boss. Is it possible to make those despawn as well?

Boss Version - 4.7.4

@0x484 0x484 added the issue label Apr 24, 2023
@matipoirierg
Copy link

matipoirierg commented Apr 25, 2023

Have you checked if you have persistency disabled?

@matipoirierg
Copy link

2023-04-24_22 32 57

@0x484
Copy link
Author

0x484 commented Apr 25, 2023

Yeah, all Bosses are of course set to "despawns"
image

@0x484
Copy link
Author

0x484 commented Apr 25, 2023

Normal Bosses do despawn, I can test this when spawning them and changing Gamemode to Spectator. With Withers and Wardens, this does not happen. (Alltough as said, normal Bosses also do not despawn when a Player gets killed and the Chunks are unloaded)

@kangarko
Copy link
Owner

Hey and thanks for asking!

  1. Unfortunately that is not possible as of right now. We would have to open unloaded chunks on your disk using expensive methods involving NMS. That would decrease stability of the server in case the chunk got loaded in the very moment we would be scanning it (such as by a random player teleport). Bukkit does not provide this feature either.

  2. I do not think Wither/Warden despawn on vanilla either, that is because they are considered a "boss" mob in Minecraft. To despawn bosses I call the vanilla server's "setRemoveWhenFarAway()" method, beyond which I have no further control.

Thanks and hopefully that answered your questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants