I have something like this, see if it works, if necessary let me know what errors, just replace the item ID 12345 and reset the server
data/scripts/teleport_last_death.lua
local STORAGE = {
DEATH_X = 90000,
DEATH_Y = 90001,
DEATH_Z = 90002,
TP_DAY = 90003,
TP_COUNT = 90004
}
local...