Jump to content

Question

Posted

Hello, is there any way to make MySql live refresh ?

I know if I want to edit some live values, I have to use the API, but the API features are incompletes.

 

I am looking for a way that intersect server update automaticly all clients with bdd values.

 

Actually, with some little modifications, I am able to edit some MySQL values, and get them ingame withouth restarting the server, only a logout / login works.

 

But this is not perfect, if for exemple I edit a character name, I will have to logout then login to see the updated name, but all other players will have to logout then login too in order to see my new name.

 

Hope someone have any solution. Sorry for my bad english, french user there :/

2 answers to this question

Recommended Posts

  • 0
Posted

No, that isn't possible with how the server works. 

 

Buttttt I just created a change name/change username api endpoint for a project Im working on and will be getting that into the base engine soon. 

  • 0
Posted

I fear you'd be better off expanding on the API rather than attempting to work with the DB directly, as JC stated he's got some incoming changes and fixes for the Api to allow for more features with it soon-ish.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...