Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # # # # # #
- # Script by PatisonPlayGames #
- # Name: InfinityItems #
- # Version: Beta 2.0 #
- # Skript: 2.0.2 #
- # # # # # # # # # # # # # # # #
- #=============================================#
- # Licencja InfinityItems by PatisonPlayGames!#
- # + Nie zezwalam na: #
- # - Usuwanie tresci o autorze! #
- # - Udostepnaniu skryptu innym! #
- # - Podszywanie sie pod autora! #
- # - Uzywanie kodu skryptu w swoich skryptach! #
- # - Zarabianie na skrypcie! #
- # + Zezwalam na: #
- # - Dodawanie kodu na swoja potrzebe! #
- # - Modyfikowanie wiadomosci! #
- #=============================================#
- options:
- # # # # # # # # # # # # # # #
- # #
- # General Config #
- # #
- # # # # # # # # # # # # # # #
- # Komenda uzywana w skrypcie:
- komenda: InfinityItems
- # Skroty do komendy wyzej:
- aliasy: ii, infinity, items
- # Tag wyswietlany przed wiadomosciami skryptu!
- tag: &8[&aInfinityItems&8]
- #Nazwa pliku sk.Zanim wgrasz plik i zmieniles nazwe zmien ja takze tutaj i dopiero wgraj plik!:
- sk: InfinityItems
- # # # # # # # # # # # # # #
- # #
- # Permissions #
- # #
- # # # # # # # # # # # # # #
- # Wiadomosc przy braku uprawnienia:
- permission: &4Nie masz uprawnien by uzywac tej komendy!
- # Autor Config
- version: Beta 2.0
- command /{@komenda} [<text>] [<text>]:
- aliases: {@aliasy}
- trigger:
- if arg 1 is "set":
- if targeted block is dispenser or dropper:
- if player has permission "infinityitems.admin" or "infinityitems.set.infinity":
- set {infinityitems.%targeted block%.infinity} to true
- send "{@tag} &aUtworzone nieskonczony dispenser/dropper!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &cMusisz patrzec na dispenser lub dropper"
- stop
- if arg 1 is "usun" or "delete":
- if {infinityitems.%targeted block%.infinity} is true:
- if targeted block is dispenser or dropper:
- if player has permission "infinityitems.admin" or "infinityitems.delete.infinity":
- set {infinityitems.%targeted block%.infinity} to false
- send "{@tag} &aUsunieto nieskonczony dispenser!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &cMusisz patrzec na dispenser lub dropper"
- stop
- else:
- send "{@tag} &cTen dispenser nie jest nieskonczony!"
- stop
- if arg 1 is not set:
- send "&8=========={@tag}&8==========="
- send "&6{@komenda} - &a Pokazuje wszystkie komendy!"
- send "&6{@komenda} set - &a Ustawia nieskonczony dispenser/dropper"
- send "&6{@komenda} usun - &aUsuwa nieskonczony dispenser/dropper!"
- send "&6{@komenda} reload - &aPrzeladowywuje skrypt!"
- send "&6{@komenda} autor - &aPokazuje informacje o autorze!"
- send "&6{@komenda} wersja - &aPokazuje wersje pluginu!"
- stop
- if arg 1 is "pomoc" or "help":
- send "&8=========={@tag}&8==========="
- send "&6{@komenda} - &a Pokazuje wszystkie komendy!"
- send "&6{@komenda} set - &a Ustawia nieskonczony dispenser/dropper"
- send "&6{@komenda} usun - &aUsuwa nieskonczony dispenser/dropper!"
- send "&6{@komenda} reload - &aPrzeladowywuje skrypt!"
- send "&6{@komenda} autor - &aPokazuje informacje o autorze!"
- send "&6{@komenda} wersja - &aPokazuje wersje pluginu!"
- stop
- if arg 1 is "przeladuj" or "reload":
- if player has permission "infinityitems.reload" or "infinityitems.admin":
- execute console command "/skript reload {@sk}"
- send "{@tag} &aPrzeladowano!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- if arg 1 is "wersja" or "version":
- send "&7----------------------------------------------"
- send " &8Nazwa: &aInfinityItems"
- send " &8Wersja: &a&n{@version}"
- send "&7----------------------------------------------"
- stop
- if arg 1 is "author" or "autor":
- send "&7----------------------------------------------"
- send " &8Autor: &aPatisonPlayGames"
- send " &8Nazwa: &aInfinityItems"
- send "&8 &8&nYou&4&nTube:&a &nwww.youtube.com/PatisonPlayGames"
- send "&7----------------------------------------------"
- stop
- on break of dispenser or dropper:
- if {infinityitems.%event-block%.infinity} is true:
- set {infinityitems.%event-block%.infinity} to false
- send "{@tag} &aUsunieto nieskonczony dispenser!"
- stop
- on dispense:
- if {infinityitems.%event-block%.infinity} is true:
- add event-item to event-block
- stop
- on skript start:
- send "&8InfinityItems wymaga wersji Skript 2.0.2 ..." to the console
- wait 1 seconds
- send "&8Serwer pracuje na wersji: %skript version%" to the console
- send "" to the console
- send "&8--------------------------------------------------------------" to the console
- send "&8| |" to the console
- send "&8| Enable &9InfinityItems &8|" to the console
- send "&8| |" to the console
- send "&8--------------------------------------------------------------" to the console
- send "" to the console
- send "&8Autor: &ePatisonPlayGames" to the console
- send "&8Version: &7{@version}" to the console
- send "" to the console
Advertisement
Add Comment
Please, Sign In to add comment