MCTowns

MCTowns

52.4k Downloads

Dual Plot town ownership | Town-specific volatile permission groups

hockeymikey opened this issue ยท 7 comments

commented

If Town A and Town B wanted to create a partnered shop where they share ownership and profits for instance. Then they make a dual ownership plot between them where they can both build. Or even you could be able to add more towns but define what permission they have for the arean like Town C can't break stuff but they can deposit items. Also would strengthen bonds between towns.

commented

While I'm going through tickets...

I did some work on this a while ago and the major stumbling block was the Vault does not support adding/removing permission groups and has no intent to ever support it.

So, I would basically have to pick some permission plugins to support, with the amount of work this then requires being multiplied by however many plugins end up being supported, since each individual plugin will need some research time put into figuring out how to mess with its implementation of permission groups.

I still intend to get this implemented, it's just going to take more effort than anticipated.

commented

Yeah, though you'd need to add the players individually. You'd have to add them individually anyway, just to get all your own town's people permission to build.

Hm, I could make this easier though, by providing a command like: /plot add player residents, which would add all of your town's residents to the plot. Then provide a similar command like /plot add guest to add all the other town's players as guests.

I can either do that, or I can create 'virtual' permission groups (they won't show up in your config files) via vault, which I can then add all players in a town to. Then you could just do something like /plot add group and it would add the group as guests.

Which one sounds better?

commented

Could this already be done with /plot add guest or /plot add player?

commented

Changed title to reflect work to do, tentatively assigned to v2.3.0 milestone

commented

One would be

/plot add player residents

or

/plot add group

Am I getting that right?

One doesn't stick out to me as better personally.

commented

Implementation of this should also fix #39

commented

Thanks for the update. I completely missed this ticket. :-]