PersonalChest
This is my first plugin and even my first Java written thing
Hope you will enjoy it
This plugin makes it possible to have different chest inventories for each Player with one chest.
If you register a chest with contents already in it each player will have the change to get the items like a treasure chest.
It is also possible to make a inventory chest that can be used by each player personally.
Quote:Example:
- ADMIN creates a chest width 2 dirt inside.
- ADMIN registers the chest to be a PersonalChest with "/pchest create".- PLAYER1 walks to the chest and takes 1 dirt form the chest, so now every time PLAYER1 looks in the chest there is only 1 dirt in there.
- If PLAYER2 opens the chest he sees the orginal contents of the chest, the original 2 dirt.
He takes all the contents and now the chest is empty for PLAYER2.-For PLAYER1 there is still 1 dirt in the chest.
ToDo:
Quote:->Open for suggestions<-
WIKI
https://github.com/rodeyseijkens/PersonalChest/wiki
Source Code
https://github.com/rodeyseijkens/PersonalChest
A donation is greatly appreciated
If you run a paid server and need some custom functionalities I'm willing to make that happen for you if you make a generous donation, contact me if you got some requests.
Awesome plugin!
Version 1.0.6 gives me this though:
01:20:15 [SEVERE] Could not pass event BLOCK_BREAK to PersonalChestjava.lang.NullPointerException at nl.rodey.personalchest.pchestManager.removePlayerChestFile(pchestManager.java:413) at nl.rodey.personalchest.pchestManager.remove(pchestManager.java:461) at nl.rodey.personalchest.pchestBlockListener.onBlockBreak(pchestBlockListener.java:64) at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:539) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339) at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:201) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:98) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:498) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:208) at net.minecraft.server.Packet14BlockDig.a(SourceFile:43) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550) at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
v1.0.5 works for me however. Hope this helps and not hinders!
I have a problem..
this is my config
Debug: true
Worlds: Otaku_Island #My Whole Map
ResidenceRegions:
WorldGuardRegions: otaku_island.otaku_town, otaku_island.otaku_town_park, otaku_island.otaku_town_square #I want to cancel the PersChest inside this region
but it's not working..
@rodeyseijkens
Some adventure maps that I have been using this on have redstone mechanisms that are activated by buttons/levers that must be manually reset (i.e. doors) that players neglect to reset or cannot reach from the point that the mechanism affects.
I was curious as to whether or not it was possible to create each instance of (switch) redstone activation personal as the chests are, otherwise most redstone mechanisms must be changed to falsebook circuit systems.
Sorry too you all for the late response, for some reason I don't get an notification when there are new comments...
Currently I'm very busy too so every spare time I can find I will work on my plugins. I'm even replying when I'm not supposed too because I don't quite have the time :P
Everything for the community :D
@jorisk322 Specific Chest and world permissions would be a nice addon, I'll add it to the "To Do" And apologie accepted ;)
@AvariceSyn Thank you for noticing forgot about that, I'm on to it. And the lever/button part could you explain more about that functionality?
@ferrybig @bdf1992 This plugin needs spout because Vanilla Minecraft(Bukkit) can't detect if chests are opened and closed or not. With spout I can detect that. It's quite a thing that I need for a chest plugin :P So lets hope for a future update :)
By the way, enchanted items placed into chests which are then made personal chests lose their enchantments.
@KoalanKing
I don't know if you have already found out, but in your config, the world/region thingies are the worlds/regions where the plugin will automatically create PC's.
- Deleted jerkeyness -
Sorry, I just found out what the problem was (which was my fault), and I want to apologize for my jerkeyness. I was just very upset about losing all the users stuff (which is back now).
Thanks for this amazing plugin!
@ferrybig
You forget that it's not just aesthetics that Spout adds, but dozens of other functions that most players wouldn't even see that vanilla isn't capable of.
why it need spout, if it ads not even one spout specific action?
Great plugin! Amazing for Adventure Maps!
Now if it were possible to have triggers (i.e. levers, buttons, pressureplates) be personal, my life would be complete! ♥
@bdf1992
I've seen another plugin around doing something similar that the chest would 'spawn' the master set of items into the chest. So far it is kinda buggy but I'm really happy with this plugin. It definitely makes it easier for me to set up abandoned townships and dungeons with prizes waiting for each player.
I agree though with the ToDo on restricting players from taking only.
im not java savvy really, is there any way someone could make thing not use spout, or it there another plugin like this that dosn't used spout?
Great Plugin except when people place just a regular chest without labeling it personalchest~ it still because a personalchest and they cannot access it. I can add the permission to access personalchest But how do I make it so they do not autocreate these chests?
Permissions please? So only players with permission can open a specific chest. T€hat would be totally awesome.
Perhaps you should put "Requires Spout" somewhere? Anyway, fun peice of plugin. Thanks.