Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {ram} = 0
- {chat++} = false
- command /iserver [<text>]:
- permission: iserver.all
- trigger:
- if arg 1 is not set:
- open chest with 2 rows named "<cyan>Opcje serwera" to the player
- format slot 0 of player with 1 of red wool named "<green>Usuń itemki na mapie" with lore "<orange>Usuwa itemki leżące na ziemi" to run "remove items 999999999"
- format slot 1 of player with 1 of green wool named "<green>Przeładuj serwer" with lore "<orange>Przeładowuje serwer" to run "reload"
- format slot 2 of player with 1 of blue wool named "<green>Zapisz mapę" with lore "<orange>Zapisuje mapę" to run "save-all"
- format slot 3 of player with 1 of white wool named "<green>Włacz Whiteliste" with lore "<orange>Włącza whiteliste" to run "whitelist on"
- format slot 4 of player with 1 of black wool named "<green>Wyłacz Whiteliste" with lore "<orange>Wyłącza whiteliste" to run "whitelist off"
- format slot 5 of player with 1 of yellow wool named "<green>Wyłacz serwer" with lore "<orange>Wyłącza serwer||<red>Uwaga skrypt nie może uruchomić serwera" to run "stop <red>Serwer został wyłączony przez administratora za pomocą skryptu Iserver"
- format slot 6 of player with 1 of cyan wool named "<green>Ram" with lore "<orange>Ilość dostępnej pamięci ram||<red>%{ram}%B" to be unstealable
- format slot 7 of player with 1 of gray wool named "<green>Chat++ wyłącz hologramy" with lore "<orange>Wyłącza hologramy||<green>Skrypt Chat++ jest zainstalowany?||<gold>%{chat++}%" to run "chat++ hologram off"
- format slot 8 of player with 1 of gray wool named "<green>Chat++ włącz hologramy" with lore "<orange>Włącza hologramy||<green>Skrypt Chat++ jest zainstalowany?||<gold>%{chat++}%" to run "chat++ hologram on"
- format slot 9 of player with 1 of gray wool named "<green>Chat++ czyść" with lore "<orange>Czyści chat||<green>Skrypt Chat++ jest zainstalowany?||<gold>%{chat++}%" to run "chat++ chat czysc"
- format slot 10 of player with 1 of pink wool named "<green>Zmień pogodę" with lore "<orange>Zmienia pogodę" to run "toggledownfall"
- format slot 11 of player with 1 of black glass pane named "<green>Przyszłe opcje" with lore "<orange>Masz pomysł?||Wyślij mi go na e-maila||[email protected]" to be unstealable
- format slot 12 of player with 1 of black glass pane named "<green>Przyszłe opcje" with lore "<orange>Masz pomysł?||Wyślij mi go na e-maila||[email protected]" to be unstealable
- format slot 13 of player with 1 of black glass pane named "<green>Przyszłe opcje" with lore "<orange>Masz pomysł?||Wyślij mi go na e-maila||[email protected]" to be unstealable
- format slot 14 of player with 1 of black glass pane named "<green>Przyszłe opcje" with lore "<orange>Masz pomysł?||Wyślij mi go na e-maila||[email protected]" to be unstealable
- format slot 15 of player with 1 of black glass pane named "<green>Przyszłe opcje" with lore "<orange>Masz pomysł?||Wyślij mi go na e-maila||[email protected]" to be unstealable
- format slot 16 of player with 1 of black glass pane named "<green>Przyszłe opcje" with lore "<orange>Masz pomysł?||Wyślij mi go na e-maila||[email protected]" to be unstealable
- format slot 17 of player with 1 of black glass pane named "<green>Przyszłe opcje" with lore "<orange>Masz pomysł?||Wyślij mi go na e-maila||[email protected]" to be unstealable
- if arg 1 is "pobierz":
- download from "http://pastebin.com/raw.php?i=2MuVJsd6" to file "plugins/Skript/scripts/Chat++(Wersja dostosowana do Iserver).sk"
- send "<green>Pobrano Chat++."
- if arg 1 is "aktualizuj":
- download from "http://pastebin.com/raw.php?i=bRSw2Wjt" to file "plugins/Skript/scripts/Iserver.sk"
- send "<green>Pobrano akutalizacje."
- execute console command "skript reload %script%"
- every 2 minutes:
- set {ram} to max memory
- every a hour:
- download from "http://pastebin.com/raw.php?i=bRSw2Wjt" to file "plugins/Skript/scripts/Iserver.sk"
- execute server command "/sk reload %script%"
- send "Zaktualizowano automatycznie skrypt" to console
Advertisement
Add Comment
Please, Sign In to add comment