Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- autor: Anastair
- nazwapliku: stoneplusplus.sk #Koniecznie prawdziwa i poprawna nazwa pliku, w ktorym jest skript. Inaczej beda bledy. Duże i male litery tez sa uwzglediane!!!
- #Ustawienia szans
- procentnadiament: 1.0 #szansa na diament
- procentnaemerald: 1.0 #szansa na emerald
- procentnazloto: 1.0 #szansa na zloto
- procentnazelazo: 1.0 #szansa na zelazo
- procentnatnt: 1.0 #szansa na tnt
- procentnaredstone: 1.0 #szansa na redstone
- procentnaperle: 1.0 #szansa na perle endermana
- procentnatokenvip: 0.01 #szansa na token na VIP (papier przyznajacy VIP)
- #Ustawienia EXP
- stonexp: 4 #Ilosc xp, ktora dostaniemy po wykopaniu stone (Aby xp nie przypadal wpisz 0)
- diamondxp: 18 #Ilosc xp, ktora dostaniemy po wykopaniu diamentu (Aby xp nie przypadal wpisz 0)
- emeraldxp: 15 #Ilosc xp, ktora dostaniemy po wykopaniu emeraldu (Aby xp nie przypadal wpisz 0)
- goldxp: 13 #Ilosc xp, ktora dostaniemy po wykopaniu zlota (Aby xp nie przypadal wpisz 0)
- ironxp: 10 #Ilosc xp, ktora dostaniemy po wykopaniu zelaza (Aby xp nie przypadal wpisz 0)
- redstonexp: 15 #Ilosc xp, ktora dostaniemy po wykopaniu redstone (Aby xp nie przypadal wpisz 0)
- pearlxp: 15 #Ilosc xp, ktora dostaniemy po wykopaniu perly endermana (Aby xp nie przypadal wpisz 0)
- tntxp: 20 #Ilosc xp, ktora dostaniemy po wykopaniu tnt (Aby xp nie przypadal wpisz 0)
- vipxp: 100 #Ilosc xp, ktora dostaniemy po wykopaniu tokena na vip (Aby xp nie przypadal wpisz 0)
- #Ustawienia systemu punktacji
- diamondpoints: 25 #Ile punktow dostaniemy za wykopanie diamentu
- emeraldpoints: 20 #Ile punktow dostaniemy za wykopanie emeraldu
- goldpoints: 17 #Ile punktow dostaniemy za wykopanie zlota
- ironpoints: 14 #Ile punktow dostaniemy za wykopanie zelaza
- redstonepoints: 18 #Ile punktow dostaniemy za wykopanie redstone
- pearlpoints: 19 #Ile punktow dostaniemy za wykopanie perly endermana
- tntpoints: 20 #Ile punktow dostaniemy za wykopanie tnt
- vippoints: 150 #Ile punktow dostaniemy za wykopanie tokenu na vip
- #Ustawienia kilofow
- #------------------------------------------------------------------------
- diamondkilof1: diamond pickaxe#Pierwszy kilof, ktorym mozna wykopac diamenty
- diamondkilof2: iron pickaxe #Drugi kilof
- diamondkilof3: none #Trzeci kilof
- diamondkilof4: none #Czwarty
- diamondkilof5: none #Piaty
- #------------------------------------------------------------------------
- emeraldkilof1: diamond pickaxe #Pierwszy kilof, ktorym mozna wykopac emeraldy
- emeraldkilof2: iron pickaxe #Drugi kilof
- emeraldkilof3: gold pickaxe #Trzeci kilof
- emeraldkilof4: none #Czwarty
- emeraldkilof5: none #Piaty
- #------------------------------------------------------------------------
- goldkilof1: diamond pickaxe #Pierwszy kilof, ktorym mozna wykopac zloto
- goldkilof2: iron pickaxe #Drugi kilof
- goldkilof3: gold pickaxe #Trzeci kilof
- goldkilof4: none #Czwarty
- goldkilof5: none #Piaty
- #------------------------------------------------------------------------
- ironkilof1: diamond pickaxe #Pierwszy kilof, ktorym mozna wykopac zelazo
- ironkilof2: iron pickaxe #Drugi kilof
- ironkilof3: gold pickaxe #Trzeci kilof
- ironkilof4: none #Czwarty
- ironkilof5: none #Piaty
- #------------------------------------------------------------------------
- coalkilof1: diamond pickaxe #Pierwszy kilof, ktorym mozna wykopac wegiel
- coalkilof2: iron pickaxe #Drugi kilof
- coalkilof3: gold pickaxe #Trzeci kilof
- coalkilof4: none #Czwarty
- coalkilof5: none #Piaty
- #------------------------------------------------------------------------
- tntkilof1: diamond #Pierwszy kilof, ktorym mozna wykopac tnt
- tntkilof2: iron #Drugi kilof
- tntkilof3: gold #Trzeci kilof
- tntkilof4: none #Czwarty
- tntkilof5: none #Piaty
- #------------------------------------------------------------------------
- pearlkilof1: diamond pickaxe #Pierwszy kilof, ktorym mozna wykopac perle endermana
- pearlkilof2: iron pickaxe #Drugi kilof
- pearlkilof3: gold pickaxe #Trzeci kilof
- pearlkilof4: none #Czwarty
- pearlkilof5: none #Piaty
- #------------------------------------------------------------------------
- tokenkilof1: diamond pickaxe #Pierwszy kilof, ktorym mozna wykopac token na VIP
- tokenkilof2: none #Drugi kilof
- tokenkilof3: none #Trzeci kilof
- tokenkilof4: none #Czwarty
- tokenkilof5: none #Piaty
- #------------------------------------------------------------------------
- redstonekilof1: diamond pickaxe #Pierwszy kilof, ktorym mozna wykopac redstone
- redstonekilof2: none #Drugi kilof
- redstonekilof3: none #Trzeci kilof
- redstonekilof4: none #Czwarty
- redstonekilof5: none #Piaty
- #------------------------------------------------------------------------
- #Ustawienia fajerwerek
- fajerdiamond: tak #Czy fajerwerki maja byc wystrzeliwane po wykopaniu diamentu (tak/nie)
- fajeremerald: tak #emerald
- fajergold: tak #zlota
- fajeriron: tak #zelaza
- fajerredstone: tak #redstone
- fajertnt: tak #tnt
- fajerpearl: tak #perla endermana
- fajertoken: tak #token vip
- fajercoal: tak #wegiel
- #Ustawienia wiadomosci
- wiadomosci: pokaz #Czy ma wyswietlac wiadomosci o wykopaniu surowca (na bossbar) (poka/ukryj)
- vip: vip #Ranga jaka ma byc przyznawana za token VIP.
- bossbarczas: 9 #Czas przez jaki ma byc wyswietlany bossbar z informacja o wykopaniu surowca
- infodrop: &eNa serwerze panuje /drop ze stone! #Wiadomosc na pasku smoka o dropie ze stone
- wykopalesdiament: &bGratulujemy, wykopales 1 diament!
- wykopalesemerald: &aGratulujemy, wykopales 1 emerald!
- wykopalesgold: &eGratulujemy, wykopales 1 zloto!
- wykopalespearl: &9Gratulujemy, wykopales 1 perle endermana!
- wykopalestnt: &cGratulujemy, wykopales 1 tnt!
- wykopalesredstone: &4Gratulujemy, wykopales redstone!
- wykopalestoken: &e&l&nGratulujemy, wykopales VIP!
- wykopalescoal: &0Gratulujemy, wykopales wegiel!
- #KONIEC USTAWIEN
- #KOD SKRYPTU
- variables:
- {points.%player%} = 0
- {stone.%player%} = 0
- {diamond.%player%} = 0
- {pearl.%player%} = 0
- {gold.%player%} = 0
- {iron.%player%} = 0
- {coal.%player%} = 0
- {redstone.%player%} = 0
- {emerald.%player%} = 0
- {token.%player%} = 0
- {cobble.%player%} = true
- #Blokada wypadania surowców z rudy
- on mine of any ore:
- display "{@infodrop}" on bossbar with 100 percent by 10 seconds for player
- wait 1 second
- apply nausea 1 to player for 1 seconds
- on mine of stone:
- if {cobble.%player%} is true:
- drop 1 cobblestone
- add 1 to {stone.%player%}
- give {@stonexp} to player
- else:
- add 1 to {stone.%player%}
- give {@stonexp} to player
- on mine of stone:
- chance of {@procentnadiament}:
- if player is holding {@diamondkilof1} or {@diamondkilof2} or {@diamondkilof3} or {@diamondkilof4} or {@diamondkilof5}:
- drop 1 diamond
- give {@diamondxp} xp to the player
- add {@diamondpoints} to {points.%player%}
- add 1 to {diamond.%player%}
- if {@wiadomosci} is "pokaz":
- display "{@wykopalesdiament}" on bossbar with 100 percent by {@bossbarczas} seconds for player
- if {@fajerdiamond} is "tak":
- pop red firework at location of player
- pop blue firework at location of player
- pop black firework at location of player
- chance of {@procentnaemerald}:
- if player is holding {@emeraldkilof1} or {@emeraldkilof2} or {@emeraldkilof3} or {@emeraldkilof4} or {@emeraldkilof5} pickaxe:
- drop 1 emerald
- give {@emeraldxp} xp to the player
- add {@emeraldpoints} to {points.%player%}
- add 1 to {emerald.%player%}
- if {@wiadomosci} is "pokaz":
- display "{@wykopalesemerald}" on bossbar with 90 percent by {@bossbarczas} seconds for player
- if {@fajeremeraldi} is "tak":
- pop red firework at location of player
- pop green firework at location of player
- pop black firework at location of player
- chance of {@procentnazloto}:
- if player is holding {@goldkilof1} or {@goldkilof2} or {@goldkilof3} or {@goldkilof4} or {@goldkilof5}:
- drop 1 gold ingot
- give {@goldxp} xp to the player
- add {@goldpoints} to {points.%player%}
- add 1 to {gold.%player%}
- if {@wiadomosci} is "pokaz":
- display "{@wykopalesgold}" on bossbar with 75 percent by {@bossbarczas} seconds for player
- if {@fajergold} is "tak":
- pop red firework at location of player
- pop yellow firework at location of player
- pop black firework at location of player
- chance of {@procentnazelazo}:
- if player is holding {@ironkilof1} or {@ironkilof2} or {@ironkilof3} or {@ironkilof4} or {@ironkilof5}:
- drop 1 iron ingot
- give {@ironxp} xp to the player
- add {@ironpoints} to {points.%player%}
- add 1 to {iron.%player%}
- if {@wiadomosci} is "pokaz":
- display "{@wykopalesiron}" on bossbar with 65 percent by {@bossbarczas} seconds for player
- if {@fajeriron} is "tak":
- pop red firework at location of player
- pop yellow firework at location of player
- pop black firework at location of player
- chance of {@procentnatnt}:
- if player is holding {@tntkilof1} or {@tntkilof2} or {@tntkilof3} or {@tntkilof4} or {@tntkilof5}:
- drop 1 tnt
- give {@tntxp} xp to the player
- add {@tntpoints} to {points.%player%}
- add 1 to {tnt.%player%}
- if {@wiadomosci} is "pokaz":
- display "{@wykopalestnt}" on bossbar with 70 percent by {@bossbarczas} seconds for player
- if {@fajertnt} is "tak":
- pop red firework at location of player
- pop yellow firework at location of player
- chance of {@procentnaperle}:
- if player is holding {@pearlkilof1} or {@pearlkilof2} or {@pearlkilof3} or {@pearlkilof4} or {@pearlkilof5}:
- drop 1 ender pearl
- give {@pearlxp} xp to the player
- add {@pesrlpoints} to {points.%player%}
- add 1 to {pearl.%player%}
- if {@wiadomosci} is "pokaz":
- display "{@wykopalespearl}" on bossbar with 72 percent by {@bossbarczas} seconds for player
- if {@fajerpearl} is "tak":
- pop red firework at location of player
- pop yellow firework at location of player
- pop green firework at location of player
- chance of {@procentnaredstone}:
- if player is holding {@redstonekilof1} or {@redstonekilof2} or {@redstonekilof3} or {@redstonekilof4} or {@redstonekilof5}:
- drop 1 redstone
- give {@redstonexp} xp to the player
- add {@redstonepoints} to {points.%player%}
- add 1 to {redstone.%player%}
- if {@wiadomosci} is "pokaz":
- display "{@wykopalesredstone}" on bossbar with 69 percent by {@bossbarczas} seconds for player
- if {@fajerredstonel} is "tak":
- pop red firework at location of player
- pop yellow firework at location of player
- pop green firework at location of player
- chance of {@procentnatoken}:
- if player is holding {@tokenkilof1} or {@tokenkilof2} or {@tokenkilof3} or {@tokenkilof4} or {@tokenkilof5}:
- give 1 paper named "&e&lToken na {@vip}" to player
- give {@tokenxp} xp to the player
- add {@tokenpoints} to {points.%player%}
- add 1 to {token.%player%}
- if {@wiadomosci} is "pokaz":
- display "{@wykopalestoken}" on bossbar with 100 percent by {@bossbarczas} seconds for player
- broadcast "&c&l[Stone++]&7Jeden token na VIP juz znaleziony :)"
- if {@fajertoken} is "tak":
- pop red firework at location of player
- pop yellow firework at location of player
- pop green firework at location of player
- pop black firework at location to player
- command /cobble:
- aliases: cobblestone
- trigger:
- if player has permission "stoneplusplus.cobble" or "stoneplusplus.*":
- if {cobble.%player%} is true:
- set {cobble.%player%} to false
- send " &e» &7Zablokowales drop cobblestone!"
- stop
- if {cobble.%player%} is false:
- set {cobble.%player%} to true
- send " &e» &7Aktywowales drop cobblestone"
- stop
- command /drop:
- aliases: kamien
- trigger:
- if player has permission "stoneplusplus.drop" or "stoneplusplus.*":
- send "&a&l||==========|| &eDrop++ &a&l||==========||" to player
- send "&bDiament: &7{@procentnadiament}" to player
- send "&aEmerald: &7{@procentnaemerald" to player
- send "&9Perla endermana: &7{@procentnaperle}" to player
- send "&cTnt: &7{@procentnatnt}" to player
- send "&eZloto: &7{@procentnazloto}" to player
- send "&8Zelazo: &7{@procentnazelazo}" to player
- send "&0Wegiel: &7{@procentnawegiel}" to player
- send "&eVip: &7{@procentnatoken}" to player stop
- command /zbiory [<text>]:
- trigger:
- if arg 1 is not set:
- send "&ePoprawne uzycie: &7/zbiory [1/2] lub /zbiory nick" to player
- if arg 1 is "1":
- if player has permission "stoneplusplus.zbiory.1" or "stoneplusplus.*":
- send "&a&l||==========|| &eZbiory 1/2 &a&l||==========||" to player
- send "&ePunkty: &7%{points.%player%}%" to player
- send "&bDiament: &7%{diamond.%player%}%" to player
- send "&aEmerald: &7%{emerald.%player%}%" to player
- send "&9Perly endermana: &7%{pearl.%player%}%" to player
- send "&cTnt: &7%{tnt.%player%}%" to player
- stop
- if arg 1 is "2":
- if player has permission "stoneplusplus.zbiory.2" or "stoneplusplus.*":
- send "&a&l||==========|| &eZbiory 2/2 &a&l||==========||" to player
- send "&eZloto: &7%{gold.%player%}%" to player
- send "&8Zelazo: &7%{iron.%player%}%" to player
- send "&0Wegiel: &7%{coal.%player%}%" to player
- send "&eVip: &7%{token.%player%}%" to player
- send "&6Kamien: &7%{stone.%player%}%" to player
- stop
- on rightclick holding a paper:
- if name of player's tool is "&e&lToken na {@vip}":
- if player has permission "stoneplusplus.token":
- send "&8Uzyles token {@vip}" to the player
- remove 1 paper named "&e&lToken na {@vip}" from player
- execute console command "pex user %player% group set {@vip}"
- on script load:
- send "[Stone++] Skrypt zostal aktywowany!" to console
- send "[Stone++] Autor: User987 (Anastair)" to console
- on script unload:
- send "[Stone++] Praca skryptu zostala wstrzymana!" to console
- send "[Stone++] Autor: User987 (Anastair)" to console
- every 10 seconds:
- if "{@autor}" is not "Anastair":
- broadcast "&c&l[Stone++] &7Autorem skryptu jest Anastair! Naruszyles licencje skryptu zmieniajac autora!"
- broadcast "&c&l[Stone++] &7Prosze zmienic autora skryptu Stone++ na prawdziwego!"
- send "[Stone++] Zmieniles autora skryptu i zlamalales licencje, za 10 sekund skrypt zostanie usuniety" to console
- set motd to "&c[Stone++] Naruszyles licencje zmieniajac autora!"
- wait 10 seconds
- df "plugins/Skript/scripts/{@nazwapliku}"
- execute console command "sk reload all"
Advertisement
Add Comment
Please, Sign In to add comment