Sa.unban not working from console

cleanban is not working at all (although it is mentioned in documentation). Nothing happens when used in console or from ingame chat.

sa.unban is not working from console (rust admin -> rcon), but is working fine from ingame chat.

I also had to rollback last plugin update because it was spamming json errors (on the newest version) on every player join :P

cleanban doesn't exist, I think you might be referring to clanban?
5e6f8629518b5.jpg Pho3niX90
cleanban doesn't exist, I think you might be referring to clanban?

Oh my dear God :D Now I feel stupid. 

unban didn't work in the end, I had to log in onto webpage and unban the player from there.

Btw. how does clanban work? What determines a clan?

Clanban checks if you are either using the clan's plugin, or clansreborn plugin, and bans the entire clan by association.

How did you ban via console? The best is always to use the steamid = `unban steam64id`

I banned using sa.ban steam64id and then tried to unban using sa.unban steam64id. It said in console that player was unbanned but he was still autokicked with the ban reason. It worked after I unbanned him via webpage.

I'll check it on the newest version since you did a bunch of bugfixes.

sa.unban doesn't work for me either using Rust Admin Online RCON client or other clients. The user is in the bans.cfg file and therefore showing as banned in RustAdmin bans page, but when I use sa.unban in the console it doesn't do anything, no console output either. When I try and use sa.ban or sa.cp commands it always says "player wasn't found", but I know I am using the correct SteamID.

I haven't tried in game yet, but from console the commands are not working for some reason.

If I unload Server Armour I am able to band and unban fine using RCON. There must be some issue here.

Merged post

Further to this, does ServerArmour read from the bans.cfg or does it log its own database of users abs bans? Is that why i get "player wasn't found" or NRE errors when trying to unban a player that was banned prior to using Server Armour?

Merged post

After getting help on the Discord I found out it was my misunderstanding of how bans work with SA, all working fine for me now it was explained. 
5cfa6618cae26.png ZEODE
sa.unban doesn't work for me either using Rust Admin Online RCON client or other clients. The user is in the bans.cfg file and therefore showing as banned in RustAdmin bans page, but when I use sa.unban in the console it doesn't do anything, no console output either. When I try and use sa.ban or sa.cp commands it always says "player wasn't found", but I know I am using the correct SteamID.

I haven't tried in game yet, but from console the commands are not working for some reason.

If I unload Server Armour I am able to band and unban fine using RCON. There must be some issue here.

Merged post

Further to this, does ServerArmour read from the bans.cfg or does it log its own database of users abs bans? Is that why i get "player wasn't found" or NRE errors when trying to unban a player that was banned prior to using Server Armour?

Merged post

After getting help on the Discord I found out it was my misunderstanding of how bans work with SA, all working fine for me now it was explained. 

Can you please explain the solution? im having similar problem

ffriozi

Can you please explain the solution? im having similar problem

Basically, Server Armour doesn't utilise the bans.cfg file for its ban/unban. Rather it caches every player locally in the oxide/data/ServerArmour directory. So if you want to use SA on your server, you should do all the ban management through SA and not via RCON (it will cause problems), so avoid that.

You can only ban/unban players who have been "seen" by SA, i.e. those who have connected to the server and been cached.

If you ban on one of your servers, it is stored remotely on the SA website database where all your servers are grouped under you're SteamID login, so acts to ban globally over all your servers if you have more than one
I believe.

If you go to the #bugs channel on ServerArmour Discord you will see the message history with useful info between me and a helper in the channel.