Advertisement
Guest User

MaxDropFB

a guest
Nov 26th, 2014
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1.  
  2. # Name: MaxDropFB
  3. # Author: MaxTheFuck
  4. # Version: 1.0
  5. # Main: pl.maxthefuck.maxdropfb
  6.  
  7.  
  8. # Informacje o skrypcie
  9.  
  10. #=======================#
  11. # Skrypt jest na serwery FreeBuild #
  12. # Mam nadzieje ze sie podoba #
  13. #==================================#
  14.  
  15.  
  16.  
  17. # ZMIENE
  18. variables:
  19. {monety.%player%} = 0
  20.  
  21.  
  22. # OPCJE
  23. options:
  24. diax: 1.8%
  25. zelazo: 3.9%
  26. zloto: 2.7%
  27. szmaragd: 1.9%
  28. wegiel: 2.8%
  29. perla: 1.0%
  30. diamondblock: 1.2%
  31. luckyblock: 1.0%
  32. diamentmessage: &6>> &aWypadl ci diament &7+10 monet &6<<
  33. zelazomessage: &6>> &aWypadl ci zelazo &7+20 monet &6<<
  34. zlotomessage: &6>> &aWypadl ci zloto &7+15 monet &6<<
  35. szmaragdmessage: &6>> &aWypadl ci szmaragd &7+18 monet &6<<
  36. wegielmessage: &6>> &aWypadl ci wegiel &7+12 monet &6<<
  37. perlamessage: &6>> &aWypadl ci perla &7+15 monet &6<<
  38. diamondblockmessage: &6>> &aWypadl ci diamondblock &7+18 monet &6<<
  39. luckyblockmessage: &6>> &aWypadl ci lucykblock &7+19 monet &6<<
  40.  
  41.  
  42. command /stone [<text>]:
  43. aliases: /drop
  44. trigger:
  45. if arg 1 is not set:
  46. send "&9============================"
  47. send "&6>> &aDiament &71.8% &6<<"
  48. send "&6>> &aZelazo 3.9% &6<<"
  49. send "&6>> &aZloto 2.7% &6<<"
  50. send "&6>> &aSzmaragd &71.9% &6<<"
  51. send "&6>> &aWegiel &72.8% &6<<"
  52. send "&6>> &aDiamodnblock &71.2% &6<<"
  53. send "&6>> &aPerla &71.0% &6<<"
  54. send "&6>> &aLuckyblock &71.0% &6<<"
  55. send "&9============================"
  56. send "&aDalsze informacje o dropie pod komenda /stone info"
  57. if arg 1 is "info":
  58. send "&aInformacje o dropie na naszym serwerze"
  59. send "&aSam wiesz ze jest to freebuild."
  60. send "&aWiec drop jest inny."
  61. send "&aNa serwerze jest drop dopasowany."
  62. send "&aJezeli wydobedziesz jakis itemek ze stone wydropi ci losowe monety."
  63. send "&aInformacje o monetach /monety"
  64. command /monety [<text>]:
  65. trigger:
  66. if arg 1 is not set:
  67. send "&9Aktulanie posiadasz &a%{monety.%player%}% monet"
  68. on mine of stone:
  69. chance of {@diax}:
  70. give to a random between 1 and 5 diamond to player
  71. add 10 to {monety.%player%}
  72. send "{@diamentmessage}"
  73. chance of {@zelazo}:
  74. give to a random between 1 and 9 iron ingot to player
  75. add 20 to {monety.%player%}
  76. send "{@zelazomessage}"
  77. chance of {@zloto}:
  78. give to a random between 1 and 10 gold ingot to player
  79. add 15 to {monety.%player%}
  80. send "{@zlotomessage}"
  81. chance of {@szmaragd}:
  82. give to a random between 1 and 15 emerald to player
  83. add 8 to {monety.%player%}
  84. send "{@szmaragdmessage}"
  85. chance of {@wegiel}:
  86. give to a random between 1 and 25 coal to player
  87. add 29 to {monety.%player%}
  88. send "{@wegielmessage}"
  89. chance of {@perla}:
  90. give to a random between 1 and 30 ender pearl to player
  91. add 30 to {monety.%player%}
  92. send "{@perlamessage}"
  93. chance of {diamondblock}:
  94. give to a random between 1 and 40 diamond block to player
  95. add 40 to {monety.%player%}
  96. send "{@diamondblockmessage}"
  97. chance of {luckyblock}:
  98. give to a random between 1 and 50 sponge named "&9Lucky block" to player
  99. add 50 {monety.%player%}
  100. send "{@luckyblockmessage}"
  101.  
  102.  
  103.  
  104. # LUCKY BLOCK
  105.  
  106. on place of sponge:
  107. if player's is tool named "&9Lucky block"
  108. set sponge named "&9Lucky block" to air
  109. chance of 20%:
  110. give 1 diamond block to the player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement