Jump to content

Here’s a new spawn code


Recommended Posts

I want to see if this is good thx

 

 

command /setspawn:
    permission: op
    trigger:
        set {spawn} to location of player
        send "&aYou set the spawn" to player


command /spawn:
    trigger:
        send "&aTeleported to spawn!" to player
        teleport player to {spawn1}

     Else:

        send “&e&lCanceled event. You moved!”

 

command /delspawn:

  permission: op

  trigger:

   If {spawn} is set:

       Delete {spawn}

       Send “&l&7(servername) &r&eDeleted spawn” to player

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
 Share



×
×
  • Create New...