Jump to content

Crates Skript [1.13+]


Santio71

Recommended Posts

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 by Santio71
  • Like 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

himods_1_464x213.pngok3.png.9f407538426375980dbfd1a70bd93a74.pngok2.png.2d1e6960fee974293bc3aaebeb41d5db.png

Link to comment
Share on other sites

  • 2 months later...

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

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

  • 4 months later...

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 

image.png.17a385f298c8969f6b1cf03e27ee50d3.png

 

Link to comment
Share on other sites

  • zKoro locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...