[MECH] BookcaseStorage v1 - Store selected items in bookcases [935]

Discussion in 'Inactive/Unsupported Plugins' started by Daviidi, Jun 21, 2011.

  1. Offline

    Daviidi

    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
     
  2. Offline

    kaasinees

    very cool, thanks =]

    edit: cannot try it yet, i have to fix my server computer... i hope i can try it tomorow.
     
  3. Offline

    TruffleDucks

    Yellow Duck :D
     
  4. Offline

    dupsmckracken

    Love the idea, but the properties and data files should be put into a bookcasestorage folder.
     
  5. Offline

    PinkBro

    Another great addition to my batman cave! Evil can no longer steal my CAKES!... And books and stuff.
     
  6. Offline

    kahlilnc

    Wow never seen this, how bout 953?
     
  7. 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?​

     
  8. Offline

    dupsmckracken

    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.
     
  9. Offline

    kaasinees

    Last edited by a moderator: May 16, 2016
  10. Offline

    shico75

    ooh awesome thing you can do when an item is rejected[spider]... you can put lava ontop of book cases :D and get the items regected to be burnt :p
     
  11. Offline

    niki5051

    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)
    >
     
  12. Offline

    md_5

    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
     
  13. Offline

    mark786

    very nice idea, but the properties and data files should be put into a bookcase storage folder.Like this
     

Share This Page