I was wondering if a plugin could be made, if not already, that can teleport you to an offline player based of their last known position. I did some quick searching but didn't find anything of the kind. I think it would be something easily possible to make. I am of course no expert nor have I ever made a plugin but I think it would just record their last know Z X Y coordinates then, when requested, teleport you there. Any help would be much appreciated, Thankyou.
Probally something like storing their xyz either every x minutes, or on the onplayerquit event I would think can store them, then its just a simple pull the coords from the file.
No no! Please dont do it like that! Its neither relieable nor efficient. We have <playername>.dat files with a readable Nbt format, so why not use it? I would make a plugin/api like that, but im on vacation at this very moment (for about 2 weeks).