Shopkeepers

Shopkeepers

2M Downloads

Can't remove shopkeepers in areas where mob-spawning deny

blablubbabcDEV opened this issue ยท 4 comments

commented

Migrated from: https://dev.bukkit.org/projects/shopkeepers/issues/235

Originally posted by SolidMean (May 21, 2014):

What steps will reproduce the problem?

  1. Create a shopkeeper in a region with mob-spawning DENY. (It might be a different region flag, but I think this is the issue)What is the expected output? What do you see instead?
    Normally, shopkeepers are generated successfully in other parts of the world, but when they are placed in a region with mob-spawning deny, they get placed, but "flash" on and off randomly, and can't be selected to removed. I've tried to remove them from the save.yml file, but they reappear in the save.yml file after /shopkeeper reload. Do they need to be removed from the database? Because they flash infrequently, and never actually stay visible, they can't be clicked on to be removed. Changing the region to mob-spawning allow doesn't make them visible.Just need a way to permanently delete the shopkeepers created this way. I'm going to try to change the save file so that their coordinates are moved to underground.What version of the product are you using?Do you have an error log of what happened?Please provide any additional information below.
commented

Originally commented by SolidMean (May 21, 2014):

I can confirm that this has something to do with mob-spawning or some other mob related flag.
I have a world guard parent region defined with mob-spawning DENY, priority 0.
I have a child region defined with mob-spawn ALLOW, priority 5
I can create villager shopkeepers in that region, but the creeper and witch shopkeepers appear when they are created, and disappear quickly, over and over.
To fix the issue, I can edit the save.yml file, and change the "creeper" and "witch" types to "villager", and then remove the shopkeepers normally, but I'm not sure which flag would be causing this issue, as mob-spawning is set to "allow".

        Edited May 21, 2014
commented

Originally closed by blablubbabc (Dec 30, 2014)

commented

Originally commented by blablubbabc (May 21, 2014):

You can't edit the save file manually while the plugin is running: Shopkeepers will save the currently loaded shopkeepers back to that file when it disables/reloades.
What do you have 'bypass-spawn-blocking' set to in the Shopkeepers config?
If it it only a problem with hostile mobs (like witches and creepers) then something might remove them when they try to target or attack some other entity/player. Though I didn't find anything of that sort in WorldGuard right now. Do you run any other plugin which might perform actions on those entities, depending on their WorldGuardRegion? You really don't have this problem outside of WorldGuardRegions?
How fast do the 'flash' (reappear)? Shopkeepers might attempt to respawn them every 10 seconds, and with spawn verifier enabled, anyother time every minute.

commented

Originally commented by blablubbabc (Dec 30, 2014):

I was not able to reproduce this with the lateest WorldGuard plugin and mob-spawning flag set to DENY.

I assume some other plugin to maybe constantly removing the respawning shopkeeper entitiy..