Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add permission per world and permission time expired #6

Open
padreon opened this issue Jun 14, 2019 · 13 comments
Open

add permission per world and permission time expired #6

padreon opened this issue Jun 14, 2019 · 13 comments
Labels
enhancement New feature or request

Comments

@padreon
Copy link

padreon commented Jun 14, 2019

add permission per world and permission time expired

@CortexPE
Copy link
Owner

What for?

@Thunder33345
Copy link
Collaborator

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

@artulloss
Copy link
Collaborator

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.

@CortexPE
Copy link
Owner

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

@Thunder33345
Copy link
Collaborator

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

@CortexPE
Copy link
Owner

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>

@LeoBdt
Copy link

LeoBdt commented Jun 20, 2019

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.

@artulloss
Copy link
Collaborator

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

@LeoBdt
Copy link

LeoBdt commented Jun 20, 2019

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

@CortexPE CortexPE added the enhancement New feature or request label Dec 20, 2019
@rzwarts74
Copy link

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

@suerion
Copy link

suerion commented May 11, 2020

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
Copy link

suerion commented May 21, 2020

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

@suerion
Copy link

suerion commented Jul 8, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants