
Exact Spawnpoint
SirFell opened this issue ยท 8 comments
Possible enhancement:
How about adding exact spawn point in the config?
Like first block you spawned on will be your spawnpoint.
This will probably fix an issue with spawning at zero level and instant falling.
This is an interesting idea. I already prevent falling on spawn, but if you are having a problem where you spawn over the void, please create another issue. A side effect of the simplest implementation of this is that everyone would spawn in exactly the same location before they get a bed. Is that ok with you?
I sometimes spawn on Y of 0; in spawn event you have y<0; About same block: Well, thats why i sayed config line, just so you can choose what you prefer more - random 20x20(10x10 mp) or a single block.
For now I'll probably wont create another issue, as i dont have a screenshot/log/etc.
Spawning at bedrock isn't really intended either. That's an easy fix though. I just need to change y<0 to y<=1 in the event you mentioned. I'll put that in the next update. Is that good enough for you? If so I'll close the issue.
well, i thinked of saying this to you, but player could probably somehow set his spawn on 0 level, and then it will give him problems, but it will be players fault. If you wanna talk a bit faster or something - we can talk some other ways like skype/steam/ts.
I'm fine with staying on github. This way there is a public record of what has already been discussed, so I can reference it for others in the future. If spawn is set to be at 0 (1 really, since 0 is standing on the void rather than bedrock), It just means the player will spawn on the nearest bedrock. It's not the most efficient solution, but it doesn't cause problems either.
Possibly you can set your spawnpoint y to 0 when flying in creative or setting spawnpoint with setspawn x 0 z. Never tested it, but can probably happen.
Part of the reason I like my method is that it would save you from trying to spawn over the void like that. If someone really wants to break my safety net, they should just turn off my spawn event handler.
Ok, so, if you did y<=0 in spawn controller in release .3.1 - it doesnt work. Just died and respawned under map. My spawn height is exactly bedrock level (head coordinates). Will try to get screenshot.
Edit: Got decent screenshot using /kill with cheatengine 0.1x speedhack:
Edit2: It happened because my spawn was obstructed by natura's hopseed tree that grow while I was exploring.
Edit3: Just tested on other maps, idk is it my 'luck', but I always respawn fasing south. Bedrock is on head level.