Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. options:
  2. prefix: &7[&cEvent&7]
  3. noperm: &7You dont have permissions to use this command.
  4. eventspawnnotset: &7The Eventspawn is not set.
  5. eventspawnset: &7You set the eventspawn correctly
  6. command /seteventspawn <integer>:
  7. permission: seteventspawn.use
  8. trigger:
  9. if arg-1 is 1:
  10. set {emerald.loc.1} to location of player
  11. message "{@prefix} {@eventspawnset}"
  12. stop
  13. if arg-1 is 2:
  14. set {emerald.loc.2} to location of player
  15. message "{@prefix} {@eventspawnset}"
  16. stop
  17. if arg-1 is 3:
  18. set {emerald.loc.1} to location of player
  19. message "{@prefix} {@eventspawnset}"
  20. stop
  21. else:
  22. message "&cUnknown number."
  23. stop
  24. command /event <text>:
  25. permission: op
  26. trigger:
  27. if arg-1 is "start":
  28. set block at {emerald.loc.%random integer between 1 and 3%} to emerald
  29. broadcast "{@prefix} &7Started"
  30. if arg-1 is "off":
  31. broadcast "{@prefix} has stopped! %player% has been rewarded!"
  32. execute console command "/event off"
  33. stop
  34.  
  35. on break of emerald block:
  36. execute console command "/event off"
  37. every 30 minutes:
  38. execute console command "/event start"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement