Relly Posted July 10, 2022 Share Posted July 10, 2022 (edited) A simple spawn Skript for people to navigate around your server to the spawn point easily! Add this script to your server, save, reload via /sk reload <file-name> and your ready to go! Commands: /spawn - Teleport to spawn when it is set (/setspawn) /setspawn - Set the spawn point to your location - requires commands.setspawn permission (definable in options) - cooldown of 3 seconds (also definable in options). Permissions: commands.setspawn - Defined in options - /setspawn command Configuration For this to work, you will need to configure it properly, the options are already defined however you may change if you wish. prefix - prefix/"first word" while using /spawn or /setspawn spawnCommandCooldown - cooldown when using /spawn command setSpawnCommandPermission - permission for using /setspawn command noPermissionMessage - define a no-permission message when someone tries to use a command in the spawn script that they don't have permission for. Once you have define your options, finally you will need a user with the permission commands.setspawn to define your spawn location, when you are in the position, type /setspawn. Finally, you can test it using /spawn! Thanks for using my script! This is a untested script so please mention in the comments below if this worked for you, or if you have found an error. Enjoy! Tested: No # Thanks for using my script! # # My Info: # Ingame-username: SkyyIsCool # Discord: Skyy#0268 options: prefix: &8[&e&lSpawn&8]&f spawnCommandCooldown: 3 seconds setSpawnCommandPermission: commands.setspawn noPermissionMessage: &cYou do not have permission to use this command. command /spawn: cooldown: {@spawnCommandCooldown} description: Teleport to the spawn point. usage: /spawn trigger: if {spawn} is set: teleport player to {spawn} send "{@prefix} &aTeleported to &eSpawn&a!" to player else: send "{@prefix} &cSpawn is not set, please contact a server administrator to use &e/setspawn&c." to player command /setspawn: permission: {@setSpawnCommandPermission} permission message: {@noPermissionMessage} description: Set the spawn point. usage: /setspawn trigger: set {spawn} to location of player send "{@prefix} &aLocation for &eSpawn&a has been set to your current location." to player Edited January 21, 2023 by Relly Update My Info 1 Link to comment Share on other sites More sharing options...
SIG12 Posted July 10, 2022 Share Posted July 10, 2022 (edited) So uh.. where's the skript? (Unless I'm dumb) Edited July 10, 2022 by SIG12 1 Link to comment Share on other sites More sharing options...
BirdOftheBlack Posted November 13, 2023 Share Posted November 13, 2023 Ummm like idk how to copy the skript is there a way to do that cause me dumb Link to comment Share on other sites More sharing options...
Rubylaser1 Posted November 13, 2023 Share Posted November 13, 2023 options: prefix: &7[&9&lYOUR SERVER NAME HERE&7] &7» command setspawn: permission: op trigger: set {spawn} to location of player send "{@prefix} &aSpawn was set to &6%{spawn}%&a!" command spawn: trigger: teleport player to {spawn} send "{@prefix} &aYou were teleported to spawn!" on join: teleport player to {spawn} Here is an old code I wrote, unsure if it still is working should be. This should fix your issues. Thank you, Ruby "Turning code into solutions, one line at a time." Community Management | Administration | Staff Management | Server Management | Development Link to comment Share on other sites More sharing options...
frgrefderhgfed Posted February 26 Share Posted February 26 /shop Link to comment Share on other sites More sharing options...
DuckyProgrammer Posted February 26 Share Posted February 26 Please make sure that you aren't responding to posts that haven't been responded to in over a month. Thanks! 1 No rank - 2017-2021 Minehut Tester - 2021-2023 Minehut Volunteer Moderator - 2023-Current Report a player/server: Report Player / Server Create a support ticket: Submit a request Did I help you? If so, feel free to give me a like! Link to comment Share on other sites More sharing options...
Recommended Posts