Ability to export permissions of certain servers
DarkFort opened this issue · 14 comments
It would be very convenient to export the permissions of certain servers or groups. For example:
/lp export
/lp export server:survival - export survival server permissions
/lp export groups - export groups, prefixes, suffixes and weight
This is very convenient if you want to separate some permissions from the entire list, since often this list is very huge and it is very difficult to edit it manually.
What exactly is your end goal where you would need to only export the permissions applying to a server?
Also does this include global permissions or just permissions with that specific context?
Oops. I want to be able to export permissions to a specific context, I think can specify a few. For example /lp export server:survival,global
But why. I think you might be trying to do something that can be solved easier in a different way.
Why do you want to export permissions for a specific context?
What do you want to achieve with it?
What is your goal?
This is useful for migrating the permissions of a specific server. For example, I want to transfer bedwars permissions and global prefixes, suffixes and weight to another server. I repeat, the list of permissions I have is very large and it is not convenient to do manually
Why not use a shared database?
Without one server contexts are pretty useless anyways.
I don't know what you're talking about, but I share a database. But you can only export everything together, nothing else. That's the problem.
Then give them different names. I’m not aware of any setup where using a common database for all servers wouldn’t make any sense.
And I mean you can group servers together and assign certain permissions per server group instead of per server. Then you can still have server specific overrides.
What you’re trying to do sounds like a very round about way of doing things and like a very whacky setup.
Yes, I support @DarkFort. I've had quite a few issues with transferring certain permissions to another server.
Why do you need to transfer permissions to another server when they are using a shared/common database? Just let the server use the same database.
Oh, no, this option is not suitable, since the servers have the same name in the config and different permissions structure. Also, I collect servers for the order, so this feature will be very useful.