Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. #==Gone Fishing Skript==#
  2.  
  3. #==Gamemode by /u/partickplays44==#
  4.  
  5. #==Post: http://redd.it/1vbgxb ===#
  6.  
  7. options:
  8. P: &6<<&4Gone Fishing&6>>&e
  9. #Prefix
  10. Permission: skript.op
  11. #Permission
  12. CH: &e
  13. #Chat Colour
  14. Command: gonefishing
  15. #Command
  16.  
  17.  
  18. command /{@Command} [<text>]:
  19. permission: {@Permission}
  20. trigger:
  21. if arg 1 is equal to "give":
  22. give (fishing rod of unbreaking 100 and luck of the sea 250 and lure 3) to all players
  23. give 64 anvils to all players
  24. set level of all players to 20000
  25. broadcast "{@P}{@CH}Items given!"
  26. execute console command "gaps random.pop"
  27.  
  28. if arg 1 is equal to "enable":
  29. set {enchants} to false
  30. broadcast "{@P}{@CH}Enchantment tables disabled!"
  31. execute console command "gaps random.pop"
  32.  
  33. if arg 1 is equal to "disable":
  34. set {enchants} to false
  35. broadcast "{@P}{@CH}Enchantment tables enabled!"
  36. execute console command "gaps random.break"
  37. else if arg 1 is not set:
  38. message "{@P}{@CH}Do /gonefishing give to give out the items"
  39. message "{@P}{@CH}Do /gonefishing enable to disable enchantment tables"
  40. message "{@P}{@CH}Do /gonefishing disable to disable enchantment tables"
  41. execute console command "playsound random.pop %player%"
  42.  
  43. on craft of enchantment table:
  44. {enchants} is false:
  45. cancel the event
  46. message "{@P}{@CH}Enchantment tables are disabled!"
  47. execute console command "playsound random.break %player%"
  48.  
  49. #Sounds
  50.  
  51. command /gaps <text>:
  52. permission: {@Permission}
  53. trigger:
  54. loop all players:
  55. execute console command "/playsound %arg 1% %loop-player% %x-coordinate of loop-player% %y-coordinate of loop-player% %z-coordinate of loop-player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement