xp69 Posted April 22, 2022 Share Posted April 22, 2022 ---------------------------------------------------------------------------------------------------------------------------------------------- # made my xp69. please give credit when using! thanks! : ) if you have suggestions to make it better then please reply to my minehut post command /safe: trigger: execute console command "/warp [your safezone warp name] %player%" execute console command "/afk %player%" set {safe.true} to true command /unsafe: trigger: if {safe.true} is false: stop if {safe.true} is true: execute console command "/spawn %player%" execute console command "/afk %player%" ---------------------------------------------------------------------------------------------------------------------------------------------- This Skript allows you to use /safe to teleport you to a certain warp (using essentials or a warp skript/plugin but i use essentials because it comes with warp.) You can also use /unsafe to teleport you back to spawn. It also sets you to afk (again use essentials or a afk skript/plugin. AGAIN i use essentials.) ---------------------------------------------------------------------------------------------------------------------------------------------- example: 1821922125_Minecraft_1_18.2-Multiplayer(3rd-partyServer)2022-04-2119-47-28.mp4 Link to comment Share on other sites More sharing options...
Swacco Posted April 23, 2022 Share Posted April 23, 2022 options: confirm: &7[&a!&7] deny: &7[&c!&7] command /setspawn: permission: op trigger: set {spawn} to player's location send "{@confirm} &aSpawn Set Successfully" to player command /spawn: trigger: teleport the player to {spawn} send "{@confirm} &6Entering Spawn..." command /setsafe: permission: safe.control trigger: set {safe.loc} to player's location command /safe: trigger: teleport the player to {safe.loc} send "{@confirm} &aYou have entered Safe Mode." to player set {safe.true} to true command /unsafe: trigger: if {safe.true} is false: send "{@deny} &6You can't leave something you are not in." to player stop if {safe.true} is true: teleport the player to {spawn} send "{@confirm} &6You have left safe mode." to player set {safe.true} to false coming back into skripting after like two years of not doing it but, this is what i came up with if you wanna learn something from it. Link to comment Share on other sites More sharing options...
xp69 Posted April 23, 2022 Author Share Posted April 23, 2022 13 hours ago, e8p said: options: confirm: &7[&a!&7] deny: &7[&c!&7] command /setspawn: permission: op trigger: set {spawn} to player's location send "{@confirm} &aSpawn Set Successfully" to player command /spawn: trigger: teleport the player to {spawn} send "{@confirm} &6Entering Spawn..." command /setsafe: permission: safe.control trigger: set {safe.loc} to player's location command /safe: trigger: teleport the player to {safe.loc} send "{@confirm} &aYou have entered Safe Mode." to player set {safe.true} to true command /unsafe: trigger: if {safe.true} is false: send "{@deny} &6You can't leave something you are not in." to player stop if {safe.true} is true: teleport the player to {spawn} send "{@confirm} &6You have left safe mode." to player set {safe.true} to false coming back into skripting after like two years of not doing it but, this is what i came up with if you wanna learn something from it. the point of the post i had made was mainly with essentials where you create a warp and then whenever you use /safe is teleports you to that warp. and when you do /unsafe it sends you to spawn (with essentials). i also made it so that you're afk whenever you're teleported to safe. Link to comment Share on other sites More sharing options...
nmazey Posted December 20, 2022 Share Posted December 20, 2022 noice Joined minehut in 2014 and left joined minehut back in 2017 - with other account! ------------------- Owns: FoxBoxy, newwolf, tofhmc, vmyserver, + 62 more! --------------------- 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