Delete all bans at once

Ask questions about errors and problems related to the amxbans project.
The more details you give, the better answer you will receive, READ the sticky topics before posting!

Be sure to post in the right sub forum: Bugs and Security
fatal
Posts: 3
Joined: 04 May 2019, 00:01

Delete all bans at once

Postby fatal » 04 May 2019, 00:03

How do I delete all bans at once?

I can simply drop all tables from amx_bans, but this way the banid's don't reset. Is there another way?

User avatar
indianiso1
Posts: 116
Joined: 16 Oct 2015, 01:59
Contact:

Re: Delete all bans at once

Postby indianiso1 » 07 May 2019, 07:43

Just exec one more statement at database if you need re-indexing so much. Although I don't see the reason to do that. It doesn't actually change anything much.

Code: Select all

ALTER TABLE amx_bans AUTO_INCREMENT=1;

fatal
Posts: 3
Joined: 04 May 2019, 00:01

Re: Delete all bans at once

Postby fatal » 08 May 2019, 16:43

Thank you!


Return to “Support and Help”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests