Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #This Skript was made by: funtime_egger!
- #Check out more of my creations! @ http://bit.ly/2ty0eBu
- # UNLOCK PRICES #
- options:
- leatherHelm: 5000
- leatherChestplate: 5000
- leatherLeggings: 5000
- leatherBoots: 5000
- goldHelm: 7500
- goldChestplate: 7500
- goldLeggings: 7500
- goldBoots: 7500
- ironHelm: 10000
- ironChestplate: 10000
- ironLeggings: 10000
- ironBoots: 10000
- diamondHelm: 20000
- diamondChestplate: 20000
- diamondLeggings: 20000
- diamondBoots: 20000
- arrow: 5000
- bow: 10000
- woodensword: 2500
- stonesword: 5000
- ironsword: 7500
- goldsword: 10000
- diamondsword: 15000
- # UNLOCK COMMAND # {@OPTIONS} DO NOT WORK INSIDE OF OPTIONS! #
- # SO IF YOU CHANGE THE PERMISSIONS, CHANGE IT ON THE COMMANDS TOO! #
- options:
- leatherHelmCommand: manuaddp %player% craft.leather.helm
- leatherChestplateCommand: manuaddp %player% craft.leather.chestplate
- leatherLeggingsCommand: manuaddp %player% craft.leather.leggings
- leatherBootsCommand: manuaddp %player% craft.leather.boots
- goldHelmCommand: manuaddp %player% craft.gold.helm
- goldChestplateCommand: manuaddp %player% craft.gold.chestplate
- goldLeggingsCommand: manuaddp %player% craft.gold.leggings
- goldBootsCommand: manuaddp %player% craft.gold.boots
- ironHelmCommand: manuaddp %player% craft.iron.helm
- ironChestplateCommand: manuaddp %player% craft.iron.chestplate
- ironLeggingsCommand: manuaddp %player% craft.iron.leggings
- ironBootsCommand: manuaddp %player% craft.iron.boots
- diamondHelmCommand: manuaddp %player% craft.diamond.helm
- diamondChestplateCommand: manuaddp %player% craft.diamond.chestplate
- diamondLeggingsCommand: manuaddp %player% craft.diamond.leggings
- diamondBootsCommand: manuaddp %player% craft.diamond.boots
- arrowCommand: manuaddp %player% craft.arrow
- bowCommand: manuaddp %player% craft.bow
- stoneswordCommand: manuaddp %player% craft.stone.sword
- woodenswordCommand: manuaddp %player% craft.wooden.sword
- goldswordCommand: manuaddp %player% craft.gold.sword
- ironswordCommand: manuaddp %player% craft.iron.sword
- diamondswordCommand: manuaddp %player% craft.diamond.sword
- # PERMISSIONS #
- options:
- leatherHelmPerm: craft.leather.helm
- leatherChestplatePerm: craft.leather.chestplate
- leatherLeggingsPerm: craft.leather.leggings
- leatherBootsPerm: craft.leather.boots
- goldHelmPerm: craft.gold.helm
- goldChestplatePerm: craft.gold.chestplate
- goldLeggingsPerm: craft.gold.leggings
- goldBootsPerm: craft.gold.boots
- ironHelmPerm: craft.iron.helm
- ironChestplatePerm: craft.iron.chestplate
- ironLeggingsPerm: craft.iron.leggings
- ironBootsPerm: craft.iron.boots
- diamondHelmPerm: craft.diamond.helm
- diamondChestplatePerm: craft.diamond.chestplate
- diamondLeggingsPerm: craft.diamond.leggings
- diamondBootsPerm: craft.diamond.boots
- arrowPerm: craft.arrow
- bowPerm: craft.bow
- stoneswordPerm: craft.stone.sword
- woodenswordPerm: craft.wooden.sword
- ironswordPerm: craft.iron.sword
- goldswordPerm: craft.gold.sword
- diamondswordPerm: craft.diamond.sword
- command /unlock:
- trigger:
- open chest with 3 rows named "&8&oChoose a Category..." to player
- wait 4 tick
- format slot 0 of player with blue glass pane named " " to be unstealable
- format slot 1 of player with blue glass pane named " " to be unstealable
- format slot 2 of player with blue glass pane named " " to be unstealable
- format slot 3 of player with blue glass pane named " " to be unstealable
- format slot 4 of player with blue glass pane named " " to be unstealable
- format slot 5 of player with blue glass pane named " " to be unstealable
- format slot 6 of player with blue glass pane named " " to be unstealable
- format slot 7 of player with blue glass pane named " " to be unstealable
- format slot 8 of player with blue glass pane named " " to be unstealable
- format slot 9 of player with blue glass pane named " " to be unstealable
- format slot 17 of player with blue glass pane named " " to be unstealable
- format slot 18 of player with blue glass pane named " " to be unstealable
- format slot 19 of player with blue glass pane named " " to be unstealable
- format slot 20 of player with blue glass pane named " " to be unstealable
- format slot 21 of player with blue glass pane named " " to be unstealable
- format slot 22 of player with blue glass pane named " " to be unstealable
- format slot 23 of player with blue glass pane named " " to be unstealable
- format slot 24 of player with blue glass pane named " " to be unstealable
- format slot 25 of player with blue glass pane named " " to be unstealable
- format slot 26 of player with blue glass pane named " " to be unstealable
- format slot 11 of player with black glass pane named " " to be unstealable
- format slot 13 of player with black glass pane named " " to be unstealable
- format slot 15 of player with black glass pane named " " to be unstealable
- format slot 16 of player with black glass pane named " " to be unstealable
- format slot 26 of player with blue glass pane named " " to be unstealable
- format slot 10 of player with black glass pane named " " to be unstealable
- format slot 12 of player with diamond chestplate named "&e&lUNLOCK ARMOUR" with lore "&7Click here to purchase||&7the ability to craft armour!" to close then run [make player execute command "unlockarmour"]
- format slot 14 of player with diamond sword named "&e&lUNLOCK WEAPONRY" with lore "&7Click here to purchase||&7the ability to craft weaponry!" to close then run [make player execute command "unlockweapons"]
- command /unlockarmour:
- trigger:
- wait 4 ticks
- open chest with 6 rows named "&c&lUNLOCK ARMOUR" to player
- format slot 0 of player with black glass pane named " " to be unstealable
- format slot 1 of player with black glass pane named " " to be unstealable
- format slot 2 of player with black glass pane named " " to be unstealable
- format slot 3 of player with black glass pane named " " to be unstealable
- format slot 4 of player with black glass pane named " " to be unstealable
- format slot 5 of player with black glass pane named " " to be unstealable
- format slot 6 of player with black glass pane named " " to be unstealable
- format slot 7 of player with black glass pane named " " to be unstealable
- format slot 8 of player with black glass pane named " " to be unstealable
- format slot 9 of player with black glass pane named " " to be unstealable
- format slot 17 of player with black glass pane named " " to be unstealable
- format slot 18 of player with black glass pane named " " to be unstealable
- format slot 26 of player with black glass pane named " " to be unstealable
- format slot 27 of player with black glass pane named " " to be unstealable
- format slot 35 of player with black glass pane named " " to be unstealable
- format slot 36 of player with black glass pane named " " to be unstealable
- format slot 44 of player with black glass pane named " " to be unstealable
- format slot 45 of player with black glass pane named " " to be unstealable
- format slot 46 of player with black glass pane named " " to be unstealable
- format slot 47 of player with black glass pane named " " to be unstealable
- format slot 48 of player with black glass pane named " " to be unstealable
- format slot 49 of player with black glass pane named " " to be unstealable
- format slot 50 of player with black glass pane named " " to be unstealable
- format slot 51 of player with black glass pane named " " to be unstealable
- format slot 53 of player with black glass pane named " " to be unstealable
- format slot 52 of player with black glass pane named " " to be unstealable
- if player's money is less than {@leatherHelm}:
- format slot 10 of player with leather helmet named "&e&lLEATHER HELMET" with lore "&7Click here to purchase the||&7ability to craft leather helmet.||||&dPrice: &a${@leatherHelm}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@leatherHelm}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@leatherHelm}:
- format slot 10 of player with leather helmet named "&e&lLEATHER HELMET" with lore "&7Click here to purchase the||&7ability to craft leather helmet.||||&dPrice: &a${@leatherHelm}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@leatherHelm}%" to close then run [make console execute command "{@leatherHelmCommand}"]->[subtract {@leatherHelm} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6leather helmet!"]->[make player execute command "unlockarmour"]
- if player has permission "{@leatherHelmPerm}":
- format slot 10 of player with glowing leather helmet named "&e&lLEATHER HELMET" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@leatherChestplate}:
- format slot 19 of player with leather chestplate named "&e&lLEATHER CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft leather chestplate.||||&dPrice: &a${@leatherChestplate}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@leatherChestplate}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@leatherChestplate}:
- format slot 19 of player with leather chestplate named "&e&lLEATHER CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft leather chestplate.||||&dPrice: &a${@leatherChestplate}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@leatherChestplate}%" to close then run [make console execute command "{@leatherChestplateCommand}"]->[subtract {@leatherChestplate} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6leather chestplate!"]->[make player execute command "unlockarmour"]
- if player has permission "{@leatherChestplatePerm}":
- format slot 19 of player with glowing leather chestplate named "&e&lLEATHER CHESTPLATE" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@leatherLeggings}:
- format slot 28 of player with leather leggings named "&e&lLEATHER LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft leather leggings.||||&dPrice: &a${@leatherLeggings}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@leatherLeggings}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@leatherLeggings}:
- format slot 28 of player with leather leggings named "&e&lLEATHER LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft leather leggings.||||&dPrice: &a${@leatherLeggings}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@leatherLeggings}%" to close then run [make console execute command "{@leatherLeggingsCommand}"]->[subtract {@leatherLeggings} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6leather leggings!"]->[make player execute command "unlockarmour"]
- if player has permission "{@leatherLeggingsPerm}":
- format slot 28 of player with glowing leather leggings named "&e&lLEATHER LEGGINGS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@leatherBoots}:
- format slot 37 of player with leather boots named "&e&lLEATHER BOOTS" with lore "&7Click here to purchase the||&7ability to craft leather boots.||||&dPrice: &a${@leatherBoots}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@leatherBoots}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@leatherBoots}:
- format slot 37 of player with leather boots named "&e&lLEATHER BOOTS" with lore "&7Click here to purchase the||&7ability to craft leather boots.||||&dPrice: &a${@leatherBoots}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@leatherBoots}%" to close then run [make console execute command "{@leatherBootsCommand}"]->[subtract {@leatherBoots} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6leather boots!"]->[make player execute command "unlockarmour"]
- if player has permission "{@leatherBootsPerm}":
- format slot 37 of player with glowing leather boots named "&e&lLEATHER BOOTS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@ironHelm}:
- format slot 14 of player with iron helmet named "&e&lIRON HELMET" with lore "&7Click here to purchase the||&7ability to craft iron helmet.||||&dPrice: &a${@ironHelm}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@ironHelm}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@ironHelm}:
- format slot 14 of player with iron helmet named "&e&lIRON HELMET" with lore "&7Click here to purchase the||&7ability to craft iron helmet.||||&dPrice: &a${@ironHelm}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@ironHelm}%" to close then run [make console execute command "{@ironHelmCommand}"]->[subtract {@ironHelm} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6iron helmet!"]->[make player execute command "unlockarmour"]
- if player has permission "{@ironHelmPerm}":
- format slot 14 of player with glowing iron helmet named "&e&lIRON HELMET" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@ironChestplate}:
- format slot 23 of player with iron chestplate named "&e&lIRON CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft iron chestplate.||||&dPrice: &a${@ironChestplate}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@ironChestplate}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@ironChestplate}:
- format slot 23 of player with iron chestplate named "&e&lIRON CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft iron chestplate.||||&dPrice: &a${@ironChestplate}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@ironChestplate}%" to close then run [make console execute command "{@ironChestplateCommand}"]->[subtract {@ironChestplate} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6iron chestplate!"]->[make player execute command "unlockarmour"]
- if player has permission "{@ironChestplatePerm}":
- format slot 23 of player with glowing iron chestplate named "&e&lIRON CHESTPLATE" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@ironLeggings}:
- format slot 32 of player with iron leggings named "&e&lIRON LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft iron leggings.||||&dPrice: &a${@ironLeggings}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@ironLeggings}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@ironLeggings}:
- format slot 32 of player with iron leggings named "&e&lIRON LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft iron leggings.||||&dPrice: &a${@ironLeggings}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@ironLeggings}%" to close then run [make console execute command "{@ironLeggingsCommand}"]->[subtract {@ironLeggings} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6iron leggings!"]->[make player execute command "unlockarmour"]
- if player has permission "{@ironLeggingsPerm}":
- format slot 32 of player with glowing iron leggings named "&e&lIRON LEGGINGS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@ironBoots}:
- format slot 41 of player with iron boots named "&e&lIRON BOOTS" with lore "&7Click here to purchase the||&7ability to craft iron boots.||||&dPrice: &a${@ironBoots}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@ironBoots}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@ironBoots}:
- format slot 41 of player with iron boots named "&e&lIRON BOOTS" with lore "&7Click here to purchase the||&7ability to craft iron boots.||||&dPrice: &a${@ironBoots}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@ironBoots}%" to close then run [make console execute command "{@ironBootsCommand}"]->[subtract {@ironBoots} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6iron boots!"]->[make player execute command "unlockarmour"]
- if player has permission "{@ironBootsPerm}":
- format slot 41 of player with glowing iron boots named "&e&lIRON BOOTS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@goldHelm}:
- format slot 12 of player with gold helmet named "&e&lGOLD HELMET" with lore "&7Click here to purchase the||&7ability to craft gold helmet.||||&dPrice: &a${@goldHelm}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@goldHelm}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@goldHelm}:
- format slot 12 of player with gold helmet named "&e&lGOLD HELMET" with lore "&7Click here to purchase the||&7ability to craft gold helmet.||||&dPrice: &a${@goldHelm}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@goldHelm}%" to close then run [make console execute command "{@goldHelmCommand}"]->[subtract {@goldHelm} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6gold helmet!"]->[make player execute command "unlockarmour"]
- if player has permission "{@goldHelmPerm}":
- format slot 12 of player with glowing gold helmet named "&e&lGOLD HELMET" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@goldChestplate}:
- format slot 21 of player with gold chestplate named "&e&lGOLD CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft gold chestplate.||||&dPrice: &a${@goldChestplate}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@goldChestplate}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@goldChestplate}:
- format slot 21 of player with gold chestplate named "&e&lGOLD CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft gold chestplate.||||&dPrice: &a${@goldChestplate}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@goldChestplate}%" to close then run [make console execute command "{@goldChestplateCommand}"]->[subtract {@goldChestplate} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6gold chestplate!"]->[make player execute command "unlockarmour"]
- if player has permission "{@goldChestplatePerm}":
- format slot 21 of player with glowing gold chestplate named "&e&lGOLD CHESTPLATE" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@goldLeggings}:
- format slot 30 of player with gold leggings named "&e&lGOLD LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft gold leggings.||||&dPrice: &a${@goldLeggings}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@goldLeggings}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@goldLeggings}:
- format slot 30 of player with gold leggings named "&e&lGOLD LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft gold leggings.||||&dPrice: &a${@goldLeggings}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@goldLeggings}%" to close then run [make console execute command "{@goldLeggingsCommand}"]->[subtract {@goldLeggings} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6gold leggings!"]->[make player execute command "unlockarmour"]
- if player has permission "{@goldLeggingsPerm}":
- format slot 30 of player with glowing gold leggings named "&e&lGOLD LEGGINGS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@goldBoots}:
- format slot 39 of player with gold boots named "&e&lGOLD BOOTS" with lore "&7Click here to purchase the||&7ability to craft gold boots.||||&dPrice: &a${@goldBoots}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@goldBoots}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@goldBoots}:
- format slot 39 of player with gold boots named "&e&lGOLD BOOTS" with lore "&7Click here to purchase the||&7ability to craft gold boots.||||&dPrice: &a${@goldBoots}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@goldBoots}%" to close then run [make console execute command "{@goldBootsCommand}"]->[subtract {@goldBoots} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6gold boots!"]->[make player execute command "unlockarmour"]
- if player has permission "{@goldBootsPerm}":
- format slot 39 of player with glowing gold boots named "&e&lGOLD BOOTS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@diamondHelm}:
- format slot 16 of player with diamond helmet named "&e&lDIAMOND HELMET" with lore "&7Click here to purchase the||&7ability to craft diamond helmet.||||&dPrice: &a${@diamondHelm}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@diamondHelm}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@diamondHelm}:
- format slot 16 of player with diamond helmet named "&e&lDIAMOND HELMET" with lore "&7Click here to purchase the||&7ability to craft diamond helmet.||||&dPrice: &a${@diamondHelm}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@diamondHelm}%" to close then run [make console execute command "{@diamondHelmCommand}"]->[subtract {@diamondHelm} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6diamond helmet!"]->[make player execute command "unlockarmour"]
- if player has permission "{@diamondHelmPerm}":
- format slot 16 of player with glowing diamond helmet named "&e&lDIAMOND HELMET" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@diamondChestplate}:
- format slot 25 of player with diamond chestplate named "&e&lDIAMOND CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft diamond chestplate.||||&dPrice: &a${@diamondChestplate}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@diamondChestplate}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@diamondChestplate}:
- format slot 25 of player with diamond chestplate named "&e&lDIAMOND CHESTPLATE" with lore "&7Click here to purchase the||&7ability to craft diamond chestplate.||||&dPrice: &a${@diamondChestplate}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@diamondChestplate}%" to close then run [make console execute command "{@diamondChestplateCommand}"]->[subtract {@diamondChestplate} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6diamond chestplate!"]->[make player execute command "unlockarmour"]
- if player has permission "{@diamondChestplatePerm}":
- format slot 25 of player with glowing diamond chestplate named "&e&lDIAMOND CHESTPLATE" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@diamondLeggings}:
- format slot 34 of player with diamond leggings named "&e&lDIAMOND LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft diamond leggings.||||&dPrice: &a${@diamondLeggings}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@diamondLeggings}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@diamondLeggings}:
- format slot 34 of player with diamond leggings named "&e&lDIAMOND LEGGINGS" with lore "&7Click here to purchase the||&7ability to craft diamond leggings.||||&dPrice: &a${@diamondLeggings}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@diamondLeggings}%" to close then run [make console execute command "{@diamondLeggingsCommand}"]->[subtract {@diamondLeggings} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6diamond leggings!"]->[make player execute command "unlockarmour"]
- if player has permission "{@diamondLeggingsPerm}":
- format slot 34 of player with glowing diamond leggings named "&e&lDIAMOND LEGGINGS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@diamondBoots}:
- format slot 43 of player with diamond boots named "&e&lDIAMOND BOOTS" with lore "&7Click here to purchase the||&7ability to craft diamond boots.||||&dPrice: &a${@diamondBoots}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@diamondBoots}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@diamondBoots}:
- format slot 43 of player with diamond boots named "&e&lDIAMOND BOOTS" with lore "&7Click here to purchase the||&7ability to craft diamond boots.||||&dPrice: &a${@diamondBoots}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@diamondBoots}%" to close then run [make console execute command "{@diamondBootsCommand}"]->[subtract {@diamondBoots} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6diamond boots!"]->[make player execute command "unlockarmour"]
- if player has permission "{@diamondBootsPerm}":
- format slot 43 of player with glowing diamond boots named "&e&lDIAMOND BOOTS" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- command /unlockweapons:
- trigger:
- wait 4 ticks
- open chest with 3 rows named "&c&lUNLOCK WEAPONARY" to player
- format slot 0 of player with black glass pane named " " to be unstealable
- format slot 1 of player with black glass pane named " " to be unstealable
- format slot 2 of player with black glass pane named " " to be unstealable
- format slot 3 of player with black glass pane named " " to be unstealable
- format slot 4 of player with black glass pane named " " to be unstealable
- format slot 5 of player with black glass pane named " " to be unstealable
- format slot 6 of player with black glass pane named " " to be unstealable
- format slot 7 of player with black glass pane named " " to be unstealable
- format slot 8 of player with black glass pane named " " to be unstealable
- format slot 9 of player with black glass pane named " " to be unstealable
- format slot 17 of player with black glass pane named " " to be unstealable
- format slot 18 of player with black glass pane named " " to be unstealable
- format slot 19 of player with black glass pane named " " to be unstealable
- format slot 20 of player with black glass pane named " " to be unstealable
- format slot 21 of player with black glass pane named " " to be unstealable
- format slot 22 of player with black glass pane named " " to be unstealable
- format slot 23 of player with black glass pane named " " to be unstealable
- format slot 24 of player with black glass pane named " " to be unstealable
- format slot 25 of player with black glass pane named " " to be unstealable
- format slot 26 of player with black glass pane named " " to be unstealable
- if player's money is less than {@arrow}:
- format slot 10 of player with arrow named "&e&lARROW" with lore "&7Click here to purchase the||&7ability to craft arrows.||||&dPrice: &a${@arrow}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@arrow}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@arrow}:
- format slot 10 of player with arrow named "&e&lARROW" with lore "&7Click here to purchase the||&7ability to craft arrows.||||&dPrice: &a${@arrow}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@arrow}%" to close then run [make console execute command "{@arrowCommand}"]->[subtract {@arrow} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6arrows!"]->[make player execute command "unlockweapons"]
- if player has permission "{@arrowPerm}":
- format slot 10 of player with glowing arrow named "&e&lARROW" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@bow}:
- format slot 11 of player with bow named "&e&lBOW" with lore "&7Click here to purchase the||&7ability to craft bows.||||&dPrice: &a${@bow}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@bow}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@bow}:
- format slot 11 of player with bow named "&e&lBOW" with lore "&7Click here to purchase the||&7ability to craft bows.||||&dPrice: &a${@bow}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@bow}%" to close then run [make console execute command "{@bowCommand}"]->[subtract {@bow} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6bows!"]->[make player execute command "unlockweapons"]
- if player has permission "{@bowPerm}":
- format slot 11 of player with glowing bow named "&e&lBOW" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@stonesword}:
- format slot 13 of player with stone sword named "&e&lSTONE SWORD" with lore "&7Click here to purchase the||&7ability to craft stone sword.||||&dPrice: &a${@stonesword}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@stonesword}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@stonesword}:
- format slot 13 of player with stone sword named "&e&lSTONE SWORD" with lore "&7Click here to purchase the||&7ability to craft stone sword.||||&dPrice: &a${@stonesword}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@stonesword}%" to close then run [make console execute command "{@stoneswordCommand}"]->[subtract {@stonesword} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6stone swords!"]->[make player execute command "unlockweapons"]
- if player has permission "{@stoneswordPerm}":
- format slot 13 of player with glowing stone sword named "&e&lSTONE SWORD" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@woodensword}:
- format slot 12 of player with wooden sword named "&e&lWOODEN SWORD" with lore "&7Click here to purchase the||&7ability to craft wooden swords.||||&dPrice: &a${@woodensword}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@woodensword}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@woodensword}:
- format slot 12 of player with wooden sword named "&e&lWOODEN SWORD" with lore "&7Click here to purchase the||&7ability to craft wooden swords.||||&dPrice: &a${@woodensword}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@woodensword}%" to close then run [make console execute command "{@woodenswordCommand}"]->[subtract {@woodensword} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6wooden swords!"]->[make player execute command "unlockweapons"]
- if player has permission "{@woodenswordPerm}":
- format slot 12 of player with glowing wooden sword named "&e&lWOODEN SWORD" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@goldsword}:
- format slot 14 of player with gold sword named "&e&lGOLD SWORD" with lore "&7Click here to purchase the||&7ability to craft gold swords.||||&dPrice: &a${@goldsword}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@goldsword}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@goldsword}:
- format slot 14 of player with gold sword named "&e&lGOLD SWORD" with lore "&7Click here to purchase the||&7ability to craft gold swords.||||&dPrice: &a${@goldsword}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@goldsword}%" to close then run [make console execute command "{@goldswordCommand}"]->[subtract {@goldsword} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6gold swords!"]->[make player execute command "unlockweapons"]
- if player has permission "{@goldswordPerm}":
- format slot 14 of player with glowing gold sword named "&e&lGOLD SWORD" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@ironsword}:
- format slot 15 of player with iron sword named "&e&lIRON SWORD" with lore "&7Click here to purchase the||&7ability to craft iron swords.||||&dPrice: &a${@ironsword}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@ironsword}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@ironsword}:
- format slot 15 of player with iron sword named "&e&lIRON SWORD" with lore "&7Click here to purchase the||&7ability to craft iron swords.||||&dPrice: &a${@ironsword}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@ironsword}%" to close then run [make console execute command "{@ironswordCommand}"]->[subtract {@ironsword} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6iron swords!"]->[make player execute command "unlockweapons"]
- if player has permission "{@ironswordPerm}":
- format slot 15 of player with glowing iron sword named "&e&lIRON SWORD" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- if player's money is less than {@diamondsword}:
- format slot 16 of player with diamond sword named "&e&lDIAMOND SWORD" with lore "&7Click here to purchase the||&7ability to craft diamond swords.||||&dPrice: &a${@diamondsword}||||&c&lYOU CAN NOT||&c&lAFFORD THIS!||&e&oYour Balance: &a%player's money%||&e&oYou need: &a$%{@diamondsword}-(money of player)%" to be unstealable
- if player's money is more than or equal to {@diamondsword}:
- format slot 16 of player with diamond sword named "&e&lDIAMOND SWORD" with lore "&7Click here to purchase the||&7ability to craft diamond swords.||||&dPrice: &a${@diamondsword}||||&e&oYour Balance: &a%player's money%||&e&oAfter Purchase: &a$%(money of player)-{@diamondsword}%" to close then run [make console execute command "{@diamondswordCommand}"]->[subtract {@diamondsword} from player's money]->[broadcast "&e&l&o%player% &a&ohas bought the ability to craft &6diamond swords!"]->[make player execute command "unlockweapons"]
- if player has permission "{@diamondswordPerm}":
- format slot 16 of player with glowing diamond sword named "&e&lDIAMOND SWORD" with lore "&r&a&lABILITY UNLOCKED!" to be unstealable
- on craft of leather helmet:
- if player doesn't have permission "{@leatherHelmPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dleather helmet&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of leather chestplate:
- if player doesn't have permission "{@leatherChestplatePerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dleather chestplate&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of leather leggings:
- if player doesn't have permission "{@leatherLeggingsPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dleather leggings"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of leather boots:
- if player doesn't have permission "{@leatherBootsPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dleather boots&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of iron helmet:
- if player doesn't have permission "{@ironHelmPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &diron helmet&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of iron chestplate:
- if player doesn't have permission "{@ironChestplatePerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &diron chestplate&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of iron leggings:
- if player doesn't have permission "{@ironLeggingsPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &diron leggings&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of iron boots:
- if player doesn't have permission "{@ironBootsPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &diron boots&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of gold helmet:
- if player doesn't have permission "{@goldHelmPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dgold helmet&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of gold chestplate:
- if player doesn't have permission "{@goldChestplatePerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dgold chestplate&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of gold leggings:
- if player doesn't have permission "{@goldLeggingsPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dgold leggings&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of gold boots:
- if player doesn't have permission "{@goldBootsPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dgold boots&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of diamond helmet:
- if player doesn't have permission "{@diamondHelmPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &ddiamond helmet&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of diamond chestplate:
- if player doesn't have permission "{@diamondChestplatePerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &ddiamond chestplate&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of diamond leggings:
- if player doesn't have permission "{@diamondLeggingsPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &ddiamond leggings"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of diamond boots:
- if player doesn't have permission "{@diamondBoots}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &ddiamond boots&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of arrow:
- if player doesn't have permission "{@arrowPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &darrows&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of bow:
- if player doesn't have permission "{@bowPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dbows&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of wooden sword:
- if player doesn't have permission "{@woodenswordPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dwooden swords&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of stone sword:
- if player doesn't have permission "{@stoneswordPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dstone swords&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of gold sword:
- if player doesn't have permission "{@goldswordPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &dgold swords&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of iron sword:
- if player doesn't have permission "{@ironswordPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &diron swords&e!"
- send "&aUnlock to do so with &d/unlock&a!"
- on craft of diamond sword:
- if player doesn't have permission "{@diamondswordPerm}":
- cancel event
- send "&c&l(&4&l!&c&l) &eYou do not have the permission to craft a &ddiamond swords&e!"
- send "&aUnlock to do so with &d/unlock&a!"
Advertisement
Add Comment
Please, Sign In to add comment