jmhertlein / MCTowns

A versatile and powerful town plugin using WorldGuard and the Bukkit API for Minecraft.
http://dev.bukkit.org/server-mods/mctowns/
GNU General Public License v3.0
8 stars 3 forks source link

Dual Plot town ownership | Town-specific volatile permission groups #8

Open hockeymikey opened 11 years ago

hockeymikey commented 11 years ago

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.

hockeymikey commented 11 years ago

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

jmhertlein commented 11 years ago

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?

hockeymikey commented 11 years ago

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.

jmhertlein commented 11 years ago

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

jmhertlein commented 10 years ago

Implementation of this should also fix https://github.com/jmhertlein/MCTowns/issues/39

apengstrom commented 10 years ago

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

jmhertlein commented 9 years ago

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.