Im looking for a plugin that will allow people or groups to have no stability on there structures. I dont want to use server.stability true/false as I dont want to turn it on and off for the whole server but for specific people. I would think the permission would be something like nostability.allow
Rust No stability based on permissions
Discussion in 'Plugin Requests' started by Razor14150, Jun 22, 2016.
-
One way is to use zone manager with /zone nostability true
But plugin should be modified to what you want because of all other option. -
This isnt what I want. I want the permission of "no stability" added to a player so that they can build where not building blocked. I dont want to have to go set zones where VIPs want to build.
-
Maybe I don't think you can do what you want without zone.
Well I'll take a look at zone manager how it's build and make a plugin for you when I had time. -
Code:
private void OnServerInitialized() { permission.RegisterPermission("easyaccess.nostab", this); } private void OnEntitySpawned(BaseNetworkable entity) { if (entity is BuildingBlock) { var block = (BuildingBlock)entity; if(permission.UserHasPermission(block.OwnerID.ToString(), "easyaccess.nostab")) block.grounded = true; } }
You just have to add this code to any plugin or create a base for it.
Just told me if you want simple plugin.
Edit : @Wulf sry for double postLast edited by a moderator: Jun 22, 2016