Author Topic: Bans aren't getting deleted  (Read 1880 times)

0 Members and 1 Guest are viewing this topic.

Offline Desire

  • Jr. Member
  • **
  • Posts: 51
  • Karma: -4
Bans aren't getting deleted
« on: March 05, 2017, 03:22:01 PM »
I'm deleting my bans.txt and it's still not deleting every ban, what could be the problem?

Offline captain1342

  • Full Member
  • ***
  • Posts: 104
  • Karma: 6
  • Quality is our standard
    • Aperture Development - Quality is our standard
Re: Bans aren't getting deleted
« Reply #1 on: March 05, 2017, 04:16:12 PM »
If its DarkRP don't forget the FAdmin bans also the regular ban system could cause that simply try "unban <sid>" in the Server console
Aperture Development
Quality is our standard

Website - GitHub  - Forum  - Steam  - Discord

Offline Desire

  • Jr. Member
  • **
  • Posts: 51
  • Karma: -4
Re: Bans aren't getting deleted
« Reply #2 on: March 05, 2017, 04:42:43 PM »
I don't think it's FAdmin. It's weird because I will delete the Bans.txt and then it will fill up again, but when I check the bans in game it just shows their steam ID's.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Bans aren't getting deleted
« Reply #3 on: March 05, 2017, 07:38:40 PM »
ULX stores additional ban information in an _additional_ file bans.txt. If that's all your deleting, its not enough.
(We store reason, temp bans, and admin who_done_it)
That's NOT the standard Gmod file that also stores bans, and gets executed every ULX ban change and at server start up.
Though you may have other admin mods or addons conflicting, ALL bans with ULX are still also stored in Gmod's (defaults to) /cfg/banned_user.cfg or banned_ip.cfg
That file gets loaded at startup.

See our FAQ.
How do I unban someone?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Desire

  • Jr. Member
  • **
  • Posts: 51
  • Karma: -4
Re: Bans aren't getting deleted
« Reply #4 on: March 06, 2017, 04:09:32 PM »
Hey, so I removed the banned_user.cfg and it's still not unbanning everyone.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Bans aren't getting deleted
« Reply #5 on: March 06, 2017, 08:02:30 PM »
Did you do this while your server is shut down? (it must be shut down)
While server is shut down, did you remove both the gmod banned_user.cfg and ULX /data/ulx/bans.txt?
Do you have another admin mod that might be conflicting?
Do you have a backdoor'ed addon that keeps banning whomever you are trying to unban?

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Desire

  • Jr. Member
  • **
  • Posts: 51
  • Karma: -4
Re: Bans aren't getting deleted
« Reply #6 on: March 07, 2017, 04:12:40 PM »
Thanks man! I didn't have the server shut down when doing it. It works now :)