PermBukkit change group for player that is not in the config
Armarr opened this issue ยท 10 comments
I get an error when adding a player that is not in the PermissionsBukkit config (= default rank)
I assumed it would add the player automatically when doing this but it looks like it doesnt.
"It's not designed to add the group"
Maybe I'm misunderstanding what you just said but I'm not trying to make a new group.
The group Member already exists. The problem is that I can't add a new player to the Member group because there is no config file for that player.
The way I always used my plugin is we first rank up to Newcomer with SetRankPB, which adds the player to the config and from there on the plugin takes over.
Now someone asked to make it so that players without a rank can get ranked up by my plugin, the problem is the player isn't in the config and I dont know how to add him.
Thanks for the help btw, I love this plugin, it makes permissions so much easier :)
as in, it's not designed to add a group that doesn't exist...
I should probably look into adding a method to create a group.
oh, so the group exists, but the player doesn't? that doesn't make any sense.
Permissionsbukkit doesnt add players to the config when they log in to keep the config clean.
There is a "default" group that basically has all the permission nodes for players that don't exist in the config.
At least that's what I think it is doing.
there isn't anyway for me to fix this (I don't think), I think it needs to be added done in permissionsbukkit. if you're running a command to add a permission to a player pbukkit shouldn't fail on it no matter what.
Was there a different functionality that you have working?
like were you able to add perms onto a freshly joined player by doing something that I wasn't?