Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /set [<text>] [<text>] [<number>]:
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- send "&8[&6&l❂&8] &e/set <warp/tutorial> <name> [<number>]"
- if arg 1 is set:
- if arg 2 is not set:
- send "&8[&6&l❂&8] &e/set <warp/tutorial> <name> [<number>]"
- if arg 1 is "warp":
- if arg 2 is set:
- send "&8[&6&l❂&8] &eSet warp &6%arg 2%"
- set {%arg 2%} to location of the player
- if arg 1 is "tutorial":
- if arg 3 is set:
- send "&8[&6&l❂&8] &eSet tutorial location &6%arg 3%" to player
- set {tutorial%arg 3%} to location of the player
- command /warp [<text>] [<player>]:
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- send "&8[&6&l❂&8] &e/warp <warp> [<player>]"
- if arg 1 is set:
- if arg 2 is not set:
- teleport player to {%arg 1%}
- send "&8[&6&l❂&8] &eTeleported to warp &6%arg 1%"
- if arg 1 is set:
- if arg 2 is set:
- teleport arg 2 to {%arg 1%}
- send "&8[&6&l❂&8] &eYou teleported %arg 2% to warp &6%arg 1%"
- send "&8[&6&l❂&8] &6%player% &eteleported you to &6%arg 1%" to arg 2
- command /warps:
- trigger:
- open chest with 3 rows named "&7 &0&nPlayer Warps" to player
- if player has permission "warp.mine":
- format slot 10 of player with emerald named "&6&lMINE &7(Click to warp)" with lore "||&8» &7Click to warp to the mine||&7||&8» &a&lUNLOCKED" to close then run [player command "warp mine"]
- if player does not have permission "warp.mine":
- format slot 10 of player with emerald named "&6&lMINE &7(Click to warp)" with lore "||&8» &7Click to warp to the mine||&7||&8» &c&lLOCKED" to be unstealable
- if player has permission "warp.spawn":
- format slot 11 of player with emerald named "&6&lSPAWN &7(Click to warp)" with lore "||&8» &7Click to warp to the spawn||&7||&8» &a&lUNLOCKED" to close then run [player command "warp spawn"]
- if player does not have permission "warp.spawn":
- format slot 11 of player with emerald named "&6&lSPAWN &7(Click to warp)" with lore "||&8» &7Click to warp to the spawn||&7||&8» &c&lLOCKED" to be unstealable
- command /compressor:
- trigger:
- open chest with 3 rows named "&7 &0&nCompressor" to player
- format slot 10 of player with coal named "&8&lCOAL &7(Click to compress)" with lore "||&8» &7Click to compress your coal ||&7" to close then run [player command "compresscoal"]
- format slot 11 of player with iron ingot named "&f&lIRON &7(Click to compress)" with lore "||&8» &7Click to compress your iron ||&7" to close then run [player command "compressiron"]
- command /compresscoal:
- trigger:
- while amount of coal ore in player's inventory is less than 1:
- send "&8[&6&l❂&8] &eYou need to get some coal ore to compress" to player
- stop
- while amount of coal ore in player's inventory is bigger than 0:
- remove 1 coal ore from player's inventory
- add 1 to {coal}
- send player title "&6&lCOMPRESSED" with subtitle "&eSold for &6%{coal}%⛃" for 2 seconds
- add {coal} to player's balance
- set {coal} to 0
- stop
- command /compressiron:
- trigger:
- while amount of iron ore in player's inventory is less than 1:
- send "&8[&6&l❂&8] &eYou need to get some iron ore to compress" to player
- stop
- while amount of iron ore in player's inventory is bigger than 0:
- remove 1 iron ore from player's inventory
- add 1 to {iron}
- send player title "&6&lCOMPRESSED" with subtitle "&eSold for &6%{iron}%⛃" for 2 seconds
- add {iron} to player's balance
- set {iron} to 0
- stop
- on break:
- if event-block is coal ore or iron ore:
- stop
- if event-block is not coal ore or iron ore:
- cancel event
- send "&8[&6&l❂&8] &eYou cant break this type of block"
- on damage:
- cancel event
- send "&8[&6&l❂&8] &eYou cant pvp in this area" to attacker
- on break:
- if name of player's tool is "&6&lSTARTER PICKAXE":
- set the 1st line of lore of player's tool to "&7"
- set the 2nd line of lore of player's tool to "&8[&6&l❂&8] &eXP: %{exp.%player%}%"
- on join:
- set slot 0 of player's inventory to diamond pickaxe named "&6&lSTARTER PICKAXE"
- on first join:
- set slot 0 of player's inventory to diamond pickaxe named "&6&lSTARTER PICKAXE"
- on break of coal ore:
- cancel event
- chance of 40%:
- give 2 coal ore to player
- set action bar of player to "&eYou got lucky and got an extra &6coal ore"
- set block to stone
- add 1 to {exp.%player%}
- give 1 coal ore to player
- wait 3 seconds
- set block to coal ore
- on break of iron ore:
- cancel event
- chance of 40%:
- give 2 iron ore to player
- set action bar of player to "&eYou got lucky and got an extra &6iron ore"
- set block to stone
- add 2 to {exp.%player%}
- give 1 iron ore to player
- wait 3 seconds
- set block to iron ore
Advertisement
Add Comment
Please, Sign In to add comment