[Release-OUTDATED] Ban System with mySQL & aSync

Hey guys!

So ive seen there isnt a ban script around on the forums, So here i present you with this!

This was pulled from essentialmode by @Kanersps i hope he doesnt mind. May not even be his code who knows.

Its a simple banning system that stores all bans into your database!

Please note this is used with EssentialMode 2 & es_admin.

Installation
Install required scripts
Download ban resources from here:
Ban System mySQL
Ban System aSync
Place ban folder in your resources folder
Add ban-async or ban-sql to your .yml file in AutoStartResource section
Run the ban.sql included in the zip.

How to use
Use “/ban ID SECS” in game, Example /ban 23 1800
You can also use “/ban ID REASON” in game, Example /ban 23 FailRP

I have noticed this script however can sometimes fail for a unknown reason and some players can get back in, So if anybody has a fix for this please do let me know!

I have tried to fix this issue but it still persist’s some players you can ban and it works perfectly, Some get right through and back onto the server.

And no im not part of the " baguette" Army :wink:

<3

7 Likes

Updated:

  1. Corrected the SQL file to include the openSql format.
  2. added a link to aSync version.

Even though am American you French community is amazing keep sharing those scripts it will make the community better!

1 Like

Im british god damn it!!! xD

Lol sorry I I didn’t read the whole thing I see so many French releasing their scripts am just used to it but it’s nice to see people other then the French are helping :grinning:

1 Like

Could you make this compatible with CouchDB?

1 Like

I wont, But anyone is welcome to translate it :smiley:

How is this script different from the essentials ban system ?!

Not enough people put up appreciation posts in here.

Thankyou kind sir, Good job.

For some reason i can’t open the rar async version. I not a noob. 7zip is ok with all other rar files, but only with yours, it does not work.

Are you using 7Zip? Im using WinRar i wonder if its causing issues :confused:

Work with winrar but not with 7zip. Strange. But it’s ok now.

1 Like

what why mention me, and the banning code in previous es_admin versions was coded by me yes but it was awful anyway.

1 Like

I mentioned you so people didnt think i was “stealing” or anything, I mean it kind of works… xD

Has anyone converted this to couchdb if not does someone want to help me convert it?

Works with async no reason to convert

Nice but what do i edit

This doesn’t work. I added it to resource, put it in my config and added the sql table to my DB, doesn’t work sadly.

Can i use a normal Phpmyadmin SQL database for this?
Or do i need to use a CouchDB?

Has the broken part for this been fixed yet?