Would it be possible to add an option that would allow admins to block the /mymini command within certain zones (using Zone Manager)?
Block commands in zones
This could be implemented, but I'm guessing it would need to be the kind of thing that you edit every wipe or so. Are the zones manually created? If they are generated automatically by another plugin, then it may be possible to implement something smarter that automatically detects those zones.
I found the "CanFetchBuildingBlocked" setting. I set that to false, but because I'm an admin, I don't think the building block affects me in the zone, so I can still spawn the mini. I am waiting to get a non-admin on my test server so I can test this.
I set this zone manually each wipe. I have a cargo ship that all players spawn on. I manually place it on the map, so the zone changes each wipe (I change map each wipe).
Setting "CanFetchBuildingBlocked": false
simply disallows spawning the mini while you are near a tool cupboard that you are not authorized on. It has no bearing on when you are outside of cupbard radius. It's like when you have a planner in hand and see a notice in the bottom right saying "building blocked". I suppose a config option could be added that would require that you be authorized on a nearby cupboard to spawn a mini, but it sounds like the best solution to your problem is simply implement a config for the zones. This can be achieved very easily with a simple add-on plugin that hooks into both Spawn Mini and Zone Manager.
With Zone Manager, I can set a zone to be building blocked. Is that different from the building blocked you get with a TC? If there was an option in this plugin to just disallow the command in specified zones, that would be cool for me. I am hoping when I get to test it, that having that option enabled does work in the zones manager building blocked zones too.
The Zone Manager plugin has a NoBuild setting which simply disallows building. It doesn't use the TC authorization mechanism which this plugin is checking for.
Oh ok, so then is it possible for you to add an option for admins to list zones that the /mymini command won't work in? I found a plugin that disables specific commands in a zone but it doesn't work anymore and another I found was on another site but isn't available for download.
By any chance if you or somebody is still looking for such a thing search "Zone Command Blocker', not here on UMod tho 😁BetterDeadThanZed
Oh ok, so then is it possible for you to add an option for admins to list zones that the /mymini command won't work in? I found a plugin that disables specific commands in a zone but it doesn't work anymore and another I found was on another site but isn't available for download.