Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {punkty.%player%} = 0 # jak sie nie znasz nie zmieniaj !
- {maxpkt.%player%} = true # jak sie nie znasz nie zmieniaj !
- {mypkt.wlacz} = false # jak sie nie znasz nie zmieniaj !
- {myexp.wlacz} = true # jak sie nie znasz nie zmieniaj !
- {cb.%player%} = true # jak sie nie znasz nie zmieniaj !
- options:
- #===============================#
- # Nagroda za punkty #
- #===============================#
- w1_n1: diamond # Nagroda za ilosc punktow w1
- w2_n2: 2 diamond # Nagroda za ilosc punktow w2
- w3_n3: 3 diamond # Nagroda za ilosc punktow w3
- w4_n4: 4 diamond # Nagroda za ilosc punktow w4
- w5_n5: 5 diamond # Nagroda za ilosc punktow w5
- w6_n6: 6 diamond # Nagroda za ilosc punktow w6
- w7_n7: 7 diamond # Nagroda za ilosc punktow w7
- w8_n8: 8 diamond # Nagroda za ilosc punktow w8
- w9_n9: 9 diamond # Nagroda za ilosc punktow w9
- #===============================#
- # Ilosc punktow na tabliczce #
- #===============================#
- w1: 10000 # Ilosc punktow na wymiane
- w2: 20000 # Ilosc punktow na wymiane
- w3: 30000 # Ilosc punktow na wymiane
- w4: 40000 # Ilosc punktow na wymiane
- w5: 50000 # Ilosc punktow na wymiane
- w6: 60000 # Ilosc punktow na wymiane
- w7: 70000 # Ilosc punktow na wymiane
- w8: 80000 # Ilosc punktow na wymiane
- w9: 90000 # Ilosc punktow na wymiane
- #================================
- #================================
- tag: &e» # nazwa wyswietlana podczas wydobycia czegos ze stona ;) Albo odebrania nagrody :)
- #================================
- #================================
- pkt_perla: 20 # ilosc punktow za wydobycie enderperly ;) Wpisywac tylko cyfry !
- pkt_diax: 17 # ilosc punktow za wydobycie diamenta ;) Wpisywac tylko cyfry !
- pkt_emerald: 15 # ilosc punktow za wydobycie emeralda ;) Wpisywac tylko cyfry !
- pkt_zloto: 10 # ilosc punktow za wydobycie zlota ;) Wpisywac tylko cyfry !
- pkt_zelazo: 7 # ilosc punktow za wydobycie zelaza ;) Wpisywac tylko cyfry !
- pkt_wegiel: 3 # ilosc punktow za wydobycie wegla ;) Wpisywac tylko cyfry !
- pkt_obsydian: 13 # ilosc punktow za wydobycie obsydianu ;) Wpisywac tylko cyfry !
- pkt_redstone: 5 # ilosc punktow za wydobycie redstona ;) Wpisywac tylko cyfry !
- #================================
- #================================
- szansa_perla: 0.5 # szansa na drop enderperly ! Nie wpisywac % ;)
- szansa_diax: 0.7 # szansa na drop diamentu ! Nie wpisywac % ;)
- szansa_emerald: 1.2 # szansa na drop emeraldu ! Nie wpisywac % ;)
- szansa_zloto: 1.5 # szansa na drop zlota ! Nie wpisywac % ;)
- szansa_zelazo: 2 # szansa na drop zelaza ! Nie wpisywac % ;)
- szansa_wegiel: 3 # szansa na drop wegla ! Nie wpisywac % ;)
- szansa_obsydian: 0.5 # szansa na drop obsydianu ! Nie wpisywac % ;)
- szansa_redstone: 4 # szansa na drop redstona ! Nie wpisywac % ;)
- szansa_exp: 75 # szansa na zdobycie expa ze stona ! Nie wpisywac % :D
- #================================
- #================================
- pkt: 500
- #================================
- #-\/-\/-\/-Zakaz Zmieniania !-\/-\/-\/-#
- nazwa: &eMyPoints # Nazwa skryptu
- autor: &eTheBlooes # Autor skryptu
- wersja: &ev1.1 # Wersja skryptu
- #-/\-/\-/\-Zakaz Zmieniania !-/\-/\-/\-#
- #============= Permissie =============#
- # mypkt.wlacz - wlaczanie skryptu #
- # mypkt.wylacz - wylaczanie skryptu #
- # mypkt.resetuj - resetowanie punktow #
- # mypkt.daj - dawanie punktow #
- # myexp.wlacz - wlaczanie dropu expa #
- # myexp.wylacz - wylaczanie dropu expa#
- #============= Permissie =============#
- #=======================================================================================================================#
- # LICENCJA #
- #=======================================================================================================================#
- # ZAKAZ: #
- # * Modyfikowania treści skryptu #
- # * Przywłaszczania sobie autorstwa skryptu #
- # * Zarabiania na skrypcie #
- # * Udostepniania skryptu w swoich paczkach serwerowych #
- # * Usuwania tresci zawierajacych informacje o autorze #
- # * Podszywania sie pod autora #
- #=======================================================================================================================#
- # POZWOLENIA: #
- # * Modyfikowanie wiadomości skryptu na wlasne potrzeby #
- #=======================================================================================================================#
- # Mylnie odczytana licencja nie zwalnia z przestrzegania jej. #
- #=======================================================================================================================#
- #-----------#
- #Kod skryptu#
- #-----------#
- on mine of stone:
- if {myexp.wlacz} is true:
- if player's gamemode is survival:
- chance of {@szansa_exp}%:
- if player's tool is pickaxe of fortune 0:
- give 2 xp to the player
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give 2 xp to the player
- else:
- give 4 xp to the player
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give 2 xp to the player
- else:
- chance of 33%:
- give 4 xp to the player
- else:
- give 6 xp to the player
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give 2 xp to the player
- else:
- chance of 25%:
- give 4 xp to the player
- else:
- chance of 25%:
- give 6 xp to the player
- else:
- chance of 25%:
- give 8 xp to the player
- on mine of stone:
- if {punkty.%player%} is 15000 or 20000 or 25000 or 30000 or 35000 or 40000 or 45000 or 50000 or 55000 or 60000 or 65000 or 70000 or 75000 or 80000 or 85000 or 90000 or 95000 or 100000:
- broadcast "&a%player% &7ma juz &e%{punkty.%player%}% &7punktow! &eGratulacje &7!"
- if {maxpkt.%player%} is 100000:
- if {maxpkt.%player%} is true:
- set {maxpkt.%player%} to false
- broadcast "&a%player% &7zdobyl maxymalna ilosc punktow ( &b100000 &7)"
- stop
- on mine of stone:
- if {mypkt.wlacz} is true:
- if player's gamemode is survival:
- chance of {@szansa_perla}%:
- if player's tool is pickaxe of fortune 0:
- give ender pearl to the player
- add {@pkt_perla} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEnder Perle &6! Otrzymujesz &7+20 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give ender pearl to the player
- add {@pkt_perla} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEnder Perle &6! Otrzymujesz &7+20 &6pkt !"
- else:
- give 2 ender pearl to the player
- add {@pkt_perla} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEnder Perle &6! Otrzymujesz &7+20 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give ender pearl to the player
- add {@pkt_perla} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEnder Perle &6! Otrzymujesz &7+20 &6pkt !"
- else:
- chance of 33%:
- give 2 ender pearl to the player
- add {@pkt_perla} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEnder Perle &6! Otrzymujesz &7+20 &6pkt !"
- else:
- give 3 ender pearl to the player
- add {@pkt_perla} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEnder Perle &6! Otrzymujesz &7+20 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give ender pearl to the player
- add {@pkt_perla} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEnder Perle &6! Otrzymujesz &7+20 &6pkt !"
- else:
- chance of 25%:
- give 2 ender pearl to the player
- add {@pkt_perla} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEnder Perle &6! Otrzymujesz &7+20 &6pkt !"
- else:
- chance of 25%:
- give 3 ender pearl to the player
- add {@pkt_perla} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEnder Perle &6! Otrzymujesz &7+20 &6pkt !"
- else:
- chance of 25%:
- give 4 ender pearl to the player
- add {@pkt_perla} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEnder Perle &6! Otrzymujesz &7+20 &6pkt !"
- on mine of stone:
- if {mypkt.wlacz} is true:
- if player's gamemode is survival:
- chance of {@szansa_diax}%:
- if player's tool is pickaxe of fortune 0:
- give diamond to the player
- add {@pkt_diax} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bDiament &6! Otrzymujesz &7+17 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give diamond to the player
- add {@pkt_diax} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bDiament &6! Otrzymujesz &7+17 &6pkt !"
- else:
- give 2 diamond to the player
- add {@pkt_diax} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bDiament &6! Otrzymujesz &7+17 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give diamond to the player
- add {@pkt_diax} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bDiament &6! Otrzymujesz &7+17 &6pkt !"
- else:
- chance of 33%:
- give 2 diamond to the player
- add {@pkt_diax} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bDiament &6! Otrzymujesz &7+17 &6pkt !"
- else:
- give 3 diamond to the player
- add {@pkt_diax} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bDiament &6! Otrzymujesz &7+17 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give diamond to the player
- add {@pkt_diax} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bDiament &6! Otrzymujesz &7+17 &6pkt !"
- else:
- chance of 25%:
- give 2 diamond to the player
- add {@pkt_diax} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bDiament &6! Otrzymujesz &7+17 &6pkt !"
- else:
- chance of 25%:
- give 3 diamond to the player
- add {@pkt_diax} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bDiament &6! Otrzymujesz &7+17 &6pkt !"
- else:
- chance of 25%:
- give 4 diamond to the player
- add {@pkt_diax} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bDiament &6! Otrzymujesz &7+17 &6pkt !"
- on mine of stone:
- if {mypkt.wlacz} is true:
- if player's gamemode is survival:
- chance of {@szansa_emerald}%:
- if player's tool is pickaxe of fortune 0:
- give emerald to the player
- add {@pkt_emerald} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEmerald &6! Otrzymujesz &7+15 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give emerald to the player
- add {@pkt_emerald} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEmerald &6! Otrzymujesz &7+15 &6pkt !"
- else:
- give 2 emerald to the player
- add {@pkt_emerald} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEmerald &6! Otrzymujesz &7+15 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give emerald to the player
- add {@pkt_emerald} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEmerald &6! Otrzymujesz &7+15 &6pkt !"
- else:
- chance of 33%:
- give 2 emerald to the player
- add {@pkt_emerald} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEmerald &6! Otrzymujesz &7+15 &6pkt !"
- else:
- give 3 emerald to the player
- add {@pkt_emerald} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEmerald &6! Otrzymujesz &7+15 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give emerald to the player
- add {@pkt_emerald} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEmerald &6! Otrzymujesz &7+15 &6pkt !"
- else:
- chance of 25%:
- give 2 emerald to the player
- add {@pkt_emerald} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEmerald &6! Otrzymujesz &7+15 &6pkt !"
- else:
- chance of 25%:
- give 3 emerald to the player
- add {@pkt_emerald} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEmerald &6! Otrzymujesz &7+15 &6pkt !"
- else:
- chance of 25%:
- give 4 emerald to the player
- add {@pkt_emerald} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bEmerald &6! Otrzymujesz &7+15 &6pkt !"
- on mine of stone:
- if {mypkt.wlacz} is true:
- if player's gamemode is survival:
- chance of {@szansa_zloto}%:
- if player's tool is pickaxe of fortune 0:
- give Gold Ingot to the player
- add {@pkt_zloto} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZloto &6! Otrzymujesz &7+10 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Gold Ingot to the player
- add {@pkt_zloto} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZloto &6! Otrzymujesz &7+10 &6pkt !"
- else:
- give 2 Gold Ingot to the player
- add {@pkt_zloto} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZloto &6! Otrzymujesz &7+10 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Gold Ingot to the player
- add {@pkt_zloto} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZloto &6! Otrzymujesz &7+10 &6pkt !"
- else:
- chance of 33%:
- give 2 Gold Ingot to the player
- add {@pkt_zloto} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZloto &6! Otrzymujesz &7+10 &6pkt !"
- else:
- give 3 Gold Ingot to the player
- add {@pkt_zloto} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZloto &6! Otrzymujesz &7+10 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Gold Ingot to the player
- add {@pkt_zloto} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZloto &6! Otrzymujesz &7+10 &6pkt !"
- else:
- chance of 25%:
- give 2 Gold Ingot to the player
- add {@pkt_zloto} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZloto &6! Otrzymujesz &7+10 &6pkt !"
- else:
- chance of 25%:
- give 3 Gold Ingot to the player
- add {@pkt_zloto} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZloto &6! Otrzymujesz &7+10 &6pkt !"
- else:
- chance of 25%:
- give 4 Gold Ingot to the player
- add {@pkt_zloto} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZloto &6! Otrzymujesz &7+10 &6pkt !"
- on mine of stone:
- if {mypkt.wlacz} is true:
- if player's gamemode is survival:
- chance of {@szansa_zelazo}%:
- if player's tool is pickaxe of fortune 0:
- give Iron Ingot to the player
- add {@pkt_zelazo} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZelazo &6! Otrzymujesz &7+7 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Iron Ingot to the player
- add {@pkt_zelazo} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZelazo &6! Otrzymujesz &7+7 &6pkt !"
- else:
- give 2 Iron Ingot to the player
- add {@pkt_zelazo} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZelazo &6! Otrzymujesz &7+7 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Iron Ingot to the player
- add {@pkt_zelazo} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZelazo &6! Otrzymujesz &7+7 &6pkt !"
- else:
- chance of 33%:
- give 2 Iron Ingot to the player
- add {@pkt_zelazo} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZelazo &6! Otrzymujesz &7+7 &6pkt !"
- else:
- give 3 Iron Ingot to the player
- add {@pkt_zelazo} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZelazo &6! Otrzymujesz &7+7 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Iron Ingot to the player
- add {@pkt_zelazo} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZelazo &6! Otrzymujesz &7+7 &6pkt !"
- else:
- chance of 25%:
- give 2 Iron Ingot to the player
- add {@pkt_zelazo} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZelazo &6! Otrzymujesz &7+7 &6pkt !"
- else:
- chance of 25%:
- give 3 Iron Ingot to the player
- add {@pkt_zelazo} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZelazo &6! Otrzymujesz &7+7 &6pkt !"
- else:
- chance of 25%:
- give 4 Iron Ingot to the player
- add {@pkt_zelazo} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bZelazo &6! Otrzymujesz &7+7 &6pkt !"
- on mine of stone:
- if {mypkt.wlacz} is true:
- if player's gamemode is survival:
- chance of {@szansa_wegiel}%:
- if player's tool is pickaxe of fortune 0:
- give Coal to the player
- add {@pkt_wegiel} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bWegiel &6! Otrzymujesz &7+3 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Coal to the player
- add {@pkt_wegiel} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bWegiel &6! Otrzymujesz &7+3 &6pkt !"
- else:
- give 2 Coal to the player
- add {@pkt_wegiel} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bWegiel &6! Otrzymujesz &7+3 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Coal to the player
- add {@pkt_wegiel} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bWegiel &6! Otrzymujesz &7+3 &6pkt !"
- else:
- chance of 33%:
- give 2 Coal to the player
- add {@pkt_wegiel} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bWegiel &6! Otrzymujesz &7+3 &6pkt !"
- else:
- give 3 Coal to the player
- add {@pkt_wegiel} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bWegiel &6! Otrzymujesz &7+3 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Coal to the player
- add {@pkt_wegiel} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bWegiel &6! Otrzymujesz &7+3 &6pkt !"
- else:
- chance of 25%:
- give 2 Coal to the player
- add {@pkt_wegiel} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bWegiel &6! Otrzymujesz &7+3 &6pkt !"
- else:
- chance of 25%:
- give 3 Coal to the player
- add {@pkt_wegiel} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bWegiel &6! Otrzymujesz &7+3 &6pkt !"
- else:
- chance of 25%:
- give 4 Coal to the player
- add {@pkt_wegiel} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bWegiel &6! Otrzymujesz &7+3 &6pkt !"
- on mine of stone:
- if {mypkt.wlacz} is true:
- if player's gamemode is survival:
- chance of {@szansa_obsydian}%:
- if player's tool is pickaxe of fortune 0:
- give Obsidian to the player
- add {@pkt_obsydian} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bObsydian &6! Otrzymujesz &7+13 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Obsidian to the player
- add {@pkt_obsydian} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bObsydian &6! Otrzymujesz &7+13 &6pkt !"
- else:
- give 2 Obsidian to the player
- add {@pkt_obsydian} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bObsydian &6! Otrzymujesz &7+13 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Obsidian to the player
- add {@pkt_obsydian} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bObsydian &6! Otrzymujesz &7+13 &6pkt !"
- else:
- chance of 33%:
- give 2 Obsidian to the player
- add {@pkt_obsydian} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bObsydian &6! Otrzymujesz &7+13 &6pkt !"
- else:
- give 3 Obsidian to the player
- add {@pkt_obsydian} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bObsydian &6! Otrzymujesz &7+13 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Obsidian to the player
- add {@pkt_obsydian} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bObsydian &6! Otrzymujesz &7+13 &6pkt !"
- else:
- chance of 25%:
- give 2 Obsidian to the player
- add {@pkt_obsydian} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bObsydian &6! Otrzymujesz &7+13 &6pkt !"
- else:
- chance of 25%:
- give 3 Obsidian to the player
- add {@pkt_obsydian} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bObsydian &6! Otrzymujesz &7+13 &6pkt !"
- else:
- chance of 25%:
- give 4 Obsidian to the player
- add {@pkt_obsydian} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bObsydian &6! Otrzymujesz &7+13 &6pkt !"
- on mine of stone:
- if {mypkt.wlacz} is true:
- if player's gamemode is survival:
- chance of {@szansa_redstone}%:
- if player's tool is pickaxe of fortune 0:
- give Redstone to the player
- add {@pkt_redstone} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bRedstone &6! Otrzymujesz &7+5 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Redstone to the player
- add {@pkt_redstone} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bRedstone &6! Otrzymujesz &7+5 &6pkt !"
- else:
- give 2 Redstone to the player
- add {@pkt_redstone} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bRedstone &6! Otrzymujesz &7+5 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Redstone to the player
- add {@pkt_redstone} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bRedstone &6! Otrzymujesz &7+5 &6pkt !"
- else:
- chance of 33%:
- give 2 Redstone to the player
- add {@pkt_redstone} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bRedstone &6! Otrzymujesz &7+5 &6pkt !"
- else:
- give 3 Redstone to the player
- add {@pkt_redstone} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bRedstone &6! Otrzymujesz &7+5 &6pkt !"
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Redstone to the player
- add {@pkt_redstone} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bRedstone &6! Otrzymujesz &7+5 &6pkt !"
- else:
- chance of 25%:
- give 2 Redstone to the player
- add {@pkt_redstone} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bRedstone &6! Otrzymujesz &7+5 &6pkt !"
- else:
- chance of 25%:
- give 3 Redstone to the player
- add {@pkt_redstone} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bRedstone &6! Otrzymujesz &7+5 &6pkt !"
- else:
- chance of 25%:
- give 4 Redstone to the player
- add {@pkt_redstone} to {punkty.%player%}
- send "{@tag} &6Odnalazles &bRedstone &6! Otrzymujesz &7+5 &6pkt !"
- on mine of stone:
- if {cb.%player%} is false:
- set block to air
- cancel event
- stop
- on mine of cobblestone:
- if {cb.%player%} is false:
- cancel event
- stop
- on mine of diamond ore:
- if {mypkt.wlacz} is true:
- cancel event
- set block to air
- send "{@tag} &7Drop z tej rudy jest wylaczony!"
- send "{@tag} &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
- stop
- else:
- stop
- on mine of emerald ore:
- if {mypkt.wlacz} is true:
- cancel event
- set block to air
- send "{@tag} &7Drop z tej rudy jest wylaczony!"
- send "{@tag} &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
- stop
- else:
- stop
- on mine of gold ore:
- if {mypkt.wlacz} is true:
- cancel event
- set block to air
- send "{@tag} &7Drop z tej rudy jest wylaczony!"
- send "{@tag} &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
- stop
- else:
- stop
- on mine of iron ore:
- if {mypkt.wlacz} is true:
- cancel event
- set block to air
- send "{@tag} &7Drop z tej rudy jest wylaczony!"
- send "{@tag} &7Aby zobaczyc % szans na drop wpisz &6/drop&7!"
- stop
- else:
- stop
- on rightclick on sign:
- if line 1 is "&aMy&fPoints":
- if line 2 is "&9Wymiana":
- set {_x} to "%line 3%"
- if {_x} is "w1":
- set line 1 to "&b&l[MP]"
- set line 2 to "&f&lWYMIANA"
- set line 3 to "Punkty: 10000"
- set line 4 to "&aAKTYWOWANO!"
- wait 5 seconds
- stop
- if {_x} is "w2":
- set line 1 to "&b&l[MP]"
- set line 2 to "&f&lWYMIANA"
- set line 3 to "Punkty: 20000"
- set line 4 to "&aAKTYWOWANO!"
- wait 5 seconds
- stop
- if {_x} is "w3":
- set line 1 to "&b&l[MP]"
- set line 2 to "&f&lWYMIANA"
- set line 3 to "Punkty: 30000"
- set line 4 to "&aAKTYWOWANO!"
- wait 5 seconds
- stop
- if {_x} is "w4":
- set line 1 to "&b&l[MP]"
- set line 2 to "&f&lWYMIANA"
- set line 3 to "Punkty: 40000"
- set line 4 to "&aAKTYWOWANO!"
- wait 5 seconds
- stop
- if {_x} is "w5":
- set line 1 to "&b&l[MP]"
- set line 2 to "&f&lWYMIANA"
- set line 3 to "Punkty: 50000"
- set line 4 to "&aAKTYWOWANO!"
- wait 5 seconds
- stop
- if {_x} is "w6":
- set line 1 to "&b&l[MP]"
- set line 2 to "&f&lWYMIANA"
- set line 3 to "Punkty: 60000"
- set line 4 to "&aAKTYWOWANO!"
- wait 5 seconds
- stop
- if {_x} is "w7":
- set line 1 to "&b&l[MP]"
- set line 2 to "&f&lWYMIANA"
- set line 3 to "Punkty: 70000"
- set line 4 to "&aAKTYWOWANO!"
- wait 5 seconds
- stop
- if {_x} is "w8":
- set line 1 to "&b&l[MP]"
- set line 2 to "&f&lWYMIANA"
- set line 3 to "Punkty: 80000"
- set line 4 to "&aAKTYWOWANO!"
- wait 5 seconds
- stop
- if {_x} is "w9":
- set line 1 to "&b&l[MP]"
- set line 2 to "&f&lWYMIANA"
- set line 3 to "Punkty: 90000"
- set line 4 to "&aAKTYWOWANO!"
- wait 5 seconds
- stop
- on rightclick on sign:
- if line 1 is "&b&l[MP]":
- if line 2 is "&f&lWYMIANA":
- if {punkty.%player%} is greater than {@w1}:
- set {_x} to {@w1}
- remove {_x} from {punkty.%player%}
- give {@w1_n1} to player
- send "{@tag} &7Wymieniles swoje punkty kopania na nagrode!"
- stop
- if {punkty.%player%} is greater than {@w2}:
- set {_x} to {@w2}
- remove {_x} from {punkty.%player%}
- give {@w2_n2} to player
- send "{@tag} &7Wymieniles swoje punkty kopania na nagrode!"
- stop
- if {punkty.%player%} is greater than {@w3}:
- set {_x} to {@w3}
- remove {_x} from {punkty.%player%}
- give {@w3_n3} to player
- send "{@tag} &7Wymieniles swoje punkty kopania na nagrode!"
- stop
- if {punkty.%player%} is greater than {@w4}:
- set {_x} to {@w4}
- remove {_x} from {punkty.%player%}
- give {@w4_n4} to player
- send "{@tag} &7Wymieniles swoje punkty kopania na nagrode!"
- stop
- if {punkty.%player%} is greater than {@w5}:
- set {_x} to {@w5}
- remove {_x} from {punkty.%player%}
- give {@w5_n5} to player
- send "{@tag} &7Wymieniles swoje punkty kopania na nagrode!"
- stop
- if {punkty.%player%} is greater than {@w6}:
- set {_x} to {@w6}
- remove {_x} from {punkty.%player%}
- give {@w6_n6} to player
- send "{@tag} &7Wymieniles swoje punkty kopania na nagrode!"
- stop
- if {punkty.%player%} is greater than {@w7}:
- set {_x} to {@w7}
- remove {_x} from {punkty.%player%}
- give {@w7_n7} to player
- send "{@tag} &7Wymieniles swoje punkty kopania na nagrode!"
- stop
- if {punkty.%player%} is greater than {@w8}:
- set {_x} to {@w8}
- remove {_x} from {punkty.%player%}
- give {@w8_n8} to player
- send "{@tag} &7Wymieniles swoje punkty kopania na nagrode!"
- stop
- if {punkty.%player%} is greater than {@w9}:
- set {_x} to {@w9}
- remove {_x} from {punkty.%player%}
- give {@w9_n9} to player
- send "{@tag} &7Wymieniles swoje punkty kopania na nagrode!"
- stop
- command /mypkt [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- send "&9-=-=-=-=-=- {@nazwa} &9-=-=-=-=-=-"
- send "&a/mypkt autor &b- autor skryptu"
- send "&a/mypkt daj [nick] &b- daje danemu graczowi 5000 punktow"
- send "&a/mypkt sprawdz [nick] &b- sprawdza statystyki danego gracza"
- send "&a/mypkt resetuj [nick] &b- resetuje punkty graczowi"
- send "&a/mypkt wlacz &b- wlacza skrypt"
- send "&a/mypkt wylacz &b- wylacza skrypt"
- send "&a/myexp wlacz &b- wlacza drop expa"
- send "&a/myexp wylacz &b- wylacza drop expa"
- send "&9-=-=-=-=-=- {@nazwa} &9-=-=-=-=-=-"
- stop
- if arg 1 is "wlacz":
- if {mypkt.wlacz} is false:
- if has permissions "mypkt.wlacz":
- set {mypkt.wlacz} to true
- send "&cWlaczyles skrypt !"
- else:
- send "&cNie masz na to pozwolenia !"
- else:
- send "&cNie mozesz tego wykonac poniewaz skrypt jest juz wlaczony !"
- stop
- if arg 1 is "wylacz":
- if {mypkt.wlacz} is true:
- if has permissions "mypkt.wylacz":
- set {mypkt.wlacz} to false
- send "&cWylaczyles skrypt !"
- else:
- send "&cNie masz na to pozwolenia !"
- else:
- send "&cNie mozesz tego zrobic poniewaz skrypt jest wylaczony !"
- stop
- if arg 1 is "sprawdz":
- if arg 2 is not empty:
- send "&3Sprawdzasz statystyki od &e%arg 2%"
- send "&9* &bPunkty kopania: &e%{punkty.%arg 2%}%"
- send "&9* &bMaksymalna ilosc punktow to &e100000"
- stop
- if arg 1 is "resetuj":
- if arg 2 is not empty:
- if has permissions "mypkt.resetuj":
- set {punkty.%arg 2%} to 0
- send "&cZresetowales punkty graczowi &a%arg 2%"
- else:
- send "&cNie masz pozwolenia na uzywanie tej komendy !"
- stop
- if arg 1 is "autor":
- send "&9-=-=-=-=-=- {@nazwa} &9-=-=-=-=-=-"
- send "&aAutor - {@autor}"
- send "&aWersja - {@wersja}"
- send "&9-=-=-=-=-=- {@nazwa} &9-=-=-=-=-=-"
- stop
- if arg 1 is "daj":
- if arg 2 is not empty:
- if player has permission "mypkt.daj":
- add 5000 to {punkty.%arg 2%}
- send "&aDodales graczowi &7%arg 2% &a5000 punktow!"
- else:
- send "&cNie masz pozwolenia na uzywanie tej komendy !"
- stop
- command /myexp [<text>]:
- trigger:
- if arg 1 is "wlacz":
- if {myexp.wlacz} is false:
- if has permissions "myexp.wlacz":
- set {mypkt.wlacz} to true
- send "&cWlaczyles drop expa !"
- else:
- send "&cNie masz na to pozwolenia !"
- else:
- send "&cNie mozesz tego wykonac poniewaz exp jest juz wlaczony !"
- stop
- if arg 1 is "wylacz":
- if {myexp.wlacz} is true:
- if has permissions "myexp.wylacz":
- set {mypkt.wlacz} to false
- send "&cWylaczyles drop expa !"
- else:
- send "&cNie masz na to pozwolenia !"
- else:
- send "&cNie mozesz tego zrobic poniewaz exp jest wylaczony !"
- stop
- command /drop:
- trigger:
- send ""
- send "&aEnderperla - &7{@szansa_perla}%"
- send "&aDiament - &7{@szansa_diax}%"
- send "&aZloto - &7{@szansa_zloto}%"
- send "&aZelazo - &7{@szansa_zelazo}%"
- send "&aRedstone - &7{@szansa_redstone}%"
- send "&aObydian - &7{@szansa_obsydian}%"
- send "&aEmerald - &7{@szansa_emerald}%"
- send "&aWegiel - &7{@szansa_wegiel}%"
- send ""
- command /cobble:
- trigger:
- if {cb.%player%} is true:
- set {cb.%player%} to false
- send "{@tag} &bWylaczyles drop cobblestone!"
- stop
- if {cb.%player%} is false:
- set {cb.%player%} to true
- send "{@tag} &bWlaczyles drop cobblestone!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment