Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on block place of wool:
- player's world = "hub":
- if {allowhubbuild} is true:
- {hubbuild.%player%} is not true:
- set {_loc} to location at player
- if y-coordinate of {_loc} < 125:
- set slot 0 of player's inventory to 64 white wool named "%{woolcolor.%player%}%"
- set the block to {woolcolor.%player%}
- message {woolcolor.%player%}
- wait 1 second
- set the block to air
- if y-coordinate of {_loc} > 125:
- set slot 0 of player's inventory to 64 white wool named "%{woolcolor.%player%}%"
- set the block to air
- message "&8&l(&c&l!&8&l)&7 You can't build that high."
- if {allowhubbuild} is false:
- cancel event
- message "&8&l(&c&l!&8&l)&7 Building is not allowed while the server is restarting."
- on block place:
- player's world = "hub":
- {hubbuild.%player%} is not true:
- player's tool is not wool:
- cancel event
- on block break:
- player's world = "hub":
- {hubbuild.%player%} is not true:
- cancel event
- on left click:
- player's world = "hub":
- {hubbuild.%player%} is not true:
- cancel event
- on inventory click:
- player's world = "hub":
- {hubbuild.%player%} is not true:
- cancel event
- command /network-build <text>:
- permission: sk.restartmessage
- permission message: &8&l(&c&l!&8&l)&7 You do not have permissions to execute that command!
- trigger:
- arg-1 is "enable":
- set {hubbuild.%player%} to true
- make player execute command "/bw build"
- set gamemode of player to creative
- arg-1 is "disable":
- set gamemode of player to survival
- set {hubbuild.%player%} to false
- make player execute command "/bw build"
- message "&8&l(&c&l!&8&l)&7 Please rejoin the server for a better server experience"
- make console execute command "/clear %player%"
- arg-1 is not set:
- message "&cPlease add an argument like enable or disable"
- arg-1 is not "enable" or "disable":
- message "/network-build <enable/disable>"
- command /color [<text>]:
- permission: sk.setcolor
- permission message: &8&l(&c&l!&8&l)&7 You need Yoshi rank or higher to execute that command!
- trigger:
- arg-1 is not set:
- message "&8&l(&c&l!&8&l)&7 Please provide a color. For a list with colors, do /colorlist"
- stop
- arg-1 is set:
- set {woolcolor.%player%} to "%arguments% wool"
- wait 1 tick
- message "&8&l(&a&l!&8&l)&7 Changed your wool color to %{woolcolor.%player%}%"
- command /colorlist:
- permission: sk.setcolor
- permission message: &8&l(&c&l!&8&l)&7 You need Yoshi rank or higher to execute that command!
- trigger:
- message "&1Dark blue &7- &4Red &7- &eYellow &7- &2Green &7- &aLime &7- &dPink &7- &5Purple &7- &0Black &7- &fWhite &7- "
Advertisement
Add Comment
Please, Sign In to add comment