Open Conderan opened 12 years ago
Hmm that would be really hard to add generic support for, the ban list only has the players name and not all servers actually have ranks. I could make the permissions more fine though so instead of minebans.ban there would be minebans.ban.global, minebans.ban.local and minebans.ban.temp and the same for unban and the same for unban. That would allow better control via your permissions plugin. For the rank thing I think the only thing I could do would be to make the PlayerBanEvent cancellable so that you could easily get your own plugin to do the check.
maybe just 1 extra permission - can't think of the right way phrase it, but "unban people others have banned"? That way a moderator can ban and unban people they've banned, but not people others have banned, but then I can give that permission node to the server owner for oversight of the moderators? maybe off by default with a flag in the config?
That could work ! It might be tricky to implement though since the player that issued the ban is not stored anywhere, I'll see what I can do :P
could it be server side? Is it stored there?
Assuming you mean the website server-side ? It could for global bans yeah, but that would add an extra request per unban which I would rather not do. It would probably be easier to add another .txt file to list the names of who banned who anyway.
I would like to be able to specify multiple ranks of people who are able to ban, and then prevent the lower tiered users from unbanning the people that higher ranked players have banned.
My server is fairly old and there have now been a few times where i've poorly selected moderators who unbanned some friend who I very much wanted to stay banned... I actually have 3 tiers of staff on my server, Owner, Admin, and Mod and would like each tier to be able to unban people with the same rank have banned, but not those the rank above them have banned.