#World spawn wont work?

39 messages · Page 1 of 1 (latest)

real silo
#

I've set the spawn using the /setworldspawn command, and when you join the server for the first time you spawn on the right spot, but when you die, you get teleported onto the roof above the spawn. Can someone give me a quick fix?

split burrow
#

If you have a spawn plugin like essentials you can do /setspawn

real silo
#

I've tried that as well, but it still doesn't work.

#

The roof above the spawn are glass blocks if that does anything

split burrow
#

Do you have Skript?

real silo
#

Yes

split burrow
#

Okay and you have /spawn?

real silo
#

yes

split burrow
#

Okay lemme give u a skript that will teleport them to spawn when they respawn

real silo
#

sweet

split burrow
#
on respawn:
    execute player command "/spawn"

Im not sure if this works as im on phone rn but i think it should work

real silo
#

alright cheers

#

is it a problem that the /spawn command takes 5 seconds to commence?

split burrow
#

Yes

real silo
#

ah yikes

split burrow
#

Wait

#
on respawn:
    execute console command "spawn %player%"
#

Try this

real silo
#

ah yep alright

split burrow
#

Its working?

real silo
#

I'm not a skripter so frankly I have no idea wtf I'm doing. Do I just have to create a file under the Skripts folder and then write in it? Skull

#

or is it a bit more complicated

#

I'll just look up a tutorial

#

Okay so I've got it set up, but the command doesn't seem to be working

split burrow
#

What error do you get

real silo
#

There's no error, but I'm still just getting teleported onto the roof

#

Would I have to have insta respawn for it to work?

split burrow
#

You shouldn't have to

real silo
#

hm

split burrow
#

Okay since im on phone i cant properly help you but i will get back to you later

real silo
#

Alright no worries

#

okay yeah so I've confirmed I set up the skript file correctly by making a short skript, it's definitely the command that's wrong

#

I think it's the %player% part, as the text is grey

#

@split burrow I managed to do it myself. I just did this:

on respawn:
teleport player to {spawn}

#

all is good now 👍

split burrow
#

Ok

boreal rivet
#

ur 1st attempt need a cmd /spawn and u didnt need player

#

but the sk above is the way to do it

real silo
#

👍