C0nw0nk / Garrys-Mod-Family-Sharing

Prevent players bypassing existing bans on Garrys Mod Servers via steam family sharing / shared accounts or buying a new GMod. Banned messages and banning lengths configurable with lots of extra useful custom features such as a ban tracker / tracking. This script is guaranteed to make players regret receiving a ban from your server in GarrysMod / GarryMod / Garry'sMod / Garry's Mod / G Mod / G-Mod familysharing alts / alternative are a thing of the past. familysharing / familyshared checks / checker / checked / checking. lua script addon addons
http://www.networkflare.com/
Other
34 stars 12 forks source link

Banip is overriding the ban messages and another thing #8

Open sirrobindoger opened 6 years ago

sirrobindoger commented 6 years ago

So, the ban script works pretty well, but I've had to disable the banIP setting because of a glaring issue. When a user is banned from the game, whether that be a day ban or a permanent, it always says the same message: "Disconnect: added to the banned list". I don't know if that was intentional but I do not want that to be the ban screen of all users that are banned because it isn't very informative and most importantly, it doesn't give the link to our website in case if their ban was false and they need to dispute it. I understand that that reason "added to the banned list" is what happens when you get IP banned but is there a way you could delay it so first it bans the acc/ID so the ban screen we made for them can be viewed then the IP ban is taken into effect because I do want the IP ban setting on, it helps with keeping the alts away but I don't want it at the cost of the custom ban screen.

Also, I'd just like some clarification on how the unbanning of an account when IP ban is enabled because sometimes I have to unban the IP too since it doesn't unban immediately when I run ulx unban (id).

Thanks for reading.

C0nw0nk commented 6 years ago

As me and another user discussed and the TODO: Issues i made for myself.

https://github.com/C0nw0nk/Garrys-Mod-Family-Sharing/issues/2#issuecomment-323604805

Unban their IP like this.

As for your question in relation to the message That message over-rides anything set and can not be changed for IP bans unfortunately. Regular bans can always set their own custom message but the default built in Ban IP message can not be over ridden.

The code and idea i wrote up / started as a solution to help with unbanning users IP's. https://github.com/C0nw0nk/Garrys-Mod-Family-Sharing/issues/3