MySQL (EssentialMode)

Yeah i put all the correct informations in there.

Did you touch to the IP ?

Yeah, i putted the ip from my VPS

So it is not 127.0.0.1 ?

Yeah, it’s not 127.0.0.1

You need to put it because you install the MySQL on the VPS so its a localhost, so just put this IP 127.0.0.1 in “bin/resources/essentialmode/server/player” in the login.lua file and the password if you didn’t put it

Okay, i gonna try it !

Tell me if it works !

Thank you very much !!!
But, can you help me for 1 more thing please ?
THANK’S !! :slight_smile:

How can i install this : [How-to][Essential mode] Money System

And thank you 1000 times !

Yep ^^ your welcome :slight_smile:

Me too im here i’m trying to install this. i tell you if it works, well you can actually install it, so you need to open server.lua that is here : bin/resources/example_gamemode/server.lua
Copy that :
AddEventHandler(‘es:playerLoaded’, function(source)
– Get the current amount for the player
TriggerEvent(‘es:getPlayerFromId’, source, function(user)
– Activate the money for the current player
user:setMoney((user.money))

– Send the player some information regarding the money
TriggerClientEvent(‘chatMessage’, source, “SYSTEM”, {187, 235, 42}, “Your money amount is: $” … tonumber(user.money))
end)
end)

and paste it at the end of the first “AddEventHandler”
I just explain you the instructions i don’t know if it works i tell you more if i have more informations

Okay, thank’s i tell you if it works.

Doesn’t work, but must we not add this in “AutoStartRessources” ?

May be i’ll try to do really like in the tuto

Yeah, i go to sleep, cya tomorrow !

Are you french ?! :slight_smile:

Hey, yes i am french

Ta trouvé pour le money system ?

Le system de money est déjà intégré dans essentialmode, du moins pour ma part il marche …