Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- ydiax: 20
- procentdiax: 6.0
- yemerald: 20
- procentemerald: 4.0
- yzloto: 30
- procentzloto: 8.0
- yzelazo: 40
- procentzelazo: 9.0
- ywegiel: 50
- procentwegiel: 5.4
- ystring: 20
- procentstring: 0.5
- yredstone: 20
- procentredstone: 7.0
- yapple: 20
- procentapple: 0.3
- yenderpearl: 10
- procentenderpearl: 0.1
- ytnt: 20
- procenttnt: 1.0
- yobsydian: 30
- procentobsydian: 4.0
- tag: &a[Skript]&6
- #<--> Drop Gracza<-->#
- on break of stone:
- if player has permission "kondidrop.gracz":
- chance of {@procentdiax}:
- if block's y-coordinate is smaller than {@ydiax}:
- add 1 diamond to the player
- message "&6Trafiles na: &bDiament&6!"
- chance of {@procentzloto}:
- if block's y-coordinate is smaller than {@yzloto}:
- add 1 gold ore to the player
- message "&6Trafiles na: &eZloto&6!"
- chance of {@procentemerald}:
- if block's y-coordinate is smaller than {@yemerald}:
- add 1 emerald to the player
- message "&6Trafiles na: &2Emerald&6!"
- chance of {@procentzelazo}:
- if block's y-coordinate is smaller than {@yzelazo}:
- add 1 iron ore to the player
- message "&6Trafiles na: &fZelazo&6!"
- chance of {@procentwegiel}:
- if block's y-coordinate is smaller than {@ywegiel}:
- drop coal
- add 1 to {wegiel.%player%}
- message "&6Trafiles na: &0Wegiel&6!"
- chance of {@procentstring}:
- if block's y-coordinate is smaller than {@ystring}:
- add 1 string to the player
- message "&6Trafiles na: &fString&6!"
- chance of {@procentredstone}:
- if block's y-coordinate is smaller than {@yredstone}:
- add 1 or 2 or 3 or 4 to the player
- message "&6Trafiles na: &4Redstone&6!"
- chance of {@procentapple}:
- if block's y-coordinate is smaller than {@yapple}:
- add 1 or 2 apple to the player
- message "&6Trafiles na: &cJablko&6!"
- chance of {@procentobsydian}:
- if block's y-coordinate is smaller than {@yobsydian}:
- add 1 obsidian to the player
- message "&6Trafiles na: &aObsydian&6!"
- #<--> Blokada Dropu z rud <-->#
- on mine of any ore:
- cancel event
- set block to air
- send "{@tag} Ten surowiec jest zablokowany ! Wpisz /stone aby dowiedziec sie wiecej"
- #<--> Komendy <-->#
- command /stone:
- aliases: kamien, drop
- trigger:
- show "s;1;i;diamont;n;&bDiament;&7Szansa 6.0" with 1 rows named "{@tag}" to player
- show "s;2;i;emerald;n;&6Szmaragd;l;&7Szansa 4.0" with 1 rows named "{@tag}" to player
- show "s;3;i;gold ingot;n;&6Zloto;l;&7Szansa 8.0" with 1 rows named "{@tag}" to player
- show "s;4;i;iron ingot;n;&fZelazo;l;&7Szansa 9.0" with 1 rows named "{@tag}" to player
- show "s;5;i;redstone;n;&4Redstone;l;&7Szansa 7.0" with 1 rows named "{@tag}" to player
- show "s;6;i;coal;n;&0Wegiel;&7Szansa 5.0" with 1 rows named "{@tag}" to player
- show "s;7;i;ender pearl;n;&3Perla Endermana;l;&7Szansa 0.1" with 1 rows named "{@tag}" to player
- show "s;8;i;tnt;n;&4T&cN&4T;l;&7Szansa 1.0" with 1 rows named "{@tag}" to player
- show "s;1;i;apple;n;&aJablko;l;&7Szansa 0.3" with 2 rows named "{@tag}" to player
- show "s;2;i;obsidian;n;&5Obsydian;l;&7Szansa 4.0" with 2 rows named "{@tag}" to player
Advertisement
Add Comment
Please, Sign In to add comment