Safezone issue

Hello! We're using a custom Outpost compound on our server, which uses both Prevent Building sphere and a Safezonesphere. It seems that using the building volume bounds setting in the config also expanded our safezone to the building volume. Is there a way around that?

This certainly isn't supposed to happen, since this plugin is intended to be purely informational. It finds objects in the game and provides information to other plugins.

However, I checked the code and there appears to be an unintentional modification of the prevent building collider bounds, where the intention was to modify a copy of the bounds (in some cases, depending on you configure the position/rotation for that monument, such as to reposition the bounding box relative to the monument marker). I have pushed a commit to the GitHub repo which should fix this, which you can get from the following link. Please test it and let me know if this resolves the issue. Note that you probably need to restart the server to revert the previous unintentional modification.

https://raw.githubusercontent.com/WheteThunger/MonumentFinder/master/MonumentFinder.cs

Unfortunately, I don't see how this mistake could affect the safe zone, as it would only modify the prevent building collider, not the safe zone collider (they are different objects with separate colliders/bounds). The only explanation I could think of is that you have another plugin which is creating or modifying the safe zone according to the prevent building volume or according to the bounds info provided by this plugin.

Yeah the fix didn't affect it. I played around it with it for a bit, and only using custom bounds solved the issue. I'm not sure how this is actually handled by the game

Which plugins are you using which utilize Monument Finder? It's probably one of them, since especially with that fix, MF does not modify the game.

Is the safe zone part of the map or created by a plugin?

The safe zone is the part of the map implemented as Safezonesphere. The only other plugin that utilizes MF is the Custom Vending Setup

I tried reproducing this issue, by making the bounds based on the PV volume, but the safe zone stayed the original size.

I am a bit skeptical about this issue since I don't see how this plugin could be affecting any game objects.

Yeah, I'm confused as well, but it is what it is. Try making Safezonesphere smaller than the Prevent Building sphere and see if you'll be able to reproduce the issue. It works fine with custom bounds, but as soon as we set it to find bounds from building volume it breaks. 

I tried recreating that but didn't reproduce the problem. Can you send me your map and config?