Advertisement
Guest User

Untitled

a guest
Feb 14th, 2017
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. options:
  2.  
  3. #==========================================================#
  4. #
  5. #Mob Achievements
  6. #
  7. #==========================================================#
  8.  
  9. # MOB LIST
  10. Mob: zombie or skeleton or spider or cavespider or wither or creeper or enderman or enderdragon or slime or witch or ghast or silverfish or blaze or bat or pig or cow or chicken or squid or wolf or sheep
  11.  
  12. #Mob Kill
  13. MaxMobKills1: 10000
  14. MaxMobKills2: 50000
  15.  
  16. #Mob Reward
  17. MobReward1: 100
  18. MobReward2: 500
  19.  
  20. variables:
  21.  
  22. #==========================================================#
  23. #
  24. #Mob Achievements
  25. #
  26. #==========================================================#
  27.  
  28. {mobkill.%player%.1} = 0
  29. {mobkill.%player%.2} = 0
  30.  
  31. {allow.mobkill.%player%.1} = true
  32. {allow.mobkill.%player%.2} = false
  33.  
  34. {status.mobkill.%player%.1} = "Running..."
  35. {status.mobkill.%player%.2} = "Locked..."
  36.  
  37. #==========================================================#
  38. #
  39. #Mob Achievements
  40. #
  41. #==========================================================#
  42.  
  43. command /mob:
  44. trigger:
  45. message "&aMob Kill %{mobkill.%player%.1}%&7/&a{@MaxMobKills1}" to player
  46.  
  47. on death of {@Mob}:
  48. add {@MobReward1} to Attacker's money
  49. send "&eUangmu Sekarang &a%Attacker's money%" to attacker
  50.  
  51. on death:
  52. attacker is a player
  53. victim is a {@Mob}
  54. if {allow.mobkill.%attacker%.1} is true:
  55. add 1 to {mobkill.%attacker%.1}
  56. if {mobkill.%attacker%.1} is greater than or equal to {@MaxMobKills1}:
  57. message "&aAchievement Mob Kill I Sukses!" to attacker
  58. set {allow.mobkill.%attacker%.1} to false
  59. set {allow.mobkill.%attacker%.2} to true
  60. set {status.mobkill.%attacker%.1} to "Complete..."
  61. set {status.mobkill.%attacker%.2} to "Running..."
  62. wait 50 tick
  63. # --- INPUT YOUR REWARD HERE
  64. #play "FIREWORK_LAUNCH" only to attacker with pitch 1 and volume 1
  65. #play "FIREWORK_LARGE_BLAST" only to attacker with pitch 1 and volume 1
  66. #play "FIREWORK_TWINKLE" only to attacker with pitch 1 and volume 1
  67. add {@MobReward1} to attacker's balance
  68. message "&aMendapat ${@MobReward1}!" to attacker
  69. message "&aAchievement Mob Kill II telah terbuka!" to attacker
  70. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement