LootCrates
This project will be inactive and won't work for 1.8 servers until I finished the recoding.
Development Builds
Quote from the developer chengzi368:Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk!
Features
A simple plugin that allows you to open crates. Unlike SurpriseEggs, it allows you to use keys to open crates. Also, it allows players to uncrate in their own inventory without any command, and gives players only one item per crate, like TF2 and CS:GO.
- It also support random items from MythicDrops and CrackShot!
Videos
English(up to date):
https://www.youtube.com/watch?v=6u9txDUjI2Q
https://www.youtube.com/watch?v=MFC_k5ZVRQE
Portuguese(for v1.1.3 and older):
https://www.youtube.com/watch?v=_FVgtX_fxsI
(Thank shahiem99 Theekshana and AbsintoJ for making those videos!)
Pictures
(Move your mouse on the name of reward in broadcasts)
How to use
Open your inventory or workbench, then put your crates and keys into the crafting zone, and click the dirt on the result slot... It will turn to your reward instantly!
Commands
- /lc give <crate/key> <type> [amount] [player]
- /lc reload
Aliases: /lootcrates or /crates
Permissions
- LootCrates.give
- LootCrates.reload
Configuration
- Need documenters!
Auto-Updater
This plugin contains an auto-updater to check updates and notify you in order to make sure you are using the newest, not buggy version. However if you want to disable this feature for some reasons, you can set checkUpdate to false in plugins/LootCrates/config.yml.
Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service for this plugin can be done by editing plugins/LootCrates/config.yml and changing useMetrics to false.
TODO List
- Drop crates to online players randomly. (Maybe in v1.3.0)
Broadcast to online players after somebody opened a crate.(In v1.2.0)
Comment below to add your ideas here!
Donate
I am just a student who put a lot of time into this project and do my best on it.
If you love it, feel free to donate a little to my PayPal account:
Thank you, it is the best way to support the development and encourage me.
- @KevinEssence - $10
Known Problems
- None
Servers
- play.theluminious.com
Other Plugins
- SurpriseEggs - Another awesome crate plugin, but allows bigger inventory for every "eggs".
- BetterPositionTP - A better way to travel around the world(jk, but it is simple and useful).
- LootBox - An alternative, similar plugin. (It isnt my plugin however, just a suggestion :) )
And, can you add back the chances idea?
Ideally i want to give percentages of items to people.
It's quite annoying that my most valuable items could have the same chance as my least valuable items if i put them in the same chest.
When this is done, i'll probably give a contribution. (Not bribing, but i'd love to see this plugin come to full potential)
Do you plan on adding support for enchantments beyond the normal? Persay i can use Efficiency 100?
@Swazer
Oh! It will be fixed soon.
Awesome plugin! Although a minor bug.
Let's say that you have 10 crates with no lock and you would get a diamond in the first one. Then you can hold on to that diamond and keeping opening the other 9 crates and get 9 more diamonds. Even if you'd get 16 apples you aren't able to pick them up since you are already holding a diamond.
Could you add a something like this:
A person who has a key has to walk up to a chest(crate), right-click it and gets a reward item.
@UnstoppableRemix
Try to use the last dev version from my ci server. If it still gives you errors, please send the error information to me so I can solve the problem. :)
I'm having some terrible problems. LootCrates v1.2.8 keeps giving me an internal server error after trying to run /lootcrates reload. Then the plugin doesn't work until I delete the folder created by the Jar.
I do have Towny, however, which uses /lc, and I don't know how to set an alias. However it still completely breaks the plugin whenever I change the config.yml or try to reload it with /lootcrates reload. /lootcrates give crate Default 10 UnstoppableRemix works, but if I change the config it breaks. Help please? (I'm not uninstalling Towny permanently)
EDIT: I am using CraftBukkit 1.7.9/1.7.10 and haven't used Spigot since my server ran.
@ChengZi368
Ok, I will try it. However, it still confuses me that the latest build says added support for Crackshot, yet the only build that doesn't get errors when using the crackshot item format is the last version (labeled as broken, do not use)
@ChengZi368
Were you hoping to have someone make an updated video for this?
I consider myself a relatively decent commentator, and this plugin is a hero in my books. Although my server isn't currently ready to run this.
If you'd want me to record a video, my channel is here - www.youtube.com/osinglet
PM me for more info :^)
@DETHREAPER363
The name of the crate, for example, Default.
umm when i do /lc crate whats "<name>"i looked in config and everything i dont understand it...
@Ponygobyebye
Try the last dev version, I didnt test it in the game but theres no error in the console.
@ChengZi368
Oh crap, you live in China? That's a whole different story then lol. Whenever you can find time to test that would be great. Good luck with the whole, no sleep, only work thing :P
@Ponygobyebye
The schools in China give so much homework to their students and schools end at 9.30 pm. :(
@ChengZi368
I understand, but the gun crate system is a huge part of my server and I was hoping for Crackshot compatibility ASAP. I too am a High School/College Student and don't have a whole lot of time and I don't mean to rush you but it has been an ongoing problem for about 2 weeks now.
Is there a way to add more than one enchantment to an item? So far i can only add a name and 1 enchantment
@Ponygobyebye
The chance system should works on the guns.. I will test it by myself later, I am too busy studying these days, as a senior high school student. :(
@ChengZi368
It does not work. Have you tested it yourself yet? I think the problem lies in the quotations. Also, how would you add a chance factor to the guns?
@Ponygobyebye
Oh, I am very sorry about that, its - "crackshot:<gunName> 1"
theres no space between crackshot: and gun's name.
I am not very sure its gun's name or tier.. If gun's name doesnt work you can try to use tier...
@MrSwiftzYT
Try the last dev version?
@Ponygobyebye
@MrSwiftzYT
I will look into them.
@Milkyway705
Broadcasting rewards is already added, isnt it?