Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Skrypt wymaga pluginu ScriptPlus!
- # # # # # # # # # # # # # # # #
- # Script by PatisonPlayGames #
- # Name: HiddenPlayers #
- # Version: 3.0 #
- # Skript: 2.0.2 #
- # # # # # # # # # # # # # # # #
- #=============================================#
- # Licencja HiddenPlayers 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: Hiddenplayers
- #Nazwa pliku sk.Zanim wgrasz plik i zmieniles nazwe zmien ja takze tutaj i dopiero wgraj plik!:
- sk: HiddenPlayers
- # Aliasy do komendy wyzej:
- aliasy: hp, hide
- # Tag wyswietalny przed wiadomosciami skryptu:
- tag: &c[&6HiddenPlayers&c]
- # # # # # # # # # # # # # # #
- # #
- # Items Config #
- # #
- # # # # # # # # # # # # # # #
- # Na jaka ilosc itemow ma dzialac ukrywanie na dwa czy jeden :
- ilosc: 2
- # Jezeli na jeden to jaki:
- item1: emerald
- # Jezeli na dwa to tutaj podaj pierwszy:
- item2: diamond
- # A tu drugi:
- item3: gold ingot
- # Item ktorym pokazujemy wszystkich graczy lub chowamy tych ktorzy nie sa na liscie przyjaciol:
- item4: stone
- # # # # # # # # # # # # # # #
- # #
- # Permission #
- # #
- # # # # # # # # # # # # # # #
- # Wiadmosc gdy nie mamy uprawnien:
- permission: &cNie masz uprawnien do uzywania tej komendy!
- # Autor Config
- version: 3.0
- command /{@komenda} [<text>] [<player>]:
- aliases: {@aliasy}
- trigger:
- if arg 1 is not set:
- send "&8========{@tag}&8========"
- send "&6{@komenda} &a- pokazuje wszystkie komendy!
- send "&6{@komenda} add &a- Dodaje gracza do listy znajomych! "
- send "&6{@komenda} list &a- Pokazuje liste znajomych! "
- send "&6{@komenda} delete &a- Usuwa gracza z listy znajomych! "
- send "&6{@komenda} give &a- Daje ci item/itemki "
- send "&6{@komenda} reload &a- Przeladowywuje skrypt!"
- send "&6{@komenda} autor &a- Pokazuje autora skryptu!"
- send "&6{@komenda} wersja &a- Pokazuje wersje skryptu!"
- stop
- if arg 1 is "pomoc" or "help":
- send "&8========{@tag}&8========"
- send "&6{@komenda} &a- pokazuje wszystkie komendy!
- send "&6{@komenda} add &a- Dodaje gracza do listy znajomych! "
- send "&6{@komenda} list &a- Pokazuje liste znajomych! "
- send "&6{@komenda} delete &a- Usuwa gracza z listy znajomych! "
- send "&6{@komenda} give &a- Daje ci item/itemki "
- send "&6{@komenda} reload &a- Przeladowywuje skrypt!"
- send "&6{@komenda} autor &a- Pokazuje autora skryptu!"
- send "&6{@komenda} wersja &a- Pokazuje wersje skryptu!"
- stop
- if arg 1 is "give" or "daj":
- set {hiddenplayers.items} to {@ilosc}
- if {hiddenplayers.items} is 1:
- if player has permission "hiddenplayers.give" or "hiddenplayers.*":
- give 1 {@item1} named "&aUkrywacz graczy!" to the player
- give 1 {@item4} named "&aPokazywacz przyjaciol" to the player
- send "{@tag} &6Pobrano item!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- if {hiddenplayers.items} is 2:
- if player has permission "hiddenplayers.give" or "hiddenplayers.*":
- give 1 {@item3} named "&aUkrywacz graczy!" to the player
- give 1 {@item4} named "&aPokazywacz przyjaciol" to the player
- send "{@tag} &6Pobrano itemy!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- if arg 1 is "reload" or "przeladuj":
- if player has permission "hiddenplayers.reload" or "hiddenplayers.*":
- execute console command "sk reload {@sk}"
- send "{@tag} &aPrzeladowano"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- if arg 1 is "dodaj" or "add":
- if player has permission "hiddenplayers.addfriend" or "hiddenplayers.*":
- if arg 2 is set:
- if arg 2 is online:
- if {hiddenplayers.%argument 2%.%player%.friends} is not set:
- set {hiddenplayers.%argument 2%.%player%.friends} to false
- if {hiddenplayers.%argument 2%.%player%.friends} is false:
- set {hiddenplayers.%argument 2%.%player%.friends} to true
- add "%arg 2%" to {hiddenplayers.%player%.friendslist::*}
- send "{@tag} &aDodano gracza %arg 2% do listy znajomych!"
- stop
- else:
- send "{@tag} &aTen gracz jest juz na liscie twoich znajomych!"
- stop
- else:
- send "{@tag} &cGracz nie jest online!"
- stop
- else:
- send "{@tag} &cPodaj nick gracza!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- if arg 1 is "lista" or "list":
- if player has permission "hiddenplayers.listfriend" or "hiddenplayers.*":
- send "{@tag} &6%{hiddenplayers.%player%.friendslist::*}%"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- if arg 1 is "usun" or "delete":
- if arg 2 is set:
- if player has permission "hiddenplayers.deletefriends" or "hiddenplayers.*":
- if {hiddenplayers.%argument 2%.%player%.friends} is true:
- set {hiddenplayers.%argument 2%.%player%.friends} to false
- remove "%arg 2%" from {hiddenplayers.%player%.friendslist::*}
- send "{@tag} &aUsunieto gracza %arg 2% z listy przyjaciol!"
- stop
- else:
- send "{@tag} &cTen gracz nie jest na liscie przyjaciol!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- else:
- send "{@tag} &cPodaj nick gracza!"
- stop
- if arg 1 is "wersja" or "version":
- send "&7----------------------------------------------"
- send " &8Nazwa: &aHiddenPlayers"
- send " &8Wersja: &a&n{@version}"
- send "&7----------------------------------------------"
- stop
- if arg 1 is "author" or "autor":
- send "&7----------------------------------------------"
- send " &8Autor: &aPatisonPlayGames"
- send " &8Nazwa: &aHiddenPlayers"
- send "&8 &8&nYou&4&nTube:&a &nwww.youtube.com/PatisonPlayGames"
- send "&7----------------------------------------------"
- stop
- on rightclick with {@item4}:
- if player has permission "hiddenplayers.hide" or "hiddenplayers.*":
- loop all players:
- if {hiddenplayers.%loop-player%.%player%.friends} is true:
- hide all players from player
- reveal loop-player to player
- send "{@tag} &6Pokazano graczy na liscie przyjaciol!"
- set the player's tool to {@item4}
- set name of the player's tool to "&aGracze ==> &4Ukryci!"
- set lore of the player's tool to "&6Kliknij (LPM) by pokazac graczy!"
- stop
- else:
- send "{@tag} &cNie masz zadnych przyjaciol lub nie sa oni online!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on leftclick with {@item4}:
- if player has permission "hiddenplayers.show" or "hiddenplayers.*":
- reveal all players to player
- send "{@tag} &6Pokazano graczy!"
- set the player's tool to {@item4}
- set name of the player's tool to "&aGracze ==> Pokazani!"
- set lore of the player's tool to "&6Kliknij (PPM) by ukryc graczy!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on rightclick with {@item1}:
- set {hiddenplayers.items} to {@ilosc}
- if {hiddenplayers.items} is 1:
- if player has permission "hiddenplayers.hide" or "hiddenplayers.*":
- hide all players from player
- send "{@tag} &6Ukryto graczy!"
- set the player's tool to {@item1}
- set name of the player's tool to "&aGracze ==> &4Ukryci!"
- set lore of the player's tool to "&6Kliknij (PPM) by pokazac graczy!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on leftclick with {@item1}:
- set {hiddenplayers.items} to {@ilosc}
- if {hiddenplayers.items} is 1:
- if player has permission "hiddenplayers.show" or "hiddenplayers.*":
- reveal all players to player
- send "{@tag} &6Pokazano graczy!"
- set the player's tool to {@item1}
- set name of the player's tool to "&aGracze ==> Pokazani!"
- set lore of the player's tool to "&6Kliknij (LPM) by ukryc graczy!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on rightclick with {@item2}:
- set {hiddenplayers.items} to {@ilosc}
- if {hiddenplayers.items} is 2:
- if player has permission "hiddenplayers.hide" or "hiddenplayers.*":
- hide all players from player
- send "{@tag} &6Ukryto graczy!"
- set the player's tool to {@item3}
- set name of the player's tool to "&aGracze ==> &4Ukryci!"
- set lore of the player's tool to "&6Kliknij (PPM) by pokazac graczy!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on leftclick with {@item3}:
- set {hiddenplayers.items} to {@ilosc}
- if {hiddenplayers.items} is 2:
- if player has permission "hiddenplayers.show" or "hiddenplayers.*":
- reveal all players to player
- send "{@tag} &6Pokazano graczy!"
- set the player's tool to {@item2}
- set name of the player's tool to "&aGracze ==> Pokazani!"
- set lore of the player's tool to "&6Kliknij (LPM) by ukryc graczy!"
- stop
- else:
- send "{@tag} {@permission}"
- stop
- on skript start:
- send "&8HiddenPlayers wymaga wersji Skript 2.0.2 ..." to the console
- send "&8HiddenPlayers wymaga pluginu SkriptPlus ..." 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 &9HiddenPlayers &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
- #------------------------------------------------ End of Script / Thanks for Use ---------------------------------#
- #-------------------------------- © by PationPlayGames - Author / YouTube www.youtube.com/PatisonPlayGames -------#
Advertisement
Add Comment
Please, Sign In to add comment