SHARE
TWEET

Untitled

a guest Apr 18th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Crates Plugin.
  2.  
  3.  
  4. command /crate [<text>] [<text>]:
  5.     permission: crates.admin
  6.     trigger:
  7.         if arg-1 is not set:
  8.             message "&7&m]-------- &8» &dLiquidCrates &8«&7&m--------["
  9.            
  10.             message "&b/Crates help &8*&7 Open Help Page"
  11.             message "&b/Crates key <name> &8*&7 Gives you the Key"
  12.            
  13.             message "&b/Crates list &8*&7 Tells you all Crates"
  14.             message "&b/Crates create <name> &8*&7 Create a Crates"
  15.             message "&b/Crates delete <name> &8*&7 Delete A Crates"
  16.                    
  17.             message "&b/Crates chest <name> &8*&7 Gives you the Chest (Place it)"
  18.             message "&b/Crates tp <name> &8*&7 Teleport you to the Crates"
  19.             message "&b/Crates index <name> &8*&7 Open a Gui where you can add Items to the Crates"
  20.  
  21.  
  22.             message "&7&m]-------- &8» &dLiquidCrates &8«&7&m--------["  
  23.         if arg-1 is "help":
  24.             message "&7&m]-------- &8» &bLiquidCrates &8«&7&m--------["
  25.            
  26.             message "&b/Crates help &8*&7 Open Help Page"
  27.             message "&b/Crates key <name> &8*&7 Gives you the Key"
  28.            
  29.             message "&b/Crates list &8*&7 Tells you all Crates"
  30.             message "&b/Crates create <name> &8*&7 Create a Crates"
  31.             message "&b/Crates delete <name> &8*&7 Delete A Crates"
  32.                    
  33.             message "&b/Crates chest <name> &8*&7 Gives you the Chest (Place it)"
  34.             message "&b/Crates tp <name> &8*&7 Teleport you to the Crates"
  35.             message "&b/Crates index <name> &8*&7 Open a Gui where you can add Items to the Crates"
  36.  
  37.  
  38.             message "&7&m]-------- &8» &bLiquidCrates &8«&7&m--------["
  39.         if arg-1 is "create":
  40.             if arg-2 is set:
  41.                 if {Crates.Exist.%arg 2%} is true:
  42.                     send "&7[&dCrates&7] &cError: &7That crate does not exist."
  43.                 else:
  44.                     set {Crates.Exist.%arg 2%} to true
  45.                     add arg 2 to {Crates.Lsit::*}
  46.                     message "&8[&bCrates&8] &7The Crate &a%arg 2%&7 was created."
  47.             else:
  48.                 message "&8[&bCrates&8] &cError:&7 Need a Crate. &f(/Crates create <name>)"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top