Santio71 Posted September 13, 2019 Share Posted September 13, 2019 (edited) Crates Skript (NOT OPTIMIZED) This is a crates skript I've made a while ago, and it's about 140 lines Note that when this was made, this was not made to support tons of players, so if too many players are using crates, it could cause lag! This should however not matter for most people Permissions /crate - crate.use or crate.* /keyall - crate.keyall or crate.* Example: Blue = Command Gray = Comment # This is a tutorial on how to setup a simple crate # Create a crate /crate create (crateName) # This will create a new crate is not already existing # Now to get the crate to be able to place, run the following command /crate crate (crateName) # Once you get the crate in your inventory, place it down # To remove a crate, break it in creative mode, to view contents, left click on it with your fist in survival # To open a crate right click with it with a key or you get flung back! # To add items, run this command while holding that item you wish to add /crate additem (crateName) # Removing items and crates are also simple, examples below # Note you must also be holding that item in hand to remove it from a crate! /crate removeItem (crateName) # Remove a item from a crate /crate remove (crateName) # Remove a crate # Getting keys are also simple, to give everyone a command, run the keyall command # To give yourself a key use the command shown below /crate key (crateName) This skript is somewhat old, but I still wanted to share it with the community for you guys to have, enjoy!I don't plan on updating this unless it's badly needed, than I will recode it with optimization, Until than enjoy the skript, If the pastebin link below does not work, Contact me so I can add a fixed one! Skript Below Click Here (pastebin.com) Edited September 13, 2019 by Santio71 1 Santio71 -> Developer Development Lead for Minehut Events Team First Joined: Jan. 24, 2016 [VIP]: ~2019 Joined CET: July 22, 2019 (About 1.75 years ago) [PRO]: May 6, 2020 Rejoined CET: June 15, 2020 Moderator: December 19, 2022 Link to comment Share on other sites More sharing options...
unomoney Posted November 13, 2019 Share Posted November 13, 2019 Can U Fix The keys because when i use them they stay in my inventory Link to comment Share on other sites More sharing options...
xlr100 Posted November 14, 2019 Share Posted November 14, 2019 The script is nice and players can play around with it, but as you said the script is pretty inefficient and there also isn't any crate animation so i wouldn't recommend to use it instead of a crate plugin . But nice script overall and keep up the good work! Link to comment Share on other sites More sharing options...
farwl Posted November 16, 2019 Share Posted November 16, 2019 would be nice if we could get some screenshots Graphic Designer - Skript Developer - Professional Builder - Content Creator Been on Minehut since January 2018. Throughout my time here I've mastered the skills you see above. I make free logos, banners, and server art for users on Minehut. I'm a proficient Skript developer. I'm also really good at building, you can see my portfolio by clicking here. Feel free to say hi if you see me somewhere Amethyst Studios Discord Link to comment Share on other sites More sharing options...
Ruukasu Posted March 30, 2020 Share Posted March 30, 2020 Oh hi Santio Link to comment Share on other sites More sharing options...
zKoro Posted April 2, 2020 Share Posted April 2, 2020 Locked - Please do not reply to a topic that has been inactive for over a month ⮞ Junior Mod (01/04/2020) - Resigned ⮜ ⮞ Discord » Koronotchi#0001 ⮜⮞ Minecraft Username » Koronotchi ⮜ Link to comment Share on other sites More sharing options...
Recommended Posts