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 :) )
@ChengZi368
Do you think it could be possible to add commands maybe to crates? I was thinking of making a crate that gives players random amounts of mcmmo credits but im not entirely sure if its possible. Great work on the plugin also, this together with voteroulette and mythicdrops is the best thing ever.
@Droodiz
Okay I will add random drops in next version (v1.2.8).
Or maybe you can craft the crates?! would be kinda cool and good!
Please do "Drop crates to online players randomly. (Maybe in v2.0.0)" now it would be really good or something similar feature where people can get free crates somehow
@KuraiWolf2014
Can you please use pastebin or something like that? This format is totally unreadable.
I keep getting an error when reloading the config:
11:54:45 [INFO] KuraiWolf2014 issued server command: /lc reload 11:54:45 [INFO] [LootCrates] Using locale: en_US 11:54:45 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'lc' in plugin LootCrates v1.2.6 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:19 2) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServe r.java:528) at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerCon nection.java:968) at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.j ava:886) at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java :837) at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49) at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296 ) at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java :116) at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:3 0) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:5 92) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:2 27) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:4 88) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java :421) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:5 83) Caused by: java.lang.NullPointerException at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:68) at org.bukkit.inventory.ItemStack.<init>(ItemStack.java:46) at xyz.chengzi.LootCrates.ConfigLoader.getItemStackList(ConfigLoader.jav a:110) at xyz.chengzi.LootCrates.ConfigLoader.<init>(ConfigLoader.java:83) at xyz.chengzi.LootCrates.Listeners.CommandListener.processCMD(CommandLi stener.java:139) at xyz.chengzi.LootCrates.Listeners.CommandListener.onCommand(CommandLis tener.java:50) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
the config looks like this:
broadcastUnboxes: true useMetrics: true checkUpdate: true crates: common: material: CHEST rewards: - IRON_SWORD 1 - IRON_INGOT 3 - ARROW 10 uncommon: material: CHEST rewards: - NAME_TAG 1 - LEASH 1 - GOLD_SWORD 1 - GOLD_INGOT 3 - ARROW 20 - IRON_INGOT 6 - INK_SACK 1 - DYEPOWDER_BLUE 1 - DYEPOWDER_RED 1 - DYEPOWDER_GREEN 1 - DYEPOWDER_YELLOW 1 rare: material: CHEST rewards: - DIAMOND_SWORD 1 - DIAMOND 3 - GOLD_INGOT 6 - IRON_INGOT 9 - COCOA 1 - INK_SACK 1 - DYEPOWDER_RED 1 - DYEPOWDER_YELLOW 1 - DYEPOWDER_GREEN 1 - DYEPOWDER_BLUE 1 - ARROW 30 - BLAZE_ROD 1 - GOLDEN_APPLE 1 - CAKE 1 - PUMPKIN_PIE 1 NoLock: material: ENDER_CHEST rewards: - DIAMOND 5 - DIAMOND_SWORD 1 requiredKey: false keys: common: material: TRIPWIRE_HOOK fitCrateTypes: - common uncommon: material: TRIPWIRE_HOOK fitCrateTypes: - uncommon rare: material: TRIPWIRE_HOOK fitCrateTypes: - rare lang: en_US
what am I doing wrong?
@Ponygobyebye
I will do that later, because I dont have free time at the moment.
This plugin looks great and I just downloaded it, but could you please allow lootcrates to unbox Crackshot guns? That would really make this plugin for me. THank you ahead of time for your consideration.
@versimo
I am no longer playing Minecraft so I dont have time to test it.
@JPDayz
It should be fixed in the last dev build.
@Treeo72
Testing part is necessary, nevertheless.
@JPDayz
Dude calm down, he is trying, its not as easy as it looks.
Unbelievable, now instead of MythicDrop items, it gives mycelium. Did you even tested it before upload? Even with default config is doing that.
New config layout, when is it coming?
@Skylord_1023
Make sure you have installed the plugin correctly. :|
@Treeo72
Any errors appear in the console?
@JPDayz
Fixed in the lastest dev.
ERROR
Using last dev build 1.7.9R0.3
Can you give examples for armor? It doesn't work for me, whenever i try to get armor it gives my the mysteryblock instead.
Hmm. are there any other plugin requirements for this plugin? When i drop it in the plugins folder i am not getting a folder, also i am not able to use commands when in console/IN-Game.
I have no idea why.
@JPDayz
Oh sorry I forgot that MythicDrops everytimes gen a different item.
Try the lastest dev version.