Advertisement
Yando

Untitled

Dec 7th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.23 KB | None | 0 0
  1. variables:
  2. {lvl.%player%} = 0
  3. {xp.%player%} = 0
  4.  
  5.  
  6. options:
  7. #-----------------------------------Log-------------------------------------
  8. log: &8[&6System&8] &7&l|
  9. #---------------------------------------------------------------------------
  10.  
  11. #---------------------------------------------------------------------------
  12. #-----------------------------------Types-----------------------------------
  13. playerleveling: true
  14. #---------------------------------------------------------------------------
  15.  
  16. #---------------------------------------------------------------------------
  17. #---------------------------------PLeveling---------------------------------
  18. xpforlvlup: 500
  19. maxlvl: 500
  20. #---------------------------------------------------------------------------
  21.  
  22. on any movement:
  23. if {@playerleveling} is true:
  24. if {xp.%player%} is greater or equal to {@xpforlvlup}:
  25. if {lvl.%player%} is greater or equal to {@maxlvl}:
  26. stop
  27. else:
  28. remove {@xpforlvlup} from {xp.%player%}
  29. add 1 to {lvl.%player%}
  30. send "{@log} &e&lレベルUP!現在の&a&lLV: &b%{lvl.%player%}%" to player
  31. stop
  32.  
  33.  
  34.  
  35.  
  36. command /status [<offline player>]:
  37. trigger:
  38. if arg-1 is not set:
  39. send "&f"
  40. send " &6%player%&f-&estatus"
  41. send "&6--------------------"
  42. send "&bLV:%{lvl.%player%}% "
  43. send "&aXP:%{xp.%player%}% "
  44. send "&eLVUP:{@xpforlvlup}"
  45. send "&6--------------------"
  46. send "&f"
  47. if arg-1 is set:
  48. send "&f"
  49. send " &6%arg-1%&f-&estatus"
  50. send "&6--------------------"
  51. send "&bLV:%{lvl.%arg-1%}% "
  52. send "&aXP:%{xp.%arg-1%}% "
  53. send "&eLVUP:{@xpforlvlup}"
  54. send "&6--------------------"
  55. send "&f"
  56.  
  57. on rightclick with wooden_hoe on wheat:7:
  58. chance of 100%:
  59. drop 1 wheat
  60. add 1 to {xp.%player%}
  61. chance of 50%:
  62. drop 1 wheat
  63. chance of 1%:
  64. drop 5 wheat
  65.  
  66. on rightclick with stone_hoe on wheat:7:
  67. chance of 100%:
  68. drop 1 wheat
  69. add 2 to {xp.%player%}
  70. chance of 66%:
  71. drop 1 wheat
  72. chance of 33%:
  73. drop 2 wheat
  74. chance of 1%:
  75. drop 6 wheat
  76.  
  77. on rightclick with iron_hoe on wheat:7:
  78. chance of 100%:
  79. drop 1 wheat
  80. add 3 to {xp.%player%}
  81. chance of 75%:
  82. drop 2 wheat
  83. chance of 50%:
  84. drop 2 wheat
  85. chance of 25%:
  86. drop 3 wheat
  87. chance of 1%:
  88. drop 7 wheat
  89.  
  90. on rightclick with diamond_hoe on wheat:7:
  91. chance of 100%:
  92. drop 1 wheat
  93. add 4 to {xp.%player%}
  94. chance of 75%:
  95. drop 2 wheat
  96. chance of 50%:
  97. drop 3 wheat
  98. chance of 25%:
  99. drop 4 wheat
  100. chance of 1%:
  101. drop 8 wheat
  102.  
  103. on rightclick with golden_hoe on wheat:7:
  104. chance of 100%:
  105. drop 2 wheat
  106. add 5 to {xp.%player%}
  107. chance of 75%:
  108. drop 3 wheat
  109. chance of 50%:
  110. drop 4 wheat
  111. chance of 25%:
  112. drop 5 wheat
  113. chance of 1%:
  114. drop 10 wheat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement