Jump to content

i need help with /spawn skript


Firesage

Recommended Posts

Hi there,

I gone ahead and made you a quick /spawn skript below.

 

command /setspawn:
    permission: op
    trigger:
        send "Spawn location has been changed to your location."
        set {spawn} to location of player
        
        
command /spawn:
    trigger:
        teleport player to {spawn}

 

Let me know if there are any issues.


I'm just a known player who been playing since the 24 July 2019.

Please don't DM me for support, go here (if you don't mind waiting) or join Minehut's Discord (which is more active) if you need assistance.


 

Link to comment
Share on other sites

whats happened to me is that players spawn at the worldspawn and not the set spawn on join. Luckily for you, i've created a simple 2 line skript that fixes it.

on join:
    teleport player to {spawn}

make sure this is added to a skript where {spawn} is set

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...