Yup the last time I run it is after I shut the server down and right before it starts up again, so the most recent ID will always be inserted if they have a new character already. Otherwise it will be left the same until they get a new living survivor.if a players dies a number of times within that hour tho will your script catch all that ?
Having to wait for a restart is better than having to ask an admin to edit the database manually. or being stuck not being able to work on your base.
we need some code. and a walk through how to install