PERMISSION FEATURE REQUEST
RAZERMC opened this issue ยท 3 comments
Let the spigot module handle the permission checking
With this method we eliminate the need to use bungee permission and have more freedom to give permissions per server not all server. We also eliminate the need for sql permissions databases.
Reason is want to use the plugin via bungeecord and i want a per player permission per server.
Example:
STEPS:
- players types command
- bungeecord module receives command
- bungeecord module assign an id to the command
- bungeecord module save the the username, servername the command came from, command and the id to a cache
- bungee module sends playername / command / id to spigot module to check for permission
- spigot module recieves the playername / command / id and checks if playername has permission node from groupmanager or pex for that command
- if player has permission node then spigot module send true to bungee module with the command id else send false to bungee module with the command id
- bungee module listens and receive the command id / permission(true/false)
- if command id's permission = true bungeecord module finds the command id saved in the cache and let it excecute the command else send message to playernames server "you dont have permission to this command"
- bungee module cleans the instance from the cache.
You can setup a time interval for command expiration if the command does not receive confirmation in 3 seconds then send send message to server source to playername "Command cancelled" and bungee module cleans cache.
thank you in advance and more support!
I think I should really change that, because a lot of people are requesting this. Although there are plugins like permissionsexbungee or BungeePerms, people like to have the Bukkit permission a lot more.
I'll add a configuration option where you can activate permissions checking on the bukkit server.