ChangeSkinX

ChangeSkinX

446k Downloads

[Suggestion/explain] bukkit permission

Malachiel87 opened this issue ยท 15 comments

commented

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?

commented

you can make like this:

  1. install changeskin on bungee, install it on bukkit
  2. 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)
commented

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.

commented

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.

commented

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

commented

The old version is buggy for permissions forwarding. Try out a dev-build.

commented

where i can download it?

commented

Github releases

commented

I think it makes more sense to use a bungecord perm manager

commented

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)

commented

work partially, setskin permission work instead skinupdate permission don't work

commented

Can you add also support for skinupdate permission? ortherwise you suggest to use the autoupdate skin feature?

commented

I know, because the bukkit permissions are only used for skin specific permissions.

commented

can you add that?

commented

enabled ALL changeskin permissions on Bungeecord server.
Configured PEX on bukkit.
if player have changeskin.* - he can use /skiunupdate
but IF Player have changeskin.* with negated permission - -changeskin.command.setskin - player CANT use /skinupdate. Why?