ah I guess I missed that, I edited it, and i know reload script exists but then it would not send them errors when they reload, which defeats the purpose yk @_Tarna_
This is a very easy reload skript I made to easily reload your skripts.
command skr <text>:
permission: skript.reload
usage: &c/skr ([all] or a shortened skript file name)
trigger:
if arg-1 is "[all]":
loop all scripts:
player command "sk reload %loop-value%"
send "&aSuccessfully reloaded all scripts." to player
stop
set {_a::*} to all scripts where [input contains arg-1]
if size of {_a::*} < 1:
send "&cNo skripts found." to player
play sound "block.note_block.bass" to player
stop
loop {_a::*}:
player command "sk reload %loop-value%"
if size of {_a::*} > 1:
send "&aSuccessfully reloaded all scripts that contain ""&7%arg-1%&a"", these skripts were: &7%{_a::*}%" to player
else:
send "&aSuccessfully reloaded all scripts that contain ""&7%arg-1%&a"", that skript was: &7%{_a::*}%" to player
enjoy, and please dont send hate
info:
type /skr [all] to reload all of your skripts
type /skr anything to reload a certain skript.
example:
lets say you have 3 skript files, "core.sk", "essentials.sk" and "alle.sk"
if you did /skr e, it would reload all because they all contain e "(e)ssentials", "all(e)" and "cor(e)"
but if you did /skr c it would only reload the core file because its the only one with a c.
and if u wanna just reload one. u can just type /skr core and it would work.
or type /skr co.
ENJOY!
options:
msg: "&b&lBACK &8| &7You have been teleported back to your previous location."
on script load:
load yaml "plugins/Skript/scripts/yaml/back.yml" as "plugins/Skript/scripts/yaml/back.yml"
on death:
set yaml value "%player%.location" from "plugins/Skript/scripts/yaml/back.yml" to location of player
save yaml "plugins/Skript/scripts/yaml/back.yml"
command /back:
permission: op
trigger:
teleport player to yaml value "%player%.location" from "plugins/Skript/scripts/yaml/back.yml"
set yaml value "%player%.message" from "plugins/Skript/scripts/yaml/back.yml" to {@msg}
set yaml value "%player%.location" from "plugins/Skript/scripts/yaml/back.yml" to location of player
save yaml "plugins/Skript/scripts/yaml/back.yml"
send {@msg} to player
play sound "block.note_block.bell" to player
How to use:
in your scripts folder. create a folder named "yaml" and inside of there make a file named "back.yml" and make sure in the code to edit "msg:" to the message you want, then reload the skript above ingame and then do /kill @p then do /back and it should teleport u there, walk away for a bit then do /back again and it should teleport u to the previous location u were at.
You will need skript-yaml for this!
Let me know what you guys think as this is my first skript using skript-yaml, dont send hate idc have a nice day.
Hey guys! I made a little warp skript for you guys. Please don't send hate, I don't care.
kimowarps.sk
Don't wanna install the file? Go to the pastebin by clicking Here
Look down for how it works! Enjoy!
MAKING WARPS
REMOVING WARPS
WARPING
WARPING AFTER DELETED
WARPING THROUGH THE WARPS GUI
VIDEO DEMONSTRATION
warpsystem.mp4
on load:
register new shapeless recipe for 1 totem of undying using netherite block, netherite block, netherite block, netherite block, netherite block, netherite block, netherite block, netherite block and netherite block
broadcast "&4&lCustom recipes loaded"
u dont write "9 netherite block", i fixed it for you
ok so how do I move things, it like doesnt work, im trying to move some files into a folder, anybody can show me how?
when i try to move it just says Overwrite file.sk?