Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- broadcast: true
- on join:
- if {ores.gold.%player%} is not set:
- set {ores.gold.%player%} to 0
- if {ores.iron.%player%} is not set:
- set {ores.iron.%player%} to 0
- if {ores.coal.%player%} is not set:
- set {ores.coal.%player%} to 0
- if {ores.lapis.%player%} is not set:
- set {ores.lapis.%player%} to 0
- if {ores.diamond.%player%} is not set:
- set {ores.diamond.%player%} to 0
- if {ores.redstone.%player%} is not set:
- set {ores.redstone.%player%} to 0
- if {ores.emerald.%player%} is not set:
- set {ores.emerald.%player%} to 0
- if {ores.quartz.%player%} is not set:
- set {ores.quartz.%player%} to 0
- on mine of gold ore:
- increase {ores.gold.%player%} by 1
- if {@broadcast} is true:
- broadcast "&6%player% &7has found &6Gold"
- on mine of iron ore:
- increase {ores.iron.%player%} by 1
- if {@broadcast} is true:
- broadcast "&7%player% has found Iron"
- on mine of coal ore:
- increase {ores.coal.%player%} by 1
- if {@broadcast} is true:
- broadcast "&0%player% &7has found &0Coal"
- on mine of lapis ore:
- increase {ores.lapis.%player%} by 1
- if {@broadcast} is true:
- broadcast "&1%player% &7has found &1Lapis"
- on mine of diamond ore:
- increase {ores.diamond.%player%} by 1
- if {@broadcast} is true:
- broadcast "&b%player% &7has found &bDiamond"
- on mine of redstone ore:
- increase {ores.redstone.%player%} by 1
- if {@broadcast} is true:
- broadcast "&c%player% &7has found &cRedstone"
- on mine of emerald ore:
- increase {ores.emerald.%player%} by 1
- if {@broadcast} is true:
- broadcast "&a%player% &7has found &aEmerald"
- on mine of quartz ore:
- increase {ores.quartz.%player%} by 1
- if {@broadcast} is true:
- broadcast "&f%player% &7has found &fQuartz"
- command /ores [<offlineplayer>]:
- trigger:
- if player has permission "ores.see":
- if arg 1 is not set:
- set {_player} to "%player%" parsed as offline player
- open chest with 3 rows named "&e&lYour &7&lOres" to player
- format slot 13 of player with skull of {_player} named "&e&lYour &7&lOres" to be unstealable
- format slot 12 of player with gold ingot named "&6&lGold: &f%{ores.gold.%player%}%" with lore "&eYou &7have||&7mined &e%{ores.gold.%player%}% &7gold" to be unstealable
- format slot 14 of player with iron ingot named "&7&lIron: &f%{ores.iron.%player%}%" with lore "&7You &7have||&7mined &e%{ores.iron.%player%}% &7iron" to be unstealable
- format slot 4 of player with coal item named "&8&lCoal: &f%{ores.coal.%player%}%" with lore "&8You &7have||&7mined &e%{ores.coal.%player%}% &8coal" to be unstealable
- format slot 22 of player with lapis named "&1&lLapis: &f%{ores.lapis.%player%}%" with lore "&1You &7have||&7mined &e%{ores.lapis.%player%}% &8lapis" to be unstealable
- format slot 0 of player with diamond named "&b&lDiamond: &f%{ores.diamond.%player%}%" with lore "&bYou &7have||&7mined &e%{ores.diamond.%player%}% &8diamond" to be unstealable
- format slot 8 of player with redstone named "&c&lRedstone: &f%{ores.redstone.%player%}%" with lore "&cYou &7have||&7mined &e%{ores.redstone.%player%}% &8redstone" to be unstealable
- format slot 18 of player with emerald named "&a&lEmerald: &f%{ores.emerald.%player%}%" with lore "&aYou &7have||&7mined &e%{ores.emerald.%player%}% &8emerald" to be unstealable
- format slot 26 of player with quartz named "&f&lQuartz: &f%{ores.quartz.%player%}%" with lore "&fYou &7have||&7mined &e%{ores.quartz.%player%}% &8emerald" to be unstealable
- if arg 1 is set:
- set {_head} to "%arg-1%" parsed as offline player
- if {ores.gold.%arg-1%} is not set:
- set {ores.gold.%arg-1%} to 0
- if {ores.iron.%arg-1%} is not set:
- set {ores.iron.%arg-1%} to 0
- if {ores.coal.%arg-1%} is not set:
- set {ores.coal.%arg-1%} to 0
- if {ores.lapis.%arg-1%} is not set:
- set {ores.lapis.%arg-1%} to 0
- if {ores.diamond.%arg-1%} is not set:
- set {ores.diamond.%arg-1%} to 0
- if {ores.redstone.%arg-1%} is not set:
- set {ores.redstone.%arg-1%} to 0
- if {ores.emerald.%arg-1%} is not set:
- set {ores.emerald.%arg-1%} to 0
- if {ores.quartz.%arg-1%} is not set:
- set {ores.quartz.%arg-1%} to 0
- open chest with 3 rows named "&e&l%arg-1%'s &7&lOres" to player
- format slot 13 of player with skull of {_head} named "&e&l%arg-1%'s &7&lOres" to be unstealable
- format slot 12 of player with gold ingot named "&6&lGold: &f%{ores.gold.%arg-1%}%" with lore "&e%arg-1% &7has||&7mined &e%{ores.gold.%arg-1%}% &7gold" to be unstealable
- format slot 14 of player with iron ingot named "&7&lIron: &f%{ores.iron.%arg-1%}%" with lore "&7%arg-1% &7has||&7mined &e%{ores.iron.%arg-1%}% &7iron" to be unstealable
- format slot 4 of player with coal item named "&8&lCoal: &f%{ores.coal.%arg-1%}%" with lore "&8%arg-1% &7has||&7mined &e%{ores.coal.%arg-1%}% &8coal" to be unstealable
- format slot 22 of player with lapis named "&1&lLapis: &f%{ores.lapis.%arg-1%}%" with lore "&1%arg-1% &7has||&7mined &e%{ores.lapis.%arg-1%}% &8lapis" to be unstealable
- format slot 0 of player with diamond named "&b&lDiamond: &f%{ores.diamond.%arg-1%}%" with lore "&b%arg-1% &7has||&7mined &e%{ores.diamond.%arg-1%}% &8diamond" to be unstealable
- format slot 8 of player with redstone named "&c&lRedstone: &f%{ores.redstone.%arg-1%}%" with lore "&c%arg-1% &7has||&7mined &e%{ores.redstone.%arg-1%}% &8redstone" to be unstealable
- format slot 18 of player with emerald named "&a&lEmerald: &f%{ores.emerald.%arg-1%}%" with lore "&a%arg-1% &7has||&7mined &e%{ores.emerald.%arg-1%}% &8emerald" to be unstealable
- format slot 26 of player with quartz named "&f&lQuartz: &f%{ores.quartz.%arg-1%}%" with lore "&f%arg-1% &7has||&7mined &e%{ores.quartz.%arg-1%}% &8emerald" to be unstealable
Add Comment
Please, Sign In to add comment