[Suggestion/explain] bukkit permission
Malachiel87 opened this issue ยท 15 comments
I would know if bukkit-permission allow the user to execute the command only in the server where changeskin is installed, by checking pex permission, and then allow the command to be executed in the bukkit server, because on the istruction you told that you need also to give to the user the permision on bungee, but i don't know why, is possible to avoid this?
you can make like this:
- install changeskin on bungee, install it on bukkit
- bukkit changeskin will check if player have permission and then connect to bungee for skin change or whatever, if you can do it it will avoid to have more than 2 server connected to the same database, since i use some permission of changeskin as "donor perk", and i use a permission plugin. but i would prefer to dont use permission plugin on bungee (i use it only for this plugin)
give to the user the permision on bungee, but i don't know why, is possible to avoid this?
It's because it checks the permissions on BungeeCord first and automatically by Bungee internals and then forwards the check. I could change that if you want to.
I would know if bukkit-permission allow the user to execute the command only in the server where changeskin is installed, by checking pex permission, and then allow the command to be executed in the bukkit
If ChangeSkin isn't installed on the spigot server then it will just fail silently.
it will avoid to have more than 2 server connected to the same database
The settings are already ignored if BungeeCord is in use. The bukkit just sends the packets (with the new skin) to everyone who is playing on this server.
but i would prefer to dont use permission plugin on bungee (i use it only for this plugin)
You could give your players all permissions as default and enable bukkit permissions checking.
Hi i tried to set like this
bungeecord config perm default perms:
- changeskin.command.skinupdate
- changeskin.command.setskin
- changeskin.skin.whitelist.*
Permission on pex for the vip ranks:
- changeskin.command.skinupdate
- changeskin.command.setskin
- changeskin.skin.whitelist.*
It say "you don't have the permission for this skin", i tried also without whitelist permission. i did not enabled the specify permission option. but only "bukkit permission" on both bungee and bukkit server config
is because i have bungeecord in separated server and other servers in other box, each box got a mysql database and each is indipendent (bungee box database for only bungee plugins)
work partially, setskin permission work instead skinupdate permission don't work
Can you add also support for skinupdate permission? ortherwise you suggest to use the autoupdate skin feature?
I know, because the bukkit permissions are only used for skin specific permissions.