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.
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