Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Name: MaxDropFB
- # Author: MaxTheFuck
- # Version: 1.0
- # Main: pl.maxthefuck.maxdropfb
- # Informacje o skrypcie
- #=======================#
- # Skrypt jest na serwery FreeBuild #
- # Mam nadzieje ze sie podoba #
- #==================================#
- # ZMIENE
- variables:
- {monety.%player%} = 0
- # OPCJE
- options:
- diax: 1.8%
- zelazo: 3.9%
- zloto: 2.7%
- szmaragd: 1.9%
- wegiel: 2.8%
- perla: 1.0%
- diamondblock: 1.2%
- luckyblock: 1.0%
- diamentmessage: &6>> &aWypadl ci diament &7+10 monet &6<<
- zelazomessage: &6>> &aWypadl ci zelazo &7+20 monet &6<<
- zlotomessage: &6>> &aWypadl ci zloto &7+15 monet &6<<
- szmaragdmessage: &6>> &aWypadl ci szmaragd &7+18 monet &6<<
- wegielmessage: &6>> &aWypadl ci wegiel &7+12 monet &6<<
- perlamessage: &6>> &aWypadl ci perla &7+15 monet &6<<
- diamondblockmessage: &6>> &aWypadl ci diamondblock &7+18 monet &6<<
- luckyblockmessage: &6>> &aWypadl ci lucykblock &7+19 monet &6<<
- command /stone [<text>]:
- aliases: /drop
- trigger:
- if arg 1 is not set:
- send "&9============================"
- send "&6>> &aDiament &71.8% &6<<"
- send "&6>> &aZelazo 3.9% &6<<"
- send "&6>> &aZloto 2.7% &6<<"
- send "&6>> &aSzmaragd &71.9% &6<<"
- send "&6>> &aWegiel &72.8% &6<<"
- send "&6>> &aDiamodnblock &71.2% &6<<"
- send "&6>> &aPerla &71.0% &6<<"
- send "&6>> &aLuckyblock &71.0% &6<<"
- send "&9============================"
- send "&aDalsze informacje o dropie pod komenda /stone info"
- if arg 1 is "info":
- send "&aInformacje o dropie na naszym serwerze"
- send "&aSam wiesz ze jest to freebuild."
- send "&aWiec drop jest inny."
- send "&aNa serwerze jest drop dopasowany."
- send "&aJezeli wydobedziesz jakis itemek ze stone wydropi ci losowe monety."
- send "&aInformacje o monetach /monety"
- command /monety [<text>]:
- trigger:
- if arg 1 is not set:
- send "&9Aktulanie posiadasz &a%{monety.%player%}% monet"
- on mine of stone:
- chance of {@diax}:
- give to a random between 1 and 5 diamond to player
- add 10 to {monety.%player%}
- send "{@diamentmessage}"
- chance of {@zelazo}:
- give to a random between 1 and 9 iron ingot to player
- add 20 to {monety.%player%}
- send "{@zelazomessage}"
- chance of {@zloto}:
- give to a random between 1 and 10 gold ingot to player
- add 15 to {monety.%player%}
- send "{@zlotomessage}"
- chance of {@szmaragd}:
- give to a random between 1 and 15 emerald to player
- add 8 to {monety.%player%}
- send "{@szmaragdmessage}"
- chance of {@wegiel}:
- give to a random between 1 and 25 coal to player
- add 29 to {monety.%player%}
- send "{@wegielmessage}"
- chance of {@perla}:
- give to a random between 1 and 30 ender pearl to player
- add 30 to {monety.%player%}
- send "{@perlamessage}"
- chance of {diamondblock}:
- give to a random between 1 and 40 diamond block to player
- add 40 to {monety.%player%}
- send "{@diamondblockmessage}"
- chance of {luckyblock}:
- give to a random between 1 and 50 sponge named "&9Lucky block" to player
- add 50 {monety.%player%}
- send "{@luckyblockmessage}"
- # LUCKY BLOCK
- on place of sponge:
- if player's is tool named "&9Lucky block"
- set sponge named "&9Lucky block" to air
- chance of 20%:
- give 1 diamond block to the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement