Author Topic: Deleting Ban List  (Read 4468 times)

0 Members and 1 Guest are viewing this topic.

Offline much wow

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Deleting Ban List
« on: July 04, 2015, 02:16:56 AM »
So I have a server with a ban list of over 6,000 bans, I was wondering if there was a way to remove an ENTIRE ban list instead of manually removing the bans one by one, thank you. I mainly wan't to do this because 1. It will increase the server population and 2. It lags every time someone gets banned.

Offline Caustic Soda-Senpai

  • Sr. Member
  • ****
  • Posts: 469
  • Karma: 54
  • <Insert something clever here>
    • Steam Page
Re: Deleting Ban List
« Reply #1 on: July 04, 2015, 06:46:08 AM »
Delete ../garrysmod/data/ulib/bans.txt

The next time you boot your server or ban someone, it'll rewrite a blank bans.txt; or you can edit it and delete it all. Both give the same result.
Once you get to know me, you'll find you'll have never met me at all.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Deleting Ban List
« Reply #2 on: July 04, 2015, 08:19:21 AM »
You'll need to clear/delete Source's/Gmod ban files too.
./garrysmod/cfg/banned_<user|ip>.cfg

Do all the above with server SHUT DOWN first.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline much wow

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
Re: Deleting Ban List
« Reply #3 on: July 04, 2015, 02:08:22 PM »
Thank you :D