Hierarchy icon indicating copy to clipboard operation
Hierarchy copied to clipboard

add permission per world and permission time expired

Open padreon opened this issue 6 years ago • 13 comments

add permission per world and permission time expired

padreon avatar Jun 14 '19 08:06 padreon

What for?

CortexPE avatar Jun 15 '19 10:06 CortexPE

per world for "per world" uses? say to allow doing 1 thing only in 1 world, like allowing factions commands in factions worlds, and plots command in plot worlds

for expiry maybe that should be an extension plugin of a plugin to not bloat main plugin uses would be something like a subscription rank

Thunder33345 avatar Jun 15 '19 16:06 Thunder33345

I disagree with per world permissions because it's overly complicating things for a poor use case; if you have the option of mysql then why put everything on one server. I think both of these ideas should be extension plugins and left out of the main because it really depends on how a server is setup.

artulloss avatar Jun 15 '19 16:06 artulloss

yeah I don't think the majority of users have the need for multi-world permissions

CortexPE avatar Jun 16 '19 06:06 CortexPE

I agree it's rather niche i am not defending it but just thinking of possible use cases\

the per world might be a mess, not sure if implementing on a plugin level would make it even messier the timed permission should be a bliss to be done as an plugin ext, just add/remove when time comes

Thunder33345 avatar Jun 16 '19 09:06 Thunder33345

The per-world one would be messy...

But it could be theoretically done by creating in-memory / temporary roles for the roles that have per-world permissions... Then add & remove those from members that have the original roles when they join & move levels.

Then for the member perms, Same concept... Add & remove perms on join & level transfer.

The commands would be separate.

Per-world extension:

/wordhrk grantperm <world> <member|role> <permission>
/wordhrk removeperm <world> <member|role> <permission>
/wordhrk denyperm <world> <member|role> <permission>

Temporary roles & perms extension:

/temphrk grantperm <member|role> <permission> <expiryDate>
/temphrk denyperm <member|role> <permission> <expiryDate>
/temphrk removeperm <member|role> <permission>

CortexPE avatar Jun 16 '19 10:06 CortexPE

It'd be cool if you add temporary roles with date or amount of hours/minutes.

For example : If a player vote i want to give him fly permission for 15 minutes.

Regards.

LeoBdt avatar Jun 20 '19 09:06 LeoBdt

I'm planning on making an extension to support timed ranks in the coming days, and actually for the same reason you just said.

artulloss avatar Jun 20 '19 16:06 artulloss

You're on the good way for being better then PurePerms !

LeoBdt avatar Jun 20 '19 16:06 LeoBdt

I have a few use cases for multi world permissions with multiple minigame worlds.

rzwarts74 avatar May 07 '20 20:05 rzwarts74

I had 2 servers, one for survival and one for creativ, but for any games on the survival server, i need to add some roles for multiworld, i think it is for a lot of reasons needed, to at multiworld support. Thanks for your working

The games is made for an player allway an new map. Skyblock is a little bit confusiong, but with it, ther are a lot of multiworlds

suerion avatar May 11 '20 04:05 suerion

@CortexPE is there a timeline, when you will add multiworld support?

suerion avatar May 21 '20 20:05 suerion

Per Multiworld, it should create also permissions for prefix worlds like Skyblock

skyblock generates allways a new World with sb-

it would famous if you could support it

suerion avatar Jul 08 '20 23:07 suerion