Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {mys.wlacz} = false
- {myexp.wlacz} = true
- {cb.%player%} = true
- {drop.redstone} = true
- {drop.diax} = true
- {drop.emerald} = true
- {drop.zloto} = true
- {drop.zelazo} = true
- {drop.lapis} = true
- {drop.wegiel} = true
- options:
- #===============================#
- tag: &e»
- sufix: &e«
- #===============================#
- szansa_lapis: 0.5
- szansa_diax: 0.7
- szansa_emerald: 1.2
- szansa_zloto: 1.5
- szansa_zelazo: 2
- szansa_wegiel: 3
- szansa_redstone: 4
- szansa_exp: 75
- #===============================#
- vip_szansa_lapis: 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_redstone: 4.3
- vip_szansa_exp: 85
- #===============================#
- #===============================#
- #-\/-\/-\/-Zakaz Zmieniania !-\/-\/-\/-#
- nazwa: &eMyPoints
- autor: &eTheBlooes
- wersja: &ev1.1
- #-/\-/\-/\-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 {drop.redstone} 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!"
- else:
- cancel event
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if {drop.diax} 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!"
- else:
- cancel event
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if {drop.emerald} 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!"
- else:
- cancel event
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if {drop.zloto} 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!"
- else:
- cancel event
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if {drop.zelazo} 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!"
- else:
- cancel event
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if {drop.wegiel} 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!"
- else:
- cancel event
- on mine of stone:
- if has permissions "mys.drop":
- if {mys.wlacz} is true:
- if {drop.lapis} is true:
- if player's gamemode is survival:
- chance of {@vip_szansa_lapis}%:
- if player's tool is pickaxe of fortune 0:
- give lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- give 2 lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- chance of 33%:
- give 2 lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- give 3 lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- chance of 25%:
- give 2 lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- chance of 25%:
- give 3 lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- chance of 25%:
- give 4 lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- cancel event
- 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 {drop.diax} is true:
- 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!"
- else:
- cancel event
- on mine of stone:
- if {drop.emerald} is true:
- 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!"
- else:
- cancel event
- on mine of stone:
- if {drop.zloto} is true:
- 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!"
- else:
- cancel event
- on mine of stone:
- if {drop.zelazo} is true:
- 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!"
- else:
- cancel event
- on mine of stone:
- if {drop.wegiel} is true:
- 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!"
- else:
- cancel event
- on mine of stone:
- if {drop.Lapis} is true:
- if {mys.wlacz} is true:
- if player's gamemode is survival:
- chance of {@szansa_lapis}%:
- if player's tool is pickaxe of fortune 0:
- give lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- if player's tool is pickaxe of fortune 1:
- chance of 50%:
- give lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- give 2 lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- if player's tool is pickaxe of fortune 2:
- chance of 33%:
- give lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- chance of 33%:
- give 2 lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- give 3 lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- if player's tool is pickaxe of fortune 3:
- chance of 25%:
- give lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- chance of 25%:
- give 2 lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- chance of 25%:
- give 3 lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- chance of 25%:
- give 4 lapis lazuli to the player
- send "{@tag} &6Odnalazles &bLapis &6!"
- else:
- cancel event
- on mine of stone:
- if {drop.redstone} is true:
- 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!"
- else:
- cancel event
- 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 zobaczycszanse 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 zobaczycszanse 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 zobaczycszanse 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 szanse 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 zobaczycszanse na drop wpisz &6/drop&7!"
- 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 /stonee [<text>]:
- trigger:
- if arg 1 is not set:
- send "{@tag} &aPoprawne uzycie :"
- send "{@tag} &a- &7/stonee gracz"
- send "{@tag} &a- &7/stonee vip"
- else:
- if arg 1 is "gracz":
- send ""
- send "{@tag} &7Drop Gracza {@sufix}"
- send "&aDiament - &7{@szansa_diax}%%"
- send "&aZloto - &7{@szansa_zloto}%%"
- send "&aZelazo - &7{@szansa_zelazo}%%"
- send "&aRedstone - &7{@szansa_redstone}%%"
- send "&aLapis - &7{@szansa_lapis}%%"
- send "&aEmerald - &7{@szansa_emerald}%%"
- send "&aWegiel - &7{@szansa_wegiel}%%"
- send "{@tag} &7Drop Gracza {@sufix}"
- send ""
- else:
- if arg 1 is "vip":
- send ""
- send "{@tag} &bDrop Vipa {@sufix}"
- send "&aDiament - &7{@vip_szansa_diax}%%"
- send "&aZloto - &7{@vip_szansa_zloto}%%"
- send "&aZelazo - &7{@vip_szansa_zelazo}%%"
- send "&aRedstone - &7{@vip_szansa_redstone}%%"
- send "&aLapis - &7{@vip_szansa_lapis}%%"
- send "&aEmerald - &7{@vip_szansa_emerald}%%"
- send "&aWegiel - &7{@vip_szansa_wegiel}%%"
- send "{@tag} &bDrop Vipa {@sufix}"
- 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
- command /stone:
- trigger:
- open chest with 3 rows named "&4»&2Drop&4«" to player
- wait 1 tick
- format slot 10 of player with 1 of diamond named "&bDiament" with lore "&4» &6Szansa Gracz:&7 {@szansa_diax}%%||&4» &6Szansa Vip:&7 {@vip_szansa_diax}%%||&4» &8/wdrop &7Wylaczenie dropu" to be unstealable
- format slot 11 of player with 1 of emerald named "&bSzmaragd" with lore "&4» &6Szansa Gracz:&7 {@szansa_emerald}%%||&4» &6Szansa Vip:&7 {@vip_szansa_emerald}%%||&4» &8/wdrop &7Wylaczenie dropu" to be unstealable
- format slot 12 of player with 1 of gold ingot named "&bZloto" with lore "&4» &6Szansa Gracz:&7 {@szansa_zloto}%%||&4» &6Szansa Vip:&7 {@vip_szansa_zloto}%%||&4» &8/wdrop &7Wylaczenie dropu" to be unstealable
- format slot 13 of player with 1 of iron ingot named "&bZelazo" with lore "&4» &6Szansa Gracz:&7 {@szansa_zelazo}%%||&4» &6Szansa Vip:&7 {@vip_szansa_zelazo}%%||&4» &8/wdrop &7Wylaczenie dropu" to be unstealable
- format slot 14 of player with 1 of 263 named "&bWegiel" with lore "&4» &6Szansa Gracz:&7 {@szansa_wegiel}%%||&4» &6Szansa Vip:&7 {@vip_szansa_wegiel}%%||&4» &8/wdrop &7Wylaczenie dropu" to be unstealable
- format slot 15 of player with 1 of redstone dust named "&bRedstone" with lore "&4» &6Szansa Gracz:&7 {@szansa_redstone}%%||&4» &6Szansa Vip:&7 {@vip_szansa_redstone}%%||&4» &8/wdrop &7Wylaczenie dropu" to be unstealable
- format slot 16 of player with 1 of lapis lazuli named "&bLapis" with lore "&4» &6Szansa Gracz:&7 {@szansa_lapis}%%||&4» &6Szansa Vip:&7 {@vip_szansa_lapis}%%||&4» &8/wdrop &7Wylaczenie dropu" to be unstealable
- command /wdrop [<text>]:
- trigger:
- if arg 1 is not set:
- send "&4--> &cWylaczanie dropu &4<--"
- send "&7Poprawne uzycie:"
- send "{@tag} &b/wdrop diament"
- send "{@tag} &b/wdrop wegiel"
- send "{@tag} &b/wdrop redstone"
- send "{@tag} &b/wdrop zelazo"
- send "{@tag} &b/wdrop zloto"
- send "{@tag} &b/wdrop emerald"
- send "{@tag} &b/wdrop lapis"
- if arg 1 is "diament":
- if {drop.diament} is true:
- set {drop.diament} to false
- send "&cWylaczyles drop Diamentow" to player
- stop
- else:
- set {drop.diament} to true
- send "&eWlaczyles drop Diamentow" to player
- stop
- if arg 1 is "wegiel":
- if {drop.wegiel} is true:
- set {drop.wegiel} to false
- send "&cWylaczyles drop Wegla" to player
- stop
- else:
- set {drop.wegiel} to true
- send "&eWlaczyles drop Wegla" to player
- stop
- if arg 1 is "redstone":
- if {drop.redstone} is true:
- set {drop.redstone} to false
- send "&cWylaczyles drop Redstona" to player
- stop
- else:
- set {drop.redstone} to true
- send "&eWlaczyles drop Redstona" to player
- stop
- if arg 1 is "zelazo":
- if {drop.zelazo} is true:
- set {drop.zelazo} to false
- send "&cWylaczyles drop Zelaza" to player
- stop
- else:
- set {drop.zelazo} to true
- send "&eWlaczyles drop Zelaza" to player
- stop
- if arg 1 is "zloto":
- if {drop.zloto} is true:
- set {drop.zloto} to false
- send "&cWylaczyles drop Zlota" to player
- stop
- else:
- set {drop.zloto} to true
- send "&eWlaczyles drop Zlota" to player
- stop
- if arg 1 is "emerald":
- if {drop.emerald} is true:
- set {drop.emerald} to false
- send "&cWylaczyles drop Emeraldow" to player
- stop
- else:
- set {drop.emerald} to true
- send "&eWlaczyles drop Emeraldow" to player
- stop
- if arg 1 is "lapis":
- if {drop.lapis} is true:
- set {drop.lapis} to false
- send "&cWylaczyles drop Lapisu" to player
- stop
- else:
- set {drop.lapis} to true
- send "&eWlaczyles drop Lapisu" to player
- stop
Advertisement
Add Comment
Please, Sign In to add comment