This is a highly optimized script compared to others that can be found that manages the player’s position at disconnection and reconnection. Where other scripts make a SQL query, this one saves them intelligently.
The basic configuration performs a backup of all players every 10 minutes. Other backups are mainly handled when the player logs off or when the /save command is executed in the console (useful for restarting the server). You can change the configuration as you wish.
He is compatible with all SQL databases. You just will need to enter the name of your lastPos column of your database inside the server/config.lua file. It will also treat your lastPos field to use it (be it an array, a string, a null value, etc …) Don’t be unhappy because you don’t have the same type of column as the others!
The script will automatically look for the latest version and notify you when a new update is available (possibility to disable this).