BookcaseStorage - Store selected items in bookcases Version: v1 (In response to this suggestion) Description This mod allows your players to use bookcases to keep selected items in via right clicking. The bookcase will reject items players attempt to store that aren't on the properties file. Download (Version 1, tested on build 860 + 935) Usage: The plugin will work as it is with no configuration, however, you can edit the BookcaseStorage.properties file to change the ID's you can store in the bookcase. By default it allows paper, books, maps, and paintings. Known Bugs When you place an item in the bookcase and it is rejected, it spews it upwards, instead of giving it back to the player, I tried and couldn't fix this. When an item is rejected, a local copy of the item can still be seen in the bookcase by the player, this item cannot be taken back and will dissapear when the bookcase is closed. I tried and couldn't fix this. Changelog: Version 1: Initial Release Tested on build 860 + 935
very cool, thanks =] edit: cannot try it yet, i have to fix my server computer... i hope i can try it tomorow.
Since you don't work on plug-ins anymore, can we get the source code? I am getting the current error in case anyone knows why: java.lang.AbstractMethodError at net.minecraft.server.Slot.a(Slot.java:48)at net.minecraft.server.Container.a(SourceFile:149)at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:884)at net.minecraft.server.Packet102WindowClick.a(SourceFile:28)at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)at net.minecraft.server.NetServerHandler.a(NetSErverHandler.java:84)at net.minecraft.server.NetworkListenThread.a(SourceFile:105)at net.minecraft.server.MinecraftServer.h(MineCraftServer.java:451)at net.minecraft.server.MinecraftServer.run(MineCraftServer.java:361)at net.minecraft.server.ThreadServerApplication.run(SourceFile:442)Any idea what's going on here?
For whoever picks up updating this plugin, could you make it so the bookcase only opens when sneak clicking? Otherwise stuff can't be placed on the bookcase :/ Source code would be amazing.
anyone? @drupsmckracken, can you continue the plugin? pleasee there is an extended request here: to fill it with books on default. http://forums.bukkit.org/threads/req-bookshelf-full-of-books.40843/#post-744472 EDIT by Moderator: merged posts, please use the edit button instead of double posting.
ooh awesome thing you can do when an item is rejected... you can put lava ontop of book cases and get the items regected to be burnt
What now??? 22:01:47 [SEVERE] Could not pass event org.bukkit.event.player.PlayerInteractEve nt to BookcaseStorage java.lang.AbstractMethodError: com.daviidi.plugins.bookcasestorage.BookcaseInven tory.f()V at net.minecraft.server.ContainerChest.<init>(SourceFile:14) at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:474) at com.daviidi.plugins.bookcasestorage.ABookcase.open(ABookcase.java:20) at com.daviidi.plugins.bookcasestorage.BookcaseStorage.openInventory(Boo kcaseStorage.java:207) at com.daviidi.plugins.bookcasestorage.BookcaseStorage.open(BookcaseStor age.java:203) at com.daviidi.plugins.bookcasestorage.PListener.onPlayerInteract(PListe ner.java:18) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j ava:340) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:61) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:460) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven t(CraftEventFactory.java:187) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j ava:283) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:609) at net.minecraft.server.Packet15Place.handle(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7 8) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 22:01:57 [SEVERE] Could not pass event org.bukkit.event.player.PlayerInteractEve nt to BookcaseStorage java.lang.AbstractMethodError: com.daviidi.plugins.bookcasestorage.BookcaseInven tory.f()V at net.minecraft.server.ContainerChest.<init>(SourceFile:14) at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:474) at com.daviidi.plugins.bookcasestorage.ABookcase.open(ABookcase.java:20) at com.daviidi.plugins.bookcasestorage.BookcaseStorage.openInventory(Boo kcaseStorage.java:207) at com.daviidi.plugins.bookcasestorage.BookcaseStorage.open(BookcaseStor age.java:203) at com.daviidi.plugins.bookcasestorage.PListener.onPlayerInteract(PListe ner.java:18) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j ava:340) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:61) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:460) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven t(CraftEventFactory.java:187) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j ava:283) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:609) at net.minecraft.server.Packet15Place.handle(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7 8) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 22:02:05 [SEVERE] Could not pass event org.bukkit.event.player.PlayerInteractEve nt to BookcaseStorage java.lang.AbstractMethodError: com.daviidi.plugins.bookcasestorage.BookcaseInven tory.f()V at net.minecraft.server.ContainerChest.<init>(SourceFile:14) at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:474) at com.daviidi.plugins.bookcasestorage.ABookcase.open(ABookcase.java:20) at com.daviidi.plugins.bookcasestorage.BookcaseStorage.openInventory(Boo kcaseStorage.java:207) at com.daviidi.plugins.bookcasestorage.BookcaseStorage.open(BookcaseStor age.java:203) at com.daviidi.plugins.bookcasestorage.PListener.onPlayerInteract(PListe ner.java:18) at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j ava:340) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:61) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:460) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven t(CraftEventFactory.java:187) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j ava:283) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:609) at net.minecraft.server.Packet15Place.handle(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7 8) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) >
Long time no see Daviidi. You will notice that this thread has now been placed into the Inactive Plugin subforum. If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum. Thanks for your time. md_5
very nice idea, but the properties and data files should be put into a bookcase storage folder.Like this