Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /featured:
- trigger:
- open chest with 5 rows named "&8Featured" to player
- format slot 27 of player with gray glass pane to be unstealable
- format slot 28 of player with gray glass pane to be unstealable
- format slot 29 of player with gray glass pane to be unstealable
- format slot 30 of player with gray glass pane to be unstealable
- format slot 31 of player with gray glass pane to be unstealable
- format slot 32 of player with gray glass pane to be unstealable
- format slot 33 of player with gray glass pane to be unstealable
- format slot 34 of player with gray glass pane to be unstealable
- format slot 35 of player with gray glass pane to be unstealable
- format slot 40 of player with enchanted book named "&2&lFEATURED WORLDS" with lore "||&rTo get your world featured build||&ran amazing and wonderful build within||&ryour world and staff will review it||&rIf they like it, you can be featured!" to be unstealable
- if {featured::slot::1} is set:
- format slot 1 of player with book named "&2&l%{featured::1::name}%" with lore "||&rMOTD: %{featured::1::motd}%||&rWorld owner: &7%{featured::1::name}%||&rPoints: &7%{featured::1::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::2} is set:
- format slot 2 of player with book named "&2&l%{featured::2::name}%" with lore "||&rMOTD: %{featured::2::motd}%||&rWorld owner: &7%{featured::2::name}%||&rPoints: &7%{featured::2::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::3} is set:
- format slot 3 of player with book named "&2&l%{featured::%{slot}%::name}%" with lore "||&rMOTD: %{featured::%{slot}%::motd}%||&rWorld owner: &7%{featured::%{slot}%::name}%||&rPoints: &7%{featured::%{slot}%::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::4} is set:
- format slot 4 of player with book named "&2&l%{featured::%{slot}%::name}%" with lore "||&rMOTD: %{featured::%{slot}%::motd}%||&rWorld owner: &7%{featured::%{slot}%::name}%||&rPoints: &7%{featured::%{slot}%::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::5} is set:
- format slot 5 of player with book named "&2&l%{featured::%{slot}%::name}%" with lore "||&rMOTD: %{featured::%{slot}%::motd}%||&rWorld owner: &7%{featured::%{slot}%::name}%||&rPoints: &7%{featured::%{slot}%::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::6} is set:
- format slot 6 of player with book named "&2&l%{featured::%{slot}%::name}%" with lore "||&rMOTD: %{featured::%{slot}%::motd}%||&rWorld owner: &7%{featured::%{slot}%::name}%||&rPoints: &7%{featured::%{slot}%::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::7} is set:
- format slot 7 of player with book named "&2&l%{featured::%{slot}%::name}%" with lore "||&rMOTD: %{featured::%{slot}%::motd}%||&rWorld owner: &7%{featured::%{slot}%::name}%||&rPoints: &7%{featured::%{slot}%::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::8} is set:
- format slot 10 of player with book named "&2&l%{featured::%{slot}%::name}%" with lore "||&rMOTD: %{featured::%{slot}%::motd}%||&rWorld owner:&7 %{featured::%{slot}%::name}%||&rPoints: &7%{featured::%{slot}%::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::9} is set:
- format slot 11 of player with book named "&2&l%{featured::%{slot}%::name}%" with lore "||&rMOTD: %{featured::%{slot}%::motd}%||&rWorld owner:&7 %{featured::%{slot}%::name}%||&rPoints: &7%{featured::%{slot}%::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::10} is set:
- format slot 12 of player with book named "&2&l%{featured::%{slot}%::name}%" with lore "||&rMOTD: %{featured::%{slot}%::motd}%||&rWorld owner:&7 %{featured::%{slot}%::name}%||&rPoints: &7%{featured::%{slot}%::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::11} is set:
- format slot 13 of player with book named "&2&l%{featured::%{slot}%::name}%" with lore "||&rMOTD: %{featured::%{slot}%::motd}%||&rWorld owner:&7 %{featured::%{slot}%::name}%||&rPoints: &7%{featured::%{slot}%::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::12} is set:
- format slot 14 of player with book named "&2&l%{featured::%{slot}%::name}%" with lore "||&rMOTD: %{featured::%{slot}%::motd}%||&rWorld owner:&7 %{featured::%{slot}%::name}%||&rPoints: &7%{featured::%{slot}%::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::13} is set:
- format slot 15 of player with book named "&2&l%{featured::%{slot}%::name}%" with lore "||&rMOTD: %{featured::%{slot}%::motd}%||&rWorld owner:&7 %{featured::%{slot}%::name}%||&rPoints: &7%{featured::%{slot}%::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- if {featured::slot::14} is set:
- format slot 16 of player with book named "&2&l%{featured::%{slot}%::name}%" with lore "||&rMOTD: %{featured::%{slot}%::motd}%||&rWorld owner:&7 %{featured::%{slot}%::name}%||&rPoints: &7%{featured::%{slot}%::points}%" to close then run [make player execute "warp %{featured::%{slot}%::name}%"]
- command /feature <offline player>:
- permission: server.admin
- permission message: &cInsufficent permissions.
- trigger:
- if argument 1 is set:
- if {featured::players::%argument 1's uuid%} is set:
- send "&c%argument 1% is already featured."
- else if {playerdata::%argument 1's uuid%::world::created} isn't set:
- send "&c%argument 1% doesn't have a world."
- else:
- add 1 to {slot}
- if {playerdata::%argument 1's uuid%::world::motd} isn't set:
- set {featured::%{slot}%::motd} to "&7I don't have a MOTD :("
- else:
- set {featured::%{slot}%::motd} to {playerdata::%argument 1's uuid%::world::motd}
- set {featured::players::%argument 1's uuid%} to true
- set {featured::%{slot}%::points} to 0
- set {featured::slot::%{slot}%} to true
- set {playerdata::%argument 1's uuid%::feature::slot} to "%{featured::slot::%{slot}%}%"
- set {featured::%{slot}%::name} to argument 1
- send "&aFeatured %arg-1% (Slot: %{slot}%)"
- broadcast "&2&l[DESIGN] &a%arg-1% &rhas been featured!"
- else:
- send "&cIncorrect usage: &n/feature <player>"
- command /test:
- trigger:
- delete {featured::players}
- delete {slot}
- delete {featured::slot::1}
- delete {featured::slot::2}
- delete {featured::slot::3}
- delete {featured::slot::4}
- delete {featured::slot::5}
- delete {featured::slot::6}
- delete {featured::slot::7}
- delete {featured::slot::8}
- delete {featured::slot::9}
- delete {featured::slot::10}
- delete {featured::slot::11}
- delete {featured::slot::12}
- delete {featured::slot::13}
- delete {featured::slot::14}
- command /unfeature <offline player>:
- permission: server.admin
- permission message: &cInsufficent permissions.
- trigger:
- if argument 1 isn't set:
- send "&cIncorrect usage: &n/unfeature <player>"
- if {featured::players::%argument 1's uuid%} isn't set:
- send "&c%argument 1% isn't featured."
- else:
- delete {featured::players::%argument 1's uuid%}
- delete {playerdata::%argument 1's uuid%::feature::slot}
- message "&aUnfeatured %argument 1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement