Spigot BookCases 1.0.1

Store your stuff on a bookshelf!

  1. Avixk submitted a new resource:

    BookCases - Store your stuff on a bookshelf!

    Read more about this resource...
  2. Okay, a few questions and observations here. First thing, do not allow open inventory while sneaking would be a nice addition. Can't place signs or stack bookshelves unless you have a wall behind to place them on. The other thing that concerns me is the method for storing the information. I am all fine with flat files, in fact I prefer them... but it does not appear that the bookshelf is removed from the file when broken. This could be a little cumbersome for larger servers. Other than that, great plugin, glad to see someone reviving this feature.

    You know though... in lieu of sneaking to not open... sneaking to open could be even cooler... just a thought. :D
  3. Oops... speaking of onBlockBreak... seems there is a little error when you break the bookcases.

    Code (Text):
    10:13:46 AM [javastacktrace]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[custom.jar:git-Spigot-b38b33e-1e56438]
    10:13:46 AM [javastacktrace]     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [custom.jar:git-Spigot-b38b33e-1e56438]
    10:13:46 AM [javastacktrace]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[custom.jar:git-Spigot-b38b33e-1e56438]
    10:13:46 AM [javastacktrace]     at net.minecraft.server.v1_8_R2.PlayerInteractManager.breakBlock(PlayerInteractManager.java:286) [custom.jar:git-Spigot-b38b33e-1e56438]
    10:13:46 AM [javastacktrace]     at net.minecraft.server.v1_8_R2.PlayerInteractManager.a(PlayerInteractManager.java:121) [custom.jar:git-Spigot-b38b33e-1e56438]
    10:13:46 AM [javastacktrace]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [custom.jar:git-Spigot-b38b33e-1e56438]
    10:13:46 AM [javastacktrace]     at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:598) [custom.jar:git-Spigot-b38b33e-1e56438]
    10:13:46 AM [javastacktrace]     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_45]
    10:13:46 AM [javastacktrace]     at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_45]
    10:13:46 AM [javastacktrace]     at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:714) [custom.jar:git-Spigot-b38b33e-1e56438]
    10:13:46 AM [javastacktrace]     at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [custom.jar:git-Spigot-b38b33e-1e56438]
    10:13:46 AM [javastacktrace]     at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:655) [custom.jar:git-Spigot-b38b33e-1e56438]
    10:13:46 AM [javastacktrace]     at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:558) [custom.jar:git-Spigot-b38b33e-1e56438]
    10:13:46 AM [javastacktrace]     at java.lang.Thread.run(Unknown Source) [?:1.8.0_45]
    10:13:46 AM [javastacktrace] Caused by: java.lang.NullPointerException
    10:13:46 AM [javastacktrace]     at Bookshelf.Main.onBreakBlock(Main.java:67) ~[?:?]
    10:13:47 AM [javastacktrace]     at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_45]
  4. Thanks for your input! I'll fix that error as soon as I can along with the sneaking problem and the massive amounts of files. I got kind of lazy when making this so I didn't bother to fix some bugs, but it turns out that people actually like it so I'll keep it updated.
  5. Love the idea, nice plugin.
  6. i would download it, but there are 69 downloads, so i cant
  7. I see your problem
    • Agree Agree x 1
  8. Hm.. I really love this plugin, thanks for writing it! I'm happy with it one way or the other, but here are a couple ideas I've had:

    • Allow limiting the type of contents that can be placed into the bookshelf to a configured list (for example, to books, paper, maps, etc)
    • Allow configuring the size of the bookcase
    It has always made no sense to me that bookcases couldn't hold anything. :) Thanks for fixing that.
  9. Awesome!

    Could you add a factions hook, so players not in a faction can't access the bookcase?
  10. This very good but I would like it to be stored in the Bookcases see it all and is not a private box.
  11. Will this like lagg the server by any chance?