Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- p: &eInstaller &8» &7
- command /is [<text>] [<text>] [<text>]:
- permission: op.op
- trigger:
- if arg-1 is not set:
- play "click" to player at volume 100
- open chest with 5 rows named "{@p} &oMenü" to player
- wait 3 ticks
- if {Slot.1} is "aktiv":
- format slot 18 of player with 76 named "&6Skript &6reloaden" to run [make player execute command "/is reload %{Name.1}%"]
- format slot 0 of player with 351:10 named "&aSkript &7&o%{Name.1}%" with lore "&7&m------------||&7Status &aaktiv" to run [make player execute command "/is disssable 1"]
- if {Slot.1} is "aus":
- format slot 0 of player with 351:9 named "&aSkript &7&o%{Name.1}%" with lore "&7&m------------||&7Status &cdeaktiviert" to run [make player execute command "/is enablee 1"]
- if {Slot.1} is not set:
- format slot 0 of player with 166 named "&cFreier Slot" with lore "&7&m------------||&7Status &cdeaktiviert" to be unstealable
- #---
- if arg-1 is "help":
- send "{@p}Hilfe:"
- send "{@p}/is <slot> <name> <link>"
- send "{@p}/is delete <slot>"
- if arg-1 is "1":
- if arg-2 is set:
- if arg-3 is set:
- set {Slot.%arg-1%} to "aktiv"
- set {Name.1} to "%arg-2%"
- delete file "plugins/Skript/scripts/%arg-2%.sk"
- set {_is.temp} to arg-3
- replace "." with "." in {_is.temp}
- create file "plugins/Skript/scripts/%arg-2%.sk"
- download from "%{_is.temp}%" to "plugins/Skript/scripts/%arg-2%.sk"
- execute console command "sk reload %arg-2%"
- send "&aDu hast erfolgreich die Datei %arg-2% erstellt"
- if arg-1 is "delete":
- if arg-2 is "1":
- delete {Slot.%arg-2%}
- delete file "plugins/Skript/scripts/%{Name.1}%.sk"
- delete {Name.1}
- execute console command "sk reload all"
- send "{@p}&cErfolgreich gelöscht"
- if arg-1 is "disssable":
- if arg-2 is "1":
- set {Slot.1} to "aus"
- execute player command "is"
- execute console command "sk disable %{Name.1}%"
- if arg-1 is "enablee":
- if arg-2 is "1":
- set {Slot.%arg-2%} to "aktiv"
- execute player command "is"
- execute console command "sk enable %{Name.1}%"
- if arg-1 is "reload":
- if arg-2 is "%{Name.1}%":
- send "{@p}&eWird reloadet.."
- format slot 18 of player with 348 named "&aSkript &areloaden" to be unstealable
- wait 1 seconds
- execute console command "sk reload %{Name.1}%"
- play "level_up" to player at volume 100
- execute player command "is"
- send "{@p}Das Skript wurde erfolgreich &areloadet"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement