Closed JerichoTorrent closed 3 months ago
I also have found another 2 bugs regarding Citizens. Figured I would put it in here rather than making a new issue.
I tried asking in the Citizens discord and didn't get much help.
Hey and thanks for waiting while we were on holidays!
I just tried to add a system to count unloaded bosses but there is a bukkit/spigot/paper bug at least on 1.20.6 where the unloaded chunk always reports 0 entities in it: https://i.imgur.com/QNaJCmT.png Unfortunately there is no other event called to help us with that.
Please post that error.
I apology, there is a known bug in some cases, that seems to be a limitation with citizens API. We do have a newly added setting for boss speed, did you use it instead of /npc speed? I believe its either in attributes or citizens menu,.
I just tried to add a system to count unloaded bosses but there is a bukkit/spigot/paper bug at least on 1.20.6 where the unloaded chunk always reports 0 entities in it: https://i.imgur.com/QNaJCmT.png Unfortunately there is no other event called to help us with that.
I found somewhat of a workaround. I made a WorldGuard region around where the bosses spawn that I need to respect my limits and spawn when and where I need them too. Then I set the region flag to deny chunk unloading. So the chunks always stay loaded, which is not good for performance but at least fixes the issue for now. Hopefully someday an event exists that can be called, but who knows at this point.
Here is the error I was referring to. I know the skin is valid, because when I change the skin with
/npc skin --url <link>
it works fine, but upon killing and respawning the boss, it breaks.
I apology, there is a known bug in some cases, that seems to be a limitation with citizens API. We do have a newly added setting for boss speed, did you use it instead of /npc speed? I believe its either in attributes or citizens menu.
I have found that setting in /boss menu
-> citizens -> speed, and it seems to have fixed the issue. Thank you.
Strangely, after tweaking the Citizens speed, I killed and respawned the bosses just now and the skins appear to be working. Not sure how I could've fixed it by just adjusting the speed. For that reason I'm sure the issue could crop up again, as I'm not sure how those two things are related. Just thought you should be aware.
Thanks for posting and sorry for the delay. Let me know if it crops up again.
I set it so bosses don't have to be within 30 blocks of the player, and instead can spawn in unloaded chunks. This is because I have some bosses that are meant to spawn once daily, or once an hour. The chances of the player being near the boss when it's supposed to spawn is low, and I want to INSPIRE players to go fight the boss by announcing it in chat.
The problem is, with this configuration, the bosses ignore my limits that I placed on them. Is this a Minecraft limitation, or can this be fixed? It's almost as if Boss doesn't know that the boss has already spawned, because it can't detect it in an unloaded chunk.
Boss-2024-05-23T013235Z.tar.gz.