Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #KDROP v.3.0#
- #NIE USUWAJ TEGO#
- variables:
- {message.%player%} = true
- {exp.%player%} = false
- {cobble.%player%} = true
- options:
- nazwa: drop # TU WPISZ NAZWE PLIKU (NP. JAK MASZ KDROP.SK TO TU PISZESZ KDROP)
- #GRACZ
- villager: 0.01
- diamond: 4.5
- gold: 12.00
- iron: 15.00
- emerald: 0.6
- slimeball: 3.00
- sand: 13.00
- string: 1.60
- coal: 21.00
- gunpowder: 6.00
- lapis: 6.00
- redstone: 12.00
- perla: 0.30
- apple: 3.00
- obs: 10
- kwarc: 4.00
- EXP: 20
- #KORDY GRACZ
- vy:20 #villager
- dy:20 #diamenty
- gy:20 #gold
- iy:65 #iron
- ey:20 #emerald
- sly:32 #slimeball
- say:100 #sand
- sty:50 #string
- cy:100 #coal
- guy:100 #gunpowder
- ly:45 #lapis
- ry:20 #redstone
- py:20 #perla
- ay:20 #apple
- ky:20 #kwarc
- obsy: 20 #obsydian
- #VIP
- villagerv:0.02
- diamondv: 9.00
- goldv: 24.00
- ironv: 30.00
- emeraldv: 1.20
- slimeballv: 6.00
- sandv: 26.00
- stringv: 3.2
- coalv: 42.00
- gunpowderv: 12.00
- lapisv: 12.00
- redstonev: 24.00
- perlav: 0.60
- applev: 6.00
- obsv: 20.00
- kwarcv: 8.00
- EXPV: 40
- #KORDY VIP
- vyv:20 #villager
- dyv:20 #diamenty
- gyv:20 #gold
- iyv:65 #iron
- eyv:20 #emerald
- slyv:32 #slimeball
- sayv:100 #sand
- styv:50 #string
- cyv:100 #coal
- guyv:100 #gunpowder
- lyv:45 #lapis
- ryv:20 #redstone
- pyv:20 #perla
- ayv:20 #apple
- kyv:20 #kwarc
- on mine of stone:
- tool is pickaxe:
- player's gamemode is survival
- player has permission "k.drop.gracz":
- give {@EXP} xp to the player
- if player's y-coordinate is less than {@vy}:
- chance of {@villager}%:
- if player can hold 1 villager spawn egg:
- give 1 villager spawn egg to player
- if {message.%player%} is true:
- send "&6Trafiles na: &3Jajko osadnika"
- else:
- drop 1 villager spawn egg
- if {message.%player%} is true:
- send "&6Trafiles na: &3Jajko osadnika"
- if player's y-coordinate is less than {@dy}:
- chance of {@diamond}%:
- if player can hold 1 diamond:
- give 1 diamond to player
- if {message.%player%} is true:
- send "&6Trafiles na: &bDiament"
- else:
- drop 1 diamond
- if {message.%player%} is true:
- send "&6Trafiles na: &bDiament"
- if player's y-coordinate is less than {@gy}:
- chance of {@gold}%:
- if player can hold 1 gold ingot:
- give 1 gold ingot to player
- if {message.%player%} is true:
- send "&6Trafiles na: &6Zloto"
- else:
- drop 1 gold ingot
- if {message.%player%} is true:
- send "&6Trafiles na: &6Zloto"
- if player's y-coordinate is less than {@iy}:
- chance of {@iron}%:
- if player can hold 1 iron ingot:
- give 1 iron ingot to player
- if {message.%player%} is true:
- send "&6Trafiles na: &7Zelazo"
- else:
- drop 1 iron ingot
- if {message.%player%} is true:
- send "&6Trafiles na: &7Zelazo"
- if player's y-coordinate is less than {@ey}:
- chance of {@emerald}%:
- if player can hold 1 emerald:
- give 1 emerald to player
- if {message.%player%} is true:
- send "&6Trafiles na: &2Szmaragd"
- else:
- drop 1 emerald
- if {message.%player%} is true:
- send "&6Trafiles na: &2Szmaragd"
- if player's y-coordinate is less than {@sly}:
- chance of {@slimeball}%:
- if player can hold 1 slimeball:
- give 1 slimeball to player
- if {message.%player%} is true:
- send "&6Trafiles na: &aSzlam"
- else:
- drop 1 slimeball
- if {message.%player%} is true:
- send "&6Trafiles na: &1Szlam"
- if player's y-coordinate is less than {@say}:
- chance of {@sand}%:
- if player can hold 1 sand:
- give 1 sand to player
- if {message.%player%} is true:
- send "&6Trafiles na: &1Piasek"
- else:
- drop 1 sand
- if {message.%player%} is true:
- send "&6Trafiles na: &fPiasek"
- if player's y-coordinate is less than {@sty}:
- chance of {@string}%:
- if player can hold 1 string:
- give 1 string to player
- if {message.%player%} is true:
- send "&6Trafiles na: &fNic"
- else:
- drop 1 string
- if {message.%player%} is true:
- send "&6Trafiles na: &fNic"
- if player's y-coordinate is less than {@cy}:
- chance of {@coal}%:
- if player can hold 1 coal:
- give 1 coal to player
- if {message.%player%} is true:
- send "&6Trafiles na: &8Wegiel"
- else:
- drop 1 coal
- if {message.%player%} is true:
- send "&6Trafiles na: &8Wegiel"
- if player's y-coordinate is less than {@guy}:
- chance of {@gunpowder}%:
- if player can hold 1 gunpowder:
- give 1 gunpowder to player
- if {message.%player%} is true:
- send "&6Trafiles na: &7Proch"
- else:
- drop 1 gunpowder
- if {message.%player%} is true:
- send "&6Trafiles na: &7Proch"
- if player's y-coordinate is less than {@py}:
- chance of {@perla}%:
- if player can hold 1 ender pearl:
- give 1 ender pearl to player
- if {message.%player%} is true:
- send "&6Trafiles na: &9Perle kresu"
- else:
- drop 1 ender pearl
- if {message.%player%} is true:
- send "&6Trafiles na: &9Perle kresu"
- if player's y-coordinate is less than {@ly}:
- chance of {@lapis}%:
- if player can hold 5 lapis lazuli:
- give 2 lapis lazuli to player
- if {message.%player%} is true:
- send "&6Trafiles na: &1Lazuryt"
- else:
- drop 2 lapis lazuli
- if {message.%player%} is true:
- send "&6Trafiles na: &1Lazuryt"
- if player's y-coordinate is less than {@ry}:
- chance of {@redstone}%:
- if player can hold 2 redstone:
- give 2 redstone to player
- if {message.%player%} is true:
- send "&6Trafiles na: &cCzerwony proszek"
- else:
- drop 2 redstone
- if {message.%player%} is true:
- send "&6Trafiles na: &cCzerwony proszek"
- if player's y-coordinate is less than {@ay}:
- chance of {@apple}%:
- if player can hold 1 apple:
- give 1 apple to player
- if {message.%player%} is true:
- send "&6Trafiles na: &cJablko"
- else:
- drop 1 apple
- if {message.%player%} is true:
- send "&6Trafiles na: &cJablko"
- if player's y-coordinate is less than {@obs}:
- chance of {@obs}%:
- if player can hold 1 obsidian:
- give 1 obsidian to player
- if {message.%player%} is true:
- send "&6Trafiles na: &9Obsydian"
- else:
- drop 1 obsidian
- if {message.%player%} is true:
- send "&6Trafiles na: &9Obsydian"
- if player's y-coordinate is less than {@ky}:
- chance of {@kwarc}%:
- if player can hold 1 nether quartz:
- give 1 nether quartz to player
- if {message.%player%} is true:
- send "&6Trafiles na: &fKwarc"
- else:
- drop 1 nether quartz
- if {message.%player%} is true:
- send "&6Trafiles na: &fKwarc"
- player has permission "k.drop.vip":
- give {@EXPV} xp to the player
- if player's y-coordinate is less than {@vyv}:
- chance of {@villagerv}%:
- if player can hold 1 villager spawn egg:
- give 1 villager spawn egg to player
- if {message.%player%} is true:
- send "&6Trafiles na: &3Jajko osadnika"
- else:
- drop 1 villager spawn egg
- if {message.%player%} is true:
- send "&6Trafiles na: &3Jajko osadnika"
- if player's y-coordinate is less than {@dyv}:
- chance of {@diamondv}%:
- if player can hold 1 diamond:
- give 1 diamond to player
- if {message.%player%} is true:
- send "&6Trafiles na: &bDiament"
- else:
- drop 1 diamond
- if {message.%player%} is true:
- send "&6Trafiles na: &bDiament"
- if player's y-coordinate is less than {@gyv}:
- chance of {@goldv}%:
- if player can hold 1 gold ingot:
- give 1 gold ingot to player
- if {message.%player%} is true:
- send "&6Trafiles na: &6Zloto"
- else:
- drop 1 gold ingot
- if {message.%player%} is true:
- send "&6Trafiles na: &6Zloto"
- if player's y-coordinate is less than {@iyv}:
- chance of {@ironv}%:
- if player can hold 1 iron ingot:
- give 1 iron ingot to player
- if {message.%player%} is true:
- send "&6Trafiles na: &7Zelazo"
- else:
- drop 1 iron ingot
- if {message.%player%} is true:
- send "&6Trafiles na: &7Zelazo"
- if player's y-coordinate is less than {@eyv}:
- chance of {@emeraldv}%:
- if player can hold 1 emerald:
- give 1 emerald to player
- if {message.%player%} is true:
- send "&6Trafiles na: &2Szmaragd"
- else:
- drop 1 emerald
- if {message.%player%} is true:
- send "&6Trafiles na: &2Szmaragd"
- if player's y-coordinate is less than {@slyv}:
- chance of {@slimeballv}%:
- if player can hold 1 slimeball:
- give 1 slimeball to player
- if {message.%player%} is true:
- send "&6Trafiles na: &aSzlam"
- else:
- drop 1 slimeball
- if {message.%player%} is true:
- send "&6Trafiles na: &1Szlam"
- if player's y-coordinate is less than {@sayv}:
- chance of {@sandv}%:
- if player can hold 1 sand:
- give 1 sand to player
- if {message.%player%} is true:
- send "&6Trafiles na: &1Piasek"
- else:
- drop 1 sand
- if {message.%player%} is true:
- send "&6Trafiles na: &fPiasek"
- if player's y-coordinate is less than {@styv}:
- chance of {@stringv}%:
- if player can hold 1 string:
- give 1 string to player
- if {message.%player%} is true:
- send "&6Trafiles na: &fNic"
- else:
- drop 1 string
- if {message.%player%} is true:
- send "&6Trafiles na: &fNic"
- if player's y-coordinate is less than {@cyv}:
- chance of {@coalv}%:
- if player can hold 1 coal:
- give 1 coal to player
- if {message.%player%} is true:
- send "&6Trafiles na: &8Wegiel"
- else:
- drop 1 coal
- if {message.%player%} is true:
- send "&6Trafiles na: &8Wegiel"
- if player's y-coordinate is less than {@guyv}:
- chance of {@gunpowderv}%:
- if player can hold 1 gunpowder:
- give 1 gunpowder to player
- if {message.%player%} is true:
- send "&6Trafiles na: &7Proch"
- else:
- drop 1 gunpowder
- if {message.%player%} is true:
- send "&6Trafiles na: &7Proch"
- if player's y-coordinate is less than {@pyv}:
- chance of {@perlav}%:
- if player can hold 1 ender pearl:
- give 1 ender pearl to player
- if {message.%player%} is true:
- send "&6Trafiles na: &9Perle kresu"
- else:
- drop 1 ender pearl
- if {message.%player%} is true:
- send "&6Trafiles na: &9Perle kresu"
- if player's y-coordinate is less than {@lyv}:
- chance of {@lapisv}%:
- if player can hold 5 lapis lazuli:
- give 2 lapis lazuli to player
- if {message.%player%} is true:
- send "&6Trafiles na: &1Lazuryt"
- else:
- drop 2 lapis lazuli
- if {message.%player%} is true:
- send "&6Trafiles na: &1Lazuryt"
- if player's y-coordinate is less than {@ryv}:
- chance of {@redstonev}%:
- if player can hold 2 redstone:
- give 2 redstone to player
- if {message.%player%} is true:
- send "&6Trafiles na: &cCzerwony proszek"
- else:
- drop 2 redstone
- if {message.%player%} is true:
- send "&6Trafiles na: &cCzerwony proszek"
- if player's y-coordinate is less than {@ayv}:
- chance of {@applev}%:
- if player can hold 1 apple:
- give 1 apple to player
- if {message.%player%} is true:
- send "&6Trafiles na: &cJablko"
- else:
- drop 1 apple
- if {message.%player%} is true:
- send "&6Trafiles na: &cJablko"
- if player's y-coordinate is less than {@obsy}:
- chance of {@obsv}%:
- if player can hold 1 obsidian:
- give 1 obsidian to player
- if {message.%player%} is true:
- send "&6Trafiles na: &9Obsydian"
- else:
- drop 1 obsidian
- if {message.%player%} is true:
- send "&6Trafiles na: &9Obsydian"
- if player's y-coordinate is less than {@kyv}:
- chance of {@kwarcv}%:
- if player can hold 1 nether quartz:
- give 1 nether quartz to player
- if {message.%player%} is true:
- send "&6Trafiles na: &fKwarc"
- else:
- drop 1 nether quartz
- if {message.%player%} is true:
- send "&6Trafiles na: &fKwarc"
- on mine of any ore:
- cancel event
- delete event-block
- send "&7Ten blok wypada z stone'a. Aby dowiedziec sie wiecej wpisz &6/drop"
- command /drop [<text="help">] [<text>]:
- trigger:
- if arg 1 is "help":
- send "&7Dostepne komendy:"
- send "&8*&6/drop text on &7- wlacza wiadomosci drop'u na czacie"
- send "&8*&6/drop text off &7- wylacza wiadomosci drop'u na czacie"
- send "&8*&6/drop gracz &7- pokazuje drop dla gracza"
- send "&8*&6/drop vip &7- pokazuje drop dla vip'a"
- send "&8*&6/drop czysc &7-czysci cobblestone z eq"
- send "&8*&6/drop cobble on &7-wlacza drop cobblestone"
- send "&8*&6/drop cobble off &7-wylacza drop cobblestone"
- send "&8*&6/cobblex &7-pokazuje crafting CobbleX'a"
- if arg 1 is "text":
- if arg 2 is "on":
- set {message.%player%} to true
- send "&7Wlaczyles wiadomosci drop'u na czacie."
- if arg 2 is "off":
- set {message.%player%} to false
- send "&7Wylaczyles wiadomosci drop'u na czacie."
- if arg 1 is "czysc":
- remove 2304 cobblestone from player
- send "&7Cobblestone zostal usuniety z twojego eq"
- if arg 1 is "gracz":
- send "&7Drop dla Gracz'a:"
- send "&6Villager"
- send " &7Szansa: &6{@villager}%%"
- send " &7od poziomu {@vy} w dol"
- send "&6Diament"
- send " &7Szansa: &6{@diamond}%%"
- send " &7od poziomu {@dy} w dol"
- send "&6Zloto"
- send " &7Szansa: &6{@gold}%%"
- send " &7od poziomu {@gy} w dol"
- send "&6Zelazo"
- send " &7Szansa: &6{@iron}%%"
- send " &7od poziomu {@iy} w dol"
- send "&6Szmaragd"
- send " &7Szansa: &6{@emerald}%%"
- send " &7od poziomu {@ey} w dol"
- send "&6Szlam"
- send " &7Szansa: &6{@slimeball}%%"
- send " &7od poziomu {@sly} w dol"
- send "&6Piasek"
- send " &7Szansa: &6{@sand}%%"
- send " &7od poziomu {@say} w dol"
- send "&6Nic"
- send " &7Szansa: &6{@string}%%"
- send " &7od poziomu {@sty} w dol"
- send "&6Wegiel"
- send " &7Szansa: &6{@coal}%%"
- send " &7od poziomu {@cy} w dol"
- send "&6Proch"
- send " &7Szansa: &6{@gunpowder}%%"
- send " &7od poziomu {@guy} w dol"
- send "&6Lazuryt"
- send " &7Szansa: &6{@lapis}%%"
- send " &7od poziomu {@ly} w dol"
- send "&6Czerwony proszek"
- send " &7Szansa: &6{@redstone}%%"
- send " &7od poziomu {@ry} w dol"
- send "&6Perla kresu"
- send " &7Szansa: &6{@perla}%%"
- send " &7od poziomu {@py} w dol"
- send "&6Jablko"
- send " &7Szansa: &6{@apple}%%"
- send " &7od poziomu {@ay} w dol"
- send "&6Kwarc"
- send " &7Szansa: &6{@kwarc}%%"
- send " &7od poziomu {@ky} w dol"
- if arg 1 is "vip":
- send "&7Drop dla Vip'a:"
- send "&6Villager"
- send " &7Szansa: &6{@villagerv}%%"
- send " &7od poziomu {@vyv} w dol"
- send "&6Diament"
- send " &7Szansa: &6{@diamondv}%%"
- send " &7od poziomu {@dyv} w dol"
- send "&6Zloto"
- send " &7Szansa: &6{@goldv}%%"
- send " &7od poziomu {@gyv} w dol"
- send "&6Zelazo"
- send " &7Szansa: &6{@ironv}%%"
- send " &7od poziomu {@iyv} w dol"
- send "&6Szmaragd"
- send " &7Szansa: &6{@emeraldv}%%"
- send " &7od poziomu {@eyv} w dol"
- send "&6Szlam"
- send " &7Szansa: &6{@slimeballv}%%"
- send " &7od poziomu {@slyv} w dol"
- send "&6Piasek"
- send " &7Szansa: &6{@sandv}%%"
- send " &7od poziomu {@sayv} w dol"
- send "&6Nic"
- send " &7Szansa: &6{@stringv}%%"
- send " &7od poziomu {@styv} w dol"
- send "&6Wegiel"
- send " &7Szansa: &6{@coalv}%%"
- send " &7od poziomu {@cyv} w dol"
- send "&6Proch"
- send " &7Szansa: &6{@gunpowderv}%%"
- send " &7od poziomu {@guyv} w dol"
- send "&6Lazuryt"
- send " &7Szansa: &6{@lapisv}%%"
- send " &7od poziomu {@lyv} w dol"
- send "&6Czerwony proszek"
- send " &7Szansa: &6{@redstonev}%%"
- send " &7od poziomu {@ryv} w dol"
- send "&6Perla kresu"
- send " &7Szansa: &6{@perlav}%%"
- send " &7od poziomu {@pyv} w dol"
- send "&6Jablko"
- send " &7Szansa: &6{@applev}%%"
- send " &7od poziomu {@ayv} w dol"
- send "&6Kwarc"
- send " &7Szansa: &6{@kwarcv}%%"
- send " &7od poziomu {@kyv} w dol"
- if arg 1 is "cobble":
- if arg 2 is "on":
- set {cobble.%player%} to true
- send "&7Drop z bruku zostal wlaczony"
- if arg 2 is "off":
- set {cobble.%player%} to false
- send "&7Drop z bruku zostal wylaczony"
- on mine of stone:
- if {cobble.%player%} is false:
- cancel event
- set block to air
- drop nothing
- command /cobblex:
- trigger:
- send "&7Crafting CobbleX"
- send ""
- send "&8█ █ █"
- send "&8█ █ █"
- send "&8█ █ █"
- send ""
- send "&8█ - 64 cobblestone"
- on place of cobblestone:
- if name of player's tool is "&ceCobble":
- drop a random item of {cobblelose::*}
- send "&6Zostal ci wydropiony item musisz go podniesc"
- remove cobblestone of sharpness 1 from player
- cancel event
- command /cobblexa [<text="help">] [<items>]:
- permission: k.drop.cobblexa
- trigger:
- argument 1 is "help":
- send "&3/cobblexa add [<Item>] -&bDodanie nowego item'a do losowania."
- send "&3/cobblexa remove [<Item>] -&bUsuwanie item'a z losowania"
- send "&3/cobblexa all -&bUsuwanie wszystkich itemow z losowania"
- send "&3Lista item'ow z losowania:&b %{cobblelose::*}%"
- send "&3Jak dodajesz item musi byc jego nazwa po Angielsku."
- argument 1 is "add":
- if argument 2 is not set:
- send "&3Musisz wpisac nazwe przedmiotu!"
- else:
- add argument 2 to {cobblelose::*}
- send "&3Dodano ' %arg 2% ' do eCobble"
- argument 1 is "remove":
- if argument 2 is not set:
- send "&3Musisz wpisac nazwe przedmiotu!"
- else:
- remove argument 2 from {cobblelose::*}
- send "&3Usunieto ' %arg 2% ' z eCobble"
- argument 1 is "all":
- clear {cobblelose::*}
- send "&3Usunieto wszystko z eCobble"
- on load:
- new Recipe "ecobble"
- "ecobble".Recipe.registerIngredient{1, 64 cobblestone};
- "ecobble".Recipe.registerIngredient{2, 64 cobblestone};
- "ecobble".Recipe.registerIngredient{3, 64 cobblestone};
- "ecobble".Recipe.registerIngredient{4, 64 cobblestone};
- "ecobble".Recipe.registerIngredient{5, 64 cobblestone};
- "ecobble".Recipe.registerIngredient{6, 64 cobblestone};
- "ecobble".Recipe.registerIngredient{7, 64 cobblestone};
- "ecobble".Recipe.registerIngredient{8, 64 cobblestone};
- "ecobble".Recipe.registerIngredient{9, 64 cobblestone};
- "ecobble".Recipe.registerResult{2 cobblestone of sharpness 1 named "&cCobbleX"};
- "ecobble".Recipe.register{};
- on load:
- set {_version} to content of file "plugins/Skript/scripts/{@nazwa}.sk"
- set {_v} to index of "##" in {_version}
- set {_v2} to subtext of {_version} from character ({_v}+1) to character (length of {_version})
- set {_v3} to index of "##" in {_v2}
- set {version} to subtext of {_version} from character ({_v}+1) to character ({_v3})
- set {_version} to result of connect to "http://pastebin.com/raw.php?i=aq51fg9R"
- set {_v} to index of "##" in {_version}
- set {_v2} to subtext of {_version} from character ({_v}+1) to character (length of { version})
- set {_v3} to index of "##" in {_v2}
- set {version.new} to subtext of {_version} from character ({_v}+1) to character ({_v3})
- {version} is not {version.new}:
- send "&7Jest dostepna nowa wersja skryptu! &6&lK-DROP &7Pobierz ja /update pobierz" to the console
- on join:
- if player is op:
- set {_version} to content of file "plugins/Skript/scripts/{@nazwa}.sk"
- set {_v} to index of "##" in {_version}
- set {_v2} to subtext of {_version} from character ({_v}+1) to character (length of {_version})
- set {_v3} to index of "##" in {_v2}
- set {version} to subtext of {_version} from character ({_v}+1) to character ({_v3})
- set {_version} to result of connect to "http://pastebin.com/raw.php?i=aq51fg9R"
- set {_v} to index of "##" in {_version}
- set {_v2} to subtext of {_version} from character ({_v}+1) to character (length of { version})
- set {_v3} to index of "##" in {_v2}
- set {version.new} to subtext of {_version} from character ({_v}+1) to character ({_v3})
- {version} is not {version.new}:
- send "&7Jest dostepna nowa wersja skryptu! &6&lK-DROP &7Pobierz ja /update pobierz"
- command /update [<text="help">]:
- trigger:
- set {_version} to result of connect to "http://pastebin.com/raw.php?i=aq51fg9R"
- set {_v} to index of "##" in {_version}
- set {_v2} to subtext of {_version} from character ({_v}+1) to character (length of {_version})
- set {_v3} to index of "##" in {_v2}
- set {version.new} to subtext of {_version} from character ({_v}+1) to character ({_v3})
- arg 1 is "sprawdz":
- send "&7Twoja wersja to &6%{version}%"
- send "&7Najnowsza wersja to &6%{version.new}%"
- {version} is not {version.new}:
- send "&6Jest dostepna nowa wersja"
- arg 1 is "pobierz":
- {version} is not {version.new}:
- download "http://pastebin.com/raw.php?i=aq51fg9R" to "plugins/Skript/scripts/{@nazwa}.sk"
- send "&6Pobrano najnowsza wersje!"
- else:
- send "&7Masz juz najnowsza wersje skrypta!"
- arg 1 is "help":
- send "&6/update sprawdz - &7sprawdza aktualizacje"
- send "&6/update pobierz - &7pobiera aktualizacje"
- stop
Advertisement
Add Comment
Please, Sign In to add comment