WorldGuard

WorldGuard

8M Downloads

Flags break when player comes online

LadyCailinBot opened this issue · 11 comments

commented

WORLDGUARD-3041 - Reported by Kimball

Hey there,

I´ve got 3 Flags within my "Home-Area" within eachother on my Friends Bukkit Server, using worldguard.
1 Small region, which is a small room, where only i am able to open chests. ( y = 60-75 circa )
1 Big region, which simply prevents others from Building/Breaking. ( y = 0 - 256 )
1 Even Bigger region where no mobs can spawn below Y = 83, which is where my Building mostly are and i´ve got a Mob spawner in the sky. This flag is used to max the spawn rates in my Mob Spawner.

We´ve tried using "mobspawning :deny" as well as "spawndeny :mobname, mobname, mobname", same result.

It all works properly UNTIL another player logs online :O
As soon as another player ( or more, doesnt change anything. And it´s with all players, no specific one. ) comes online it even stops spawning in my Mob Spawner.

However, as soon as said player logs out OR even leaves the Dimension ( Nether/ End) it starts working/ Spawning again.

Could it be i´ve got too many flags within eachother/overlapping ?

Please help :3

commented

Comment by wizjany

Er, to be clear, it works when you (or any one player) are there, but not when a second player is there?
Have you tested by using /spawnmob commands and the like to make sure that the flag is actually working and it's not a problem with natural mob spawning?

commented

Comment by Kimball

Yes it works as long as just ONE player is online, doesnt matter who, but when a second player is online, no matter where in the overworld, it stops spawning. and no i didnt tried that, since the natural spawning is happening just fine everywhere regardless of how many players online, even with just me online, i see mobs spawning naturally everywhere, exept in my flags ofc.

commented

Comment by Kimball

Okay new facts, it does matter WHERE the other player/s is/are.
if the another player is within my area, it works properly... if he´s somewhere else, it stops working.

commented

Comment by wizjany

I can't see any reason this would be happening unless another plugin is doing something weird with mob spawning...can you try disabling your other plugins and seeing what happens?

commented

Comment by Kimball

that was basicly the first thing we did ^^ and no, nothing changes. btw the only other plugins are WorldEdit and Dynmap.

we´ve made a completly new flag, deleted every single other = same result.

commented

Comment by wizjany

Can you upload your regions.yml and config.yml, and maybe a server log too? I'm not even sure what I'd be looking for at this point, but maybe I'll find something.

edit: holy crap i just was browsing through some super old code and there's a possibility i know why this is happening...I'll get something you can try tomorrow, it's late for me now.
note to self: onCreatureSpawn

commented

Comment by wizjany

Alright, here's a build with a single line of code commented out. If your issue is what I think it --is-- might be, you should get an NPE in your server log when the issue occurs. Can you test it out and then upload your log?

commented

Comment by Kimball

doing that now, sorry for the delay, had some family issues to solve.

commented

Comment by Kimball

Okay, problem still exists, the logs show no diffenrence exept for this :

[15:09:59 WARN]: A manual (plugin-induced) save has been detected while server is configured to auto-save. This may affect performance.

we´ve changed nothing in the configs, logs are attached.

commented

Comment by wizjany

Er, can you upload your log as well? For some reason your config is blank.

commented

Comment by Kimball

Oh :O yeah will take a while since the admin is afk for a few hours.