Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #========================================
- # Skrypt By Qevix(RembitPL)
- # Wersja: v.1.2 alpha
- #========================================
- on script load:
- wait 2 seconds
- send "&8[&6SimplyRaports&8]&7 Skrypt zostal pomyslnie wczytany!" to console
- set {no.permission} to value "Brak uprawnien" get of "Raporty/config.yml"
- set {uzycie.bug} to value "Poprawne uzycie.Bug" get of "Raporty/config.yml"
- set {uzycie.zglos} to value "Poprawne uzycie.Zglos" get of "Raporty/config.yml"
- set {uzycie.propozycja} to value "Poprawne uzycie.Propozycja" get of "Raporty/config.yml"
- set {wersja} to "v1.2 (alpha)"
- set {nowa.wersja} to result of connect to "http://pastebin.com/raw.php?i=2Qfza0RM"
- {wersja} is not {nowa.wersja}:
- wait 5 seconds
- send "&8[&6SimplyRaports&8] &f[&4UWAGA&f]&7 Dostepna jest nowa wersja &cSimplyRaports" to console
- send "&8[&6SimplyRaports&8] &7Twoja wersja:&c v.1.2 (alpha)" to console
- send "&8[&6SimplyRaports&8] &7Najnowsza wersja:&c %{nowa.wersja}%" to console
- send "&8[&6SimplyRaports&8] &f[&4UWAGA&f]&7 Pobierz ja tu: http://pastebin.com/raw.php?i=2sLiHjix" to console
- else:
- send "&8[&6SimplyRaports&8] &7Posiadasz najnowsza wersje &aSimplyRaports" to console
- every 1200 seconds:
- {wersja} is not {nowa.wersja}:
- send "&8[&6SimplyRaports&8] &f[&4UWAGA&f]&7 Dostepna jest nowa wersja &cSimplyRaports" to console
- send "&8[&6SimplyRaports&8] &7Twoja wersja:&c v.1.2 (alpha)" to console
- send "&8[&6SimplyRaports&8] &7Najnowsza wersja:&c %{nowa.wersja}%" to console
- send "&8[&6SimplyRaports&8] &f[&4UWAGA&f]&7 Pobierz ja tu:&a http://pastebin.com/raw.php?i=2sLiHjix" to console
- #
- #
- command /RaportyStworz:
- trigger:
- if file "Raporty/bug.yml" doesn't exists:
- create file "Raporty/bug.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cbug.yml&7 zostal pomyslnie &astworzony&7!" to console
- #
- else:
- delete file "Raporty/bug.yml"
- create file "Raporty/bug.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cbug.yml&7 zostal pomyslnie &cusuniety i &astworzony&7!" to console
- #
- #
- #
- if file "Raporty/config.yml" doesn't exists:
- create file "Raporty/config.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cconfig.yml&7 zostal pomyslnie &astworzony&7!" to console
- #
- else:
- delete file "Raporty/config.yml"
- create file "Raporty/config.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cconfig.yml&7 zostal pomyslnie &cusuniety i &astworzony&7!" to console
- #
- #
- #
- if file "Raporty/gracze.yml" doesn't exists:
- create file "Raporty/gracze.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cgracze.yml&7 zostal pomyslnie &astworzony&7!" to console
- #
- else:
- delete file "Raporty/gracze.yml"
- create file "Raporty/gracze.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cgracze.yml&7 zostal pomyslnie &cusuniety i &astworzony&7!" to console
- #
- #
- #
- if file "Raporty/propozycje.yml" doesn't exists:
- create file "Raporty/propozycje.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cpropozycje.yml&7 zostal pomyslnie &astworzony&7!" to console
- #
- else:
- delete file "Raporty/propozycje.yml"
- create file "Raporty/propozycje.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cpropozycje.yml&7 zostal pomyslnie &cusuniety i &astworzony&7!" to console
- #
- #
- wait 5 seconds
- wf "## ====================[ Konfiguracja Skryptu ]==================== " to "Raporty/config.yml"
- wf "## " to "Raporty/config.yml"
- wf "## Brak uprawnien - Chodzi o wiadomosc ktora bedzie sie wyswietlala graczowi kiedy uzyje komendy do ktorej nie ma uprawnien " to "Raporty/config.yml"
- wf "## Poprawne uzycie (Bug/Zglos/Propozycja) - Wiadomosc ktorea pojawi sie kiedy gracz zle wpisze komende lub nie napisze ktorejs czesci komendy " to "Raporty/config.yml"
- set "Brak uprawnien" to "Nie masz uprawnien aby uzyc tej komendy :3" in yaml file "Raporty/config.yml"
- set "Poprawne uzycie.Bug" to "Poprawne uzycie /bug <tresc buga>" in yaml file "Raporty/config.yml"
- set "Poprawne uzycie.Zglos" to "Poprawne uzycie /zglos <nazwa gracza> <zgloszenie>" in yaml file "Raporty/config.yml"
- set "Poprawne uzycie.Propozycja" to "Poprawne uzycie /propozycja <propozycja>" in yaml file "Raporty/config.yml"
- wf "## " to "Raporty/config.yml"
- wf "## KOLORY - Jezeli chcesz uzyska kolorowa wiadomosc uzyj ""\xa7"" lub "" ยง ""zamiast ""&""! Np. ""Ale dzis mamy §b wyjatkowo ladny \xa73 dzien"" " to "Raporty/config.yml"
- wf "## =================[ Koniec Konfiguracji Skryptu ]================ " to "Raporty/config.yml"
- wf "## v.1.2 (alpha)" to "Raporty/config.yml"
- #
- #
- #
- command /StworzRaporty:
- trigger:
- if player has permissions "raport.tworzenie":
- #
- if file "Raporty/bug.yml" doesn't exists:
- create file "Raporty/bug.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cbug.yml&7 zostal pomyslnie &astworzony&7!" to console
- #
- else:
- delete file "Raporty/bug.yml"
- create file "Raporty/bug.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cbug.yml&7 zostal pomyslnie &cusuniety i &astworzony&7!" to console
- #
- #
- #
- if player has permissions "raport.tworzenie":
- #
- if file "Raporty/config.yml" doesn't exists:
- create file "Raporty/config.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cconfig.yml&7 zostal pomyslnie &astworzony&7!" to console
- #
- else:
- delete file "Raporty/config.yml"
- create file "Raporty/config.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cconfig.yml&7 zostal pomyslnie &cusuniety i &astworzony&7!" to console
- #
- #
- #
- if player has permissions "raport.tworzenie":
- #
- if file "Raporty/gracze.yml" doesn't exists:
- create file "Raporty/gracze.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cgracze.yml&7 zostal pomyslnie &astworzony&7!" to console
- #
- else:
- delete file "Raporty/gracze.yml"
- create file "Raporty/gracze.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cgracze.yml&7 zostal pomyslnie &cusuniety i &astworzony&7!" to console
- #
- #
- #
- if player has permissions "raport.tworzenie":
- #
- if file "Raporty/propozycje.yml" doesn't exists:
- create file "Raporty/propozycje.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cpropozycje.yml&7 zostal pomyslnie &astworzony&7!" to console
- #
- else:
- delete file "Raporty/propozycje.yml"
- create file "Raporty/propozycje.yml"
- send " &8[&6SimplyRaports&8]&7 Plik &cpropozycje.yml&7 zostal pomyslnie &cusuniety i &astworzony&7!" to console
- #
- #
- #
- if player has permissions "raport.tworzenie":
- wait 5 seconds
- wf "## ====================[ Konfiguracja Skryptu ]==================== " to "Raporty/config.yml"
- wf "## " to "Raporty/config.yml"
- wf "## Brak uprawnien - Chodzi o wiadomosc ktora bedzie sie wyswietlala graczowi kiedy uzyje komendy do ktorej nie ma uprawnien " to "Raporty/config.yml"
- wf "## Poprawne uzycie (Bug/Zglos/Propozycja) - Wiadomosc ktorea pojawi sie kiedy gracz zle wpisze komende lub nie napisze ktorejs czesci komendy " to "Raporty/config.yml"
- set "Brak uprawnien" to "Nie masz uprawnien aby uzyc tej komendy :3" in yaml file "Raporty/config.yml"
- set "Poprawne uzycie.Bug" to "Poprawne uzycie /bug <tresc buga>" in yaml file "Raporty/config.yml"
- set "Poprawne uzycie.Zglos" to "Poprawne uzycie /zglos <nazwa gracza> <zgloszenie>" in yaml file "Raporty/config.yml"
- set "Poprawne uzycie.Propozycja" to "Poprawne uzycie /propozycja <propozycja>" in yaml file "Raporty/config.yml"
- wf "## " to "Raporty/config.yml"
- wf "## KOLORY - Jezeli chcesz uzyska kolorowa wiadomosc uzyj ""\xa7"" lub "" ยง ""zamiast ""&""! Np. ""Ale dzis mamy §b wyjatkowo ladny \xa73 dzien"" " to "Raporty/config.yml"
- wf "## =================[ Koniec Konfiguracji Skryptu ]================ " to "Raporty/config.yml"
- wf "## v.1.2 (alpha)" to "Raporty/config.yml"
- #
- #
- else:
- send " %{no.permission}%" to player
- #
- #======================================================================================================================================================
- #
- command /bug [<text>]:
- trigger:
- if player has permissions "raport.bug":
- if arg 1 is set:
- set "%player%.(%{ile.%player%}%)" to "%arg 1%" in yaml file "Raporty/bug.yml"
- send "&7Wyslales twojego &c%{ile.%player%}% &7buga do bazy danych: ""&c%arg 1%&7"" " to player
- add 1 to {ile.%player%}
- else:
- send "%{uzycie.bug}%" to player
- else:
- send " %{no.permission}%" to player
- #
- #
- command /zglos [<player>] [<text>]:
- trigger:
- if player has permissions "raport.zglos":
- if arg 1 is set:
- if arg 2 is set:
- set "%player%.%arg 1%.(%{ile.%player%}%)" to "%arg 2%" in yaml file "Raporty/gracze.yml"
- send "&7Wyslales&c zgloszenie na gracza &c%arg 1% &7do bazy danych: ""&c%arg 2%&7"" " to player
- else:
- send "%{uzycie.zglos}%" to player
- else:
- send "%{uzycie.zglos}%" to player
- else:
- send " %{no.permission}%" to player
- #
- #
- command /propozycja [<text>]:
- trigger:
- if player has permissions "raport.propozycja":
- if arg 1 is set:
- set "%player%" to "%arg 1%" in yaml file "Raporty/propozycje.yml"
- send "&7Wyslales&c propozycje do bazy danych: ""&c%arg 1%&7"" " to player
- else:
- send "%{uzycie.propozycje}%" to player
- else:
- send " %{no.permission}%" to player
- #
- #
- variables:
- {ilebug.%player%} = 1
Advertisement
Add Comment
Please, Sign In to add comment