Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Crates Plugin.
- command /crate [<text>] [<text>]:
- permission: crates.admin
- trigger:
- if arg-1 is not set:
- message "&7&m]-------- &8» &dLiquidCrates &8«&7&m--------["
- message "&b/Crates help &8*&7 Open Help Page"
- message "&b/Crates key <name> &8*&7 Gives you the Key"
- message "&b/Crates list &8*&7 Tells you all Crates"
- message "&b/Crates create <name> &8*&7 Create a Crates"
- message "&b/Crates delete <name> &8*&7 Delete A Crates"
- message "&b/Crates chest <name> &8*&7 Gives you the Chest (Place it)"
- message "&b/Crates tp <name> &8*&7 Teleport you to the Crates"
- message "&b/Crates index <name> &8*&7 Open a Gui where you can add Items to the Crates"
- message "&7&m]-------- &8» &dLiquidCrates &8«&7&m--------["
- if arg-1 is "help":
- message "&7&m]-------- &8» &bLiquidCrates &8«&7&m--------["
- message "&b/Crates help &8*&7 Open Help Page"
- message "&b/Crates key <name> &8*&7 Gives you the Key"
- message "&b/Crates list &8*&7 Tells you all Crates"
- message "&b/Crates create <name> &8*&7 Create a Crates"
- message "&b/Crates delete <name> &8*&7 Delete A Crates"
- message "&b/Crates chest <name> &8*&7 Gives you the Chest (Place it)"
- message "&b/Crates tp <name> &8*&7 Teleport you to the Crates"
- message "&b/Crates index <name> &8*&7 Open a Gui where you can add Items to the Crates"
- message "&7&m]-------- &8» &bLiquidCrates &8«&7&m--------["
- if arg-1 is "create":
- if arg-2 is set:
- if {Crates.Exist.%arg 2%} is true:
- send "&7[&dCrates&7] &cError: &7That crate does not exist."
- else:
- set {Crates.Exist.%arg 2%} to true
- add arg 2 to {Crates.List::*}
- message "&8[&bCrates&8] &7The Crate &a%arg 2%&7 was created."
- else:
- message "&8[&bCrates&8] &cError:&7 Need a Crate. &f(/Crates create <name>)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement