DominikCiupa3

Iserver

Sep 28th, 2014
2,748
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 4.02 KB | None | 0 0
  1. variables:
  2.     {ram} = 0
  3.     {chat++} = false
  4.  
  5.  
  6.  
  7.  
  8.  
  9. command /iserver [<text>]:
  10.     permission: iserver.all
  11.     trigger:
  12.         if arg 1 is not set:
  13.             open chest with 2 rows named "<cyan>Opcje serwera" to the player
  14.             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"
  15.             format slot 1 of player with 1 of green wool named "<green>Przeładuj serwer" with lore "<orange>Przeładowuje serwer" to run "reload"
  16.             format slot 2 of player with 1 of blue wool named "<green>Zapisz mapę" with lore "<orange>Zapisuje mapę" to run "save-all"
  17.             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"
  18.             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"
  19.             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"
  20.             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
  21.             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"
  22.             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"
  23.             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"
  24.             format slot 10 of player with 1 of pink wool named "<green>Zmień pogodę" with lore "<orange>Zmienia pogodę" to run "toggledownfall"
  25.             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
  26.             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
  27.             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
  28.             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
  29.             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
  30.             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
  31.             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
  32.         if arg 1 is "pobierz":
  33.             download from "http://pastebin.com/raw.php?i=2MuVJsd6" to file "plugins/Skript/scripts/Chat++(Wersja dostosowana do Iserver).sk"
  34.             send "<green>Pobrano Chat++."
  35.         if arg 1 is "aktualizuj":
  36.             download from "http://pastebin.com/raw.php?i=bRSw2Wjt" to file "plugins/Skript/scripts/Iserver.sk"
  37.             send "<green>Pobrano akutalizacje."
  38.             execute console command "skript reload %script%"
  39. every 2 minutes:
  40.     set {ram} to max memory
  41.  
  42. every a hour:
  43.     download from "http://pastebin.com/raw.php?i=bRSw2Wjt" to file "plugins/Skript/scripts/Iserver.sk"
  44.     execute server command "/sk reload %script%"
  45.     send "Zaktualizowano automatycznie skrypt" to console
Advertisement
Add Comment
Please, Sign In to add comment