I'm wondering if there's a way to run a command when someone joins a Single player world, I'm a upcoming map maker and I making my first map, I have lots of experience with Redstone but never got this far before. Currently I have different modes like: Extreme Mode, Easy Mode.
Back to the point, I need to know this because I want the player to get teleported when they join, Essentially if the player played before, And is 'far' into the map to go back to the start. I'm also making the map fully customizable with the ability to make the player die when they touch a certain block, And get their spawn point set when they touch another certain block, I've been working on this for 8 hours straight. So please answer asap.