Crates
Description
Did you play survival games and saw that some servers had crates that fall from the sky? Ever wanted those on your server? Well this plugin enables that for you!
(These don't randomly fall from the sky though, I might add that as a future feature)
What are crates?
If you have never played survivalgames, then crates are like retextured chests, but they are easier to store and you can place them together in any pattern (like 3 right next to eachother)
You can also open them if there is a block above, incase you need to put one in a small space.
How to use it
There are 2 ways of creating a crate, the first way is to shift+right click a chest, it will turn the chest into a crate and transfer its items too!
The 2nd way is to craft one, the crafting recipe is shown below:
(If the image is not loading, then the recipe is the same as making a chest but with a stick in the middle) Note: The crate looks like the front of a piston
Configuration
You can configure the plugin in the config.yml located in the plugin's folder.
It should look like this:
CreationMethods: Stick: Enabled: true ID: 280 Crafting: Enabled: true Recipe: - WWW - WSW - WWW - W = Wooden Planks, S = Stick, C = Chest
Known bugs
Currently none
I also have that bug @LegendDoubleB
Please fix it :)
@LegendDoubleB
That does not work. I tried that(also ID).
I do not believe that you can change the recipe, but if you should be able to do so, one must change the variables in the config like so:
Default Recipe: - WWW - WSW - WWW - W = Wooden Planks, S = Stick, C = Chest
Using diamond as an example:
Recipe: - WWW - WDW - WWW - W = Wooden Planks, D = Diamond, C = Chest
or even:
Recipe: - OWO - DCD - OWO - W = Wooden Planks, D = Diamond, C = Chest, O = Obsidian
Yet, you can always shift+right click a chest with a stick. Let me know if this does not work.
Stupid question but, how do you change the recipe?
A great plugin, yet I found a bug.
Every time I place a block, other than a crate, I get this error. Not only does this spam my server.log file and create noticable lag, but it also causes all entered commands to halt until the error passes.
Example: I am fast-building a wall. I used 50 cobblestone so far. During that time, the error will run until each block is entered as an error, creating 50 errors. If many people are building fast at the same time, then you will have a TPS of under 10!
[severe] Could not pass event BlockPlaceEvent to Crates v1.2 [javastacktrace] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) [javastacktrace] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [javastacktrace] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) [javastacktrace] at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:112) [javastacktrace] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) [javastacktrace] at net.minecraft.server.v1_6_R2.ItemBlock.processBlockPlace(ItemBlock.java:89) [javastacktrace] at net.minecraft.server.v1_6_R2.ItemBlock.interactWith(ItemBlock.java:73) [javastacktrace] at net.minecraft.server.v1_6_R2.ItemStack.placeItem(ItemStack.java:79) [javastacktrace] at net.minecraft.server.v1_6_R2.PlayerInteractManager.interact(PlayerInteractManager.java:389) [javastacktrace] at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:628) [javastacktrace] at net.minecraft.server.v1_6_R2.Packet15Place.handle(SourceFile:58) [javastacktrace] at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) [javastacktrace] at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) [javastacktrace] at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) [javastacktrace] at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) [javastacktrace] at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) [javastacktrace] at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) [javastacktrace] at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) [javastacktrace] at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) [javastacktrace] at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) [javastacktrace] Caused by: java.lang.NullPointerException [javastacktrace] at com.hotmail.dillon_d.CrateListener.onBlockPlace(CrateListener.java:115) [javastacktrace] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javastacktrace] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [javastacktrace] at java.lang.reflect.Method.invoke(Unknown Source) [javastacktrace] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
This is a really cool plugin. This will help my storage alot.
"(These don't randomly fall from the sky though, I might add that as a future feature)"
Please, make this a configurable feature.
Other than that, great job on the plugin.
how can i randomly generate in the sg world? and what is the sg world?
Cool Plugin!
this doesnt seem to be working for me
i put the plugin in the plugin folder of my mac, then i reloaded my server and then nothing changed. i dont see the plugin name in /plugins. and i tryed to craft it and it didnt work. idk what hapened but it is not working
Is there a feauture to replace all chests in a worledit selection to crates? :)
Question
This Doesn't Work For My Survival Games How Do You Do This :P? Just Asking
Question
Need A Tester I Can Be One I Am A Tester Of 2 Plugins Echopet And PvP Sticks Private Message Me If Your Interested.
@toxictroop
More likely you should be waiting for bug fixes.
Got message Jul 17, 2013 that the bugs are being fixed, still nothing done.
waiting for chest falling from the sky...
Can hoppers be used to add things to the crates ?
If you break the Crate, its drops a Piston..
Does this work with the sg plugin by double_0_Negeative
really cool plugin man i have no issues with it and all my players love it :D keep up the good work :D
@osbert333
@xiProMan
Learn to use PASTEBIN.
http://www.pastebin.com
http://pastebin.com/WXwuA5YV