Jump to content

Question

Posted

Hello,

 

MYSQL for player database.

 

How does database cleanup work when deleting a character?

Deleting a character from the client it seems to automatically clean the database.

 

How would I correctly delete a character with a mysql query? Do I have to locate all the rows related to the character?

 

Thanks in advance :)

 

2 answers to this question

Recommended Posts

  • 0
Posted

You should wait until the functionality is safely provided through the Servers API. Editing the DB directly while the server is running will cause your server to crash. 

 

But yes, you'd just locate all rows with the character id of the one your're deleting and remove them. 

×
×
  • Create New...