Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {maxpkt.%player%} = true
- {mys.wlacz} = false
- {myexp.wlacz} = true
- {cb.%player%} = true
- options:
- #===============================#
- tag: &e»
- #===============================#
- szansa_perla: 0.5
- szansa_diax: 0.7
- szansa_emerald: 1.2
- szansa_zloto: 1.5
- szansa_zelazo: 2
- szansa_wegiel: 3
- szansa_obsydian: 0.5
- szansa_redstone: 4
- szansa_exp: 75
- #===============================#
- vip_szansa_perla: 0.8
- vip_szansa_diax: 1
- vip_szansa_emerald: 1.5
- vip_szansa_zloto: 1.8
- vip_szansa_zelazo: 2.3
- vip_szansa_wegiel: 3.3
- vip_szansa_obsydian: 0.8
- vip_szansa_redstone: 4.3
- vip_szansa_exp: 85
- #===============================#
- #===============================#
- #-\/-\/-\/-Zakaz Zmieniania !-\/-\/-\/-#
- nazwa: &eMyPoints # Nazwa skryptu
- autor: &eTheBlooes # Autor skryptu
- wersja: &ev1.1 # Wersja skryptu
- #-/\-/\-/\-Zakaz Zmieniania !-/\-/\-/\-#
- #============= Permissie =============#
- # mys.vip - drop vipa #
- # mys.wlacz - wlaczanie skryptu #
- # mys.wylacz - wylaczanie skryptu #
- # myexp.wlacz - wlaczanie dropu expa #
- # myexp.wylacz - wylaczanie dropu expa#
- #============= Permissie =============#
- #-----------#
- #Kod skryptu#
- #-----------#
- on mine of stone:
- if has permissions "mys.drop":
- if {myexp.wlacz} is true:
- if player's gamemode is survival:
- chance of {@vip_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 has permissions "mys.drop":
- if {mys.wlacz} is true:
- if player's gamemode is survival:
- chance of {@vip_szansa_perla}%:
- if player's tool is pickaxe of fortune 0:
- give ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- give 2 ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- chance of 33%:
- give 2 ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- give 3 ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- chance of 25%:
- give 2 ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- chance of 25%:
- give 3 ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- chance of 25%:
- give 4 ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if player's gamemode is survival:
- chance of {@vip_szansa_diax}%:
- if player's tool is pickaxe of fortune 0:
- give diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- give 2 diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- chance of 33%:
- give 2 diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- give 3 diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- chance of 25%:
- give 2 diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- chance of 25%:
- give 3 diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- chance of 25%:
- give 4 diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if player's gamemode is survival:
- chance of {@vip_szansa_emerald}%:
- if player's tool is pickaxe of fortune 0:
- give emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- give 2 emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- chance of 33%:
- give 2 emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- give 3 emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- chance of 25%:
- give 2 emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- chance of 25%:
- give 3 emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- chance of 25%:
- give 4 emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if player's gamemode is survival:
- chance of {@vip_szansa_zloto}%:
- if player's tool is pickaxe of fortune 0:
- give Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- give 2 Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- chance of 33%:
- give 2 Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- give 3 Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- chance of 25%:
- give 2 Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- chance of 25%:
- give 3 Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- chance of 25%:
- give 4 Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if player's gamemode is survival:
- chance of {@vip_szansa_zelazo}%:
- if player's tool is pickaxe of fortune 0:
- give Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- give 2 Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- chance of 33%:
- give 2 Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- give 3 Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- chance of 25%:
- give 2 Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- chance of 25%:
- give 3 Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- chance of 25%:
- give 4 Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if player's gamemode is survival:
- chance of {@vip_szansa_wegiel}%:
- if player's tool is pickaxe of fortune 0:
- give Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- give 2 Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- chance of 33%:
- give 2 Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- give 3 Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- chance of 25%:
- give 2 Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- chance of 25%:
- give 3 Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- chance of 25%:
- give 4 Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if player's gamemode is survival:
- chance of {@vip_szansa_obsydian}%:
- if player's tool is pickaxe of fortune 0:
- give Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- give 2 Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- chance of 33%:
- give 2 Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- give 3 Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- chance of 25%:
- give 2 Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- chance of 25%:
- give 3 Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- chance of 25%:
- give 4 Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if player's gamemode is survival:
- chance of {@vip_szansa_redstone}%:
- if player's tool is pickaxe of fortune 0:
- give Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!"
- else:
- give 2 Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!"
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!"
- else:
- chance of 33%:
- give 2 Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!"
- else:
- give 3 Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!"
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!
- else:
- chance of 25%:
- give 2 Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!
- else:
- chance of 25%:
- give 3 Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!
- else:
- chance of 25%:
- give 4 Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!
- 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 {mys.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
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- give 2 ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- chance of 33%:
- give 2 ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- give 3 ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- chance of 25%:
- give 2 ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- chance of 25%:
- give 3 ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- else:
- chance of 25%:
- give 4 ender pearl to the player
- send "{@tag} &6Odnalazles &bEnder Perle &6!
- on mine of stone:
- if {mys.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
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- give 2 diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- chance of 33%:
- give 2 diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- give 3 diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- chance of 25%:
- give 2 diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- chance of 25%:
- give 3 diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- else:
- chance of 25%:
- give 4 diamond to the player
- send "{@tag} &6Odnalazles &bDiament &6!
- on mine of stone:
- if {mys.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
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- give 2 emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- chance of 33%:
- give 2 emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- give 3 emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- chance of 25%:
- give 2 emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- chance of 25%:
- give 3 emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- else:
- chance of 25%:
- give 4 emerald to the player
- send "{@tag} &6Odnalazles &bEmerald &6!
- on mine of stone:
- if {mys.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
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- give 2 Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- chance of 33%:
- give 2 Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- give 3 Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- chance of 25%:
- give 2 Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- chance of 25%:
- give 3 Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- else:
- chance of 25%:
- give 4 Gold Ingot to the player
- send "{@tag} &6Odnalazles &bZloto &6!
- on mine of stone:
- if {mys.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
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- give 2 Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- chance of 33%:
- give 2 Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- give 3 Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- chance of 25%:
- give 2 Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- chance of 25%:
- give 3 Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- else:
- chance of 25%:
- give 4 Iron Ingot to the player
- send "{@tag} &6Odnalazles &bZelazo &6!
- on mine of stone:
- if {mys.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
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- give 2 Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- chance of 33%:
- give 2 Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- give 3 Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- chance of 25%:
- give 2 Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- chance of 25%:
- give 3 Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- else:
- chance of 25%:
- give 4 Coal to the player
- send "{@tag} &6Odnalazles &bWegiel &6!
- on mine of stone:
- if {mys.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
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- give 2 Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- chance of 33%:
- give 2 Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- give 3 Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- chance of 25%:
- give 2 Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- chance of 25%:
- give 3 Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- else:
- chance of 25%:
- give 4 Obsidian to the player
- send "{@tag} &6Odnalazles &bObsydian &6!
- on mine of stone:
- if {mys.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
- send "{@tag} &6Odnalazles &bRedstone &6!
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!"
- else:
- give 2 Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!"
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!"
- else:
- chance of 33%:
- give 2 Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!"
- else:
- give 3 Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!"
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!
- else:
- chance of 25%:
- give 2 Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!
- else:
- chance of 25%:
- give 3 Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!
- else:
- chance of 25%:
- give 4 Redstone to the player
- send "{@tag} &6Odnalazles &bRedstone &6!
- on mine of diamond ore:
- if {mys.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 {mys.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 {mys.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 {mys.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 redstone ore:
- if {mys.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
- else:
- stop
- command /mys [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- send "&9-=-=-=-=-=- {@nazwa} &9-=-=-=-=-=-"
- send "&a/mys autor &b- autor skryptu"
- send "&a/mys wlacz &b- wlacza skrypt"
- send "&a/mys 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 {mys.wlacz} is false:
- if has permissions "mys.wlacz":
- set {mys.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 {mys.wlacz} is true:
- if has permissions "mys.wylacz":
- set {mys.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 "autor":
- send "&9-=-=-=-=-=- {@nazwa} &9-=-=-=-=-=-"
- send "&aAutor - {@autor}"
- send "&aWersja - {@wersja}"
- send "&9-=-=-=-=-=- {@nazwa} &9-=-=-=-=-=-"
- stop
- command /myexp [<text>]:
- trigger:
- if arg 1 is "wlacz":
- if {myexp.wlacz} is false:
- if has permissions "myexp.wlacz":
- set {mys.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 {mys.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
- on load:
- if file "plugins/Skript/scripts/MyStone.sk" doesn't exists:
- send "&4Nie znaleziono skryptu MyStone." to console
- send "&2Pobieranie...." to console
- download from "http://pastebin.com/raw.php?i=r2wtn1kv" to "plugins/Skript/scripts/MyStone.sk"
- execute console command "sk reload MyStone"
Advertisement
Add Comment
Please, Sign In to add comment