FoxCraftGaming

Untitled

May 28th, 2021
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. on block place of wool:
  2. player's world = "hub":
  3. if {allowhubbuild} is true:
  4. {hubbuild.%player%} is not true:
  5. set {_loc} to location at player
  6. if y-coordinate of {_loc} < 125:
  7. set slot 0 of player's inventory to 64 white wool named "%{woolcolor.%player%}%"
  8. set the block to {woolcolor.%player%}
  9. message {woolcolor.%player%}
  10. wait 1 second
  11. set the block to air
  12. if y-coordinate of {_loc} > 125:
  13. set slot 0 of player's inventory to 64 white wool named "%{woolcolor.%player%}%"
  14. set the block to air
  15. message "&8&l(&c&l!&8&l)&7 You can't build that high."
  16. if {allowhubbuild} is false:
  17. cancel event
  18. message "&8&l(&c&l!&8&l)&7 Building is not allowed while the server is restarting."
  19.  
  20. on block place:
  21. player's world = "hub":
  22. {hubbuild.%player%} is not true:
  23. player's tool is not wool:
  24. cancel event
  25. on block break:
  26. player's world = "hub":
  27. {hubbuild.%player%} is not true:
  28. cancel event
  29.  
  30. on left click:
  31. player's world = "hub":
  32. {hubbuild.%player%} is not true:
  33. cancel event
  34.  
  35.  
  36. on inventory click:
  37. player's world = "hub":
  38. {hubbuild.%player%} is not true:
  39. cancel event
  40.  
  41. command /network-build <text>:
  42. permission: sk.restartmessage
  43. permission message: &8&l(&c&l!&8&l)&7 You do not have permissions to execute that command!
  44. trigger:
  45. arg-1 is "enable":
  46. set {hubbuild.%player%} to true
  47. make player execute command "/bw build"
  48. set gamemode of player to creative
  49. arg-1 is "disable":
  50. set gamemode of player to survival
  51. set {hubbuild.%player%} to false
  52. make player execute command "/bw build"
  53. message "&8&l(&c&l!&8&l)&7 Please rejoin the server for a better server experience"
  54. make console execute command "/clear %player%"
  55. arg-1 is not set:
  56. message "&cPlease add an argument like enable or disable"
  57. arg-1 is not "enable" or "disable":
  58. message "/network-build <enable/disable>"
  59.  
  60.  
  61.  
  62. command /color [<text>]:
  63. permission: sk.setcolor
  64. permission message: &8&l(&c&l!&8&l)&7 You need Yoshi rank or higher to execute that command!
  65. trigger:
  66. arg-1 is not set:
  67. message "&8&l(&c&l!&8&l)&7 Please provide a color. For a list with colors, do /colorlist"
  68. stop
  69. arg-1 is set:
  70. set {woolcolor.%player%} to "%arguments% wool"
  71. wait 1 tick
  72. message "&8&l(&a&l!&8&l)&7 Changed your wool color to %{woolcolor.%player%}%"
  73.  
  74. command /colorlist:
  75. permission: sk.setcolor
  76. permission message: &8&l(&c&l!&8&l)&7 You need Yoshi rank or higher to execute that command!
  77. trigger:
  78. message "&1Dark blue &7- &4Red &7- &eYellow &7- &2Green &7- &aLime &7- &dPink &7- &5Purple &7- &0Black &7- &fWhite &7- "
  79.  
Advertisement
Add Comment
Please, Sign In to add comment