Giter VIP home page Giter VIP logo

easyadmin-mysql's Introduction

EasyAdmin-MySQL

Add this after mysql-async and before EasyAdmin in your Resource Start Order, then make sure that

set ea_custombanlist "true"

is set in your server config file and that you imported the "importme.sql" file.

Done! EasyAdmin-MySQL will handle the rest automatically, do note that your banlist will have to be converted manually.

easyadmin-mysql's People

Contributors

blumlaut avatar xrtw avatar

Watchers

 avatar  avatar

easyadmin-mysql's Issues

Script Error.

Just updated everything on my server and now this error shows up.
�[91mSCRIPT ERROR: citizen:/scripting/lua/json.lua:397: bad argument #1 to 'strfind' (string expected, got nil)�[0m �[93m> ref�[0m (�[36m@EasyAdmin-MySQL/server.lua�[0m:63) �[93m> setImmediate�[0m (�[36m@mysql-async/mysql-async.js�[0m:14431)

There is a problem with EasyAdmin MySQL in version 5.132.

No errors in server console or client console. When i ban player he gets it on session. No one ban id in mysql witch is empty. When i restart server he can easly join back. mysql-async is before EasyAdmin-MySQL, EasyAdmin i after EA-MySQL. custom ban list on. So whats a problem?

4.9 EA

How can i convert my banlist to the new one? I have 2000+ Bans in my database. Is there a way to convert it to the new 4.9 version? Or i have to remove all bans... ?

ERROR

Error running call reference function for resource EasyAdmin-MySQL: citizen:/scripting/lua/scheduler.lua:405: citizen:/scripting/lua/json.lua:397: bad argument #1 to 'strfind' (string expected, got nil) stack traceback: [C]: in function 'string.find' citizen:/scripting/lua/json.lua:397: in upvalue 'scanwhite' citizen:/scripting/lua/json.lua:553: in function <citizen:/scripting/lua/json.lua:551> (...tail calls...) @EasyAdmin-MySQL/server.lua:69: in upvalue 'ref' citizen:/scripting/lua/scheduler.lua:391: in function <citizen:/scripting/lua/scheduler.lua:390> [C]: in function 'xpcall' citizen:/scripting/lua/scheduler.lua:390: in function <citizen:/scripting/lua/scheduler.lua:389> stack traceback: [C]: in function 'error' citizen:/scripting/lua/scheduler.lua:405: in function <citizen:/scripting/lua/scheduler.lua:374> �[91mError: Unhandled error in timer: Error: BUFFER_SHORTAGE Error: BUFFER_SHORTAGE at n.e [as reserve] (citizen:/scripting/v8/msgpack.js:29:12766) at h (citizen:/scripting/v8/msgpack.js:29:15761) at n.r [as decode] (citizen:/scripting/v8/msgpack.js:29:13908) at n.fetch (citizen:/scripting/v8/msgpack.js:29:6972) at n.u [as read] (citizen:/scripting/v8/msgpack.js:29:12076) at Object.n [as decode] (citizen:/scripting/v8/msgpack.js:29:7097) at unpack (citizen:/scripting/v8/main.js:20:33) at citizen:/scripting/v8/main.js:51:20 at setImmediate (mysql-async.js:14901:7) at Object.callback (citizen:/scripting/v8/timer.js:96:21)

question

Hello i have a 4 servers (FiveM) connected to 1 database and when i ban peopel from server 1 they still can after that join server 2,3,4 but in console it says retrieved banlist from all server do you know where the problem maybe is?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.