Optilusion Posted July 13, 2021 Share Posted July 13, 2021 command /spawn [<player>]: aliases: hub, lobby permission: spawn.spawn permission message: &cSorry, but you don't have permission to execute this command! description: Teleport you to spawn. trigger: if {spawn} isn't set: message "&4Error:&c Spawn is not set!" stop trigger: if player has permission "op": teleport player to {spawn} if argument 1 is not set: teleport player to {spawn} message "&6You will be teleported to spawn in 5 seconds..." wait 20 ticks teleport player to {spawn} else: if sender has permission "spawn.spawn.others": if argument is online: teleport argument to {spawn} if sender is a player: message "&6You have been teleported to spawn by &c%player%&6." to argument 1 if sender is not a player: message "&6You have been teleported to spawn by &cConsole&6." to argument 1 teleport player to {spawn} else: message "&cSorry, but you don't have permission to execute this command!" This is what I have so far.. Link to comment Share on other sites More sharing options...
FlapKakker Posted July 15, 2021 Share Posted July 15, 2021 Just use the essentials permission to bypass the cooldown Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now