pixelmon machines in another player region
LadyCailinBot opened this issue ยท 11 comments
WORLDGUARD-3353 - Reported by AglarCZ
Hello,
on my server i got problem that pixelmon machines (PC, healer, cloning machine etc.) can be placed in worldguard regions of another player. Same with mossy and ice rock. Everythings else (ores, pokeloot etc.) is fine but machines and rocks are bugged in this way.
Any idea what to do with it?
Can you fix it or should I report this bug to pixelmon team?
PS: i am using latest cauldron with WG 5.9
Comment by sk89q
Oh wait -- I see you mentioned WG 5.9. v6 is better with non-vanilla blocks, but I don't think it will help you in this situation because 5.9 normally blocks block placements for everything.
Comment by AglarCZ
I will try event logging and let you know if something shows up.
Comment by sk89q
Event logging only works on 6.x+
If you end up upgrading, you should create a backup of your region files first.
However, you can also just test 6.x + Pixelmon on a test server.
Comment by AglarCZ
Here is what i got: http://ctrlv.cz/shots/2015/01/28/wjD6.png
It says now that i cant place it there but placing still works.
Comment by sk89q
From reading the log, it looks like Pixelmon is using its own method of placing block rather than Minecraft's, which Cauldron/Bukkit is not aware of, so WorldGuard cannot block it.
Reasonably, there's not much we can do on our part.
Comment by clienthax.1
Posting here because im banned from the irc channel because of wizjany not agreeing with a bug i found in worldguard once and issuing a permaban.
SO, pixelmon dev time!
We have the Block itself (usaully not obtainable) and a ItemBlock, which is what the player will end up with,
The ItemBlock checks if theres space for the object where its being placed and if so calls world.setBlock, What exactly do we need to add to support worldguard properly?
Comment by sk89q
We talked and this issue is currently fixed but requires a Pixelmon update (maybe in the future -- I am not familiar with Pixelmon's release setup).
Comment by wizjany
Unfortunately there is nothing we can really do about mods that circumvent protections, and you will likely not get much support from the mod authors either.
Comment by sk89q
See http://docs.enginehub.org/manual/worldguard/latest/regions/scope/#mod-and-plugin-support
You can try enabling http://docs.enginehub.org/manual/worldguard/latest/advanced/event-logging/ and then placing Pixelmon machines to see if anything even shows up in the log. If something does, post it here.