Wimfish Posted April 18, 2021 Share Posted April 18, 2021 command /setspawn: aliases: spawnset, sethub, hubset, setlobby, lobbyset permission: spawn.setspawn permission message: &cSorry, but you don't have permission to execute this command! description: Set spawn at your location. trigger: message "&6You have &cset spawn&6 at your location!" set {spawn} to location of player 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 else: argument 1 is not set: teleport player to {spawn} message "&6Teleporting..." 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!" Link to comment Share on other sites More sharing options...
BanditEagle Posted April 18, 2021 Share Posted April 18, 2021 Nice skript! If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle Link to comment Share on other sites More sharing options...
Wimfish Posted April 18, 2021 Author Share Posted April 18, 2021 2 hours ago, BanditEagle said: Nice skript! >:) 3 hours ago, Wimfish said: Ty dude Link to comment Share on other sites More sharing options...
whoswish Posted April 27, 2021 Share Posted April 27, 2021 On 4/18/2021 at 6:21 AM, Wimfish said: command /setspawn: aliases: spawnset, sethub, hubset, setlobby, lobbyset permission: spawn.setspawn permission message: &cSorry, but you don't have permission to execute this command! description: Set spawn at your location. trigger: message "&6You have &cset spawn&6 at your location!" set {spawn} to location of player 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 else: argument 1 is not set: teleport player to {spawn} message "&6Teleporting..." 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!" the aliases are kinda useless since minehut's /hub and /lobby override anything. Link to comment Share on other sites More sharing options...
Wimfish Posted April 30, 2021 Author Share Posted April 30, 2021 @SortaCold ;-; sorry didnt realise that Link to comment Share on other sites More sharing options...
KMG_Gaming3555 Posted October 29, 2022 Share Posted October 29, 2022 um how to add this script to minehut server? 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