Many of you are trying to know how to record the position of the players in the MySQL database, that’s why I propose this script which I hope will help more than one.
UPDATE Version 1.5 - 14/06/2017
MySQL Async Updated ( Requested )
Save auto when player leave the server ( Requested )
UPDATE V.1.4 - 24/04/2017
Add toggle Manual or Automatic Saving
Add “AutoSaveEnabled” parameter to select Auto or Manual saving
Add “TimerAutoSave” parameter to configure the timer delay between automatic saving
Add “TimerManualSave” parameter to configure the timer between manual saving (Protect Spam)
UPDATE v1.3 - 24/04/2017 – Fix spawn to last player connected
UPDATE v1.2 - 24/04/2017 – Add function respawn to last position
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘’ at line 1