[Release-OUTDATED] Ban System with mySQL & aSync

roleplay
mysql
ban

#22

Has the broken part for this been fixed yet?


#23

Error loading script ban_s.lua in resource ban-async: ban_s.lua:2: attempt to call a nil value (global ‘require’)
stack traceback:
ban_s.lua:2: in main chunk
Failed to load script ban_s.lua.
Started resource ban-async

Current version: 5.0.0
Updater version: 5.0.0

Basic Script

start es_admin2
start esplugin_mysql
start mysql-async
start async
start essentialmode


#24

your loadouts are wrong in your server.cfg, i believe (if i remember correctly) mysql-async comes first, then essentialmode, then esplugin_mysql then es_admin2 and then async…

refer to the documentation of each resource and try again


#25

anyone get this working i get the same error
Error loading script ban_s.lua in resource ban-async: ban_s.lua:2: attempt to call a nil value (global ‘require’)
stack traceback:
not sure how to fix it i need a ban script that goes to the database


#26

Hey, @BritishBrotherhood ! Thank you for this great script! If only it would be working today! :smiley:

Like mentioned above, problem is with the command “require” in first line of the script. We can’t get it working now. Could you, please, take a look at it?


#27

Easy fix honestly. Take the first line where the require is out of the script, and then open your _resource.lua and paste this in the top:

server_script '@mysql-async/lib/MySQL.lua'

#28

I could not get this working?


#29

Got it working! Thank you!


#30

Hello the donwload links are down, can you fix it?


#31

This post was made 6/13/2017

:frowning:


#32

Was massively outdated and didn’t really work there is much better ones out there now :slight_smile:


#33

yeah but you revived it 3 days ago xD


#34

Yeah, i still got it working after all this time :slight_smile: