StorageUnit
Hi all. I got this idea to create a plugin that lets you make a "Storage Unit".
A Storage Unit will let you use commands to open it and deposit items into it,
by default it will fit 1998 different stacks but you can change the max size.
You can use the same open command but with an added argument,
which is the item name you're looking for, or part of the item name and
it will open the interface showing all items with their name or display name containing your search argument.
Example
You deposit 3 iron picks, some iron ingots and coal into the unit using "/su open".
You then want to get the coal out, so you type "su open coal" and it will show
you a double chest window containing all items with "coal" in their name.
The plugin is set as Experimental for now, because it may be unstable or have bugs left,
but I am fairly certain of there being no major issues with it.
I look forward to hearing what people have to say, and please report any bugs or issues you have with the plugin.
Commands
Command help is found at http://dev.bukkit.org/bukkit-plugins/storageunit/pages/commands/
Permissions
- storageunit.use
That's it I think. Let me know what you think and if you find any bugs!
-
View User Profile
-
Send Message
Posted Jul 28, 2013Do you think this will ever be available in SQL?
-
View User Profile
-
Send Message
Posted Jul 22, 2013@JPMaxx
What do you mean? As in it will search in those chests for the items in there? Or store all items in the chests?
-
View User Profile
-
Send Message
Posted Jul 21, 2013You should make it so we can link chests, In case anything happens with the plugin, we still have our chests of items!
-
View User Profile
-
Send Message
Posted Jul 19, 2013so far so good with a few select people testing.
If you do add an option for no limitation to access, can we still have the perms multiverse compatible, as there are some worlds I would not want it used.
For the info of others. I have increased mine to 49995 slots. Only downside is 10-20 second delay while it searches for an item... Still much faster than looking thru chests and auto organisation. :)
P.S gunpowder is suphur :D . We use the /item db command to see what name it will save under :)
-
View User Profile
-
Send Message
Posted Jul 19, 2013@Phonix420
All kinds of dyes save by the name of ink sac, since they're all the same id. It is pretty annoying but I can't do anything about it.
I am planning to add more options such as no limitation to access.
-
View User Profile
-
Send Message
Posted Jul 18, 2013Great plugin. A few problems:
Gunpowder and dyes do not save in the chest. Not sure what other items will not work.
Also, is it possible to remove the distance limitation? What if I want users to be able to access their chest anywhere?
-
View User Profile
-
Send Message
Posted Jul 17, 2013Here's a link to use until they have approved the file in downloads:
v1.1: https://www.dropbox.com/s/9j82v2g2mgld6iy/StorageUnit.jar
-
View User Profile
-
Send Message
Posted Jul 17, 2013@NetfreakF21
That's one of the bugs I addressed in 1.1,
it should be gone in the new version.
They're taking an awfully long time to
approve new files.
-
View User Profile
-
Send Message
Posted Jul 17, 2013Found a bug. (still on v1.0 as update hasn't gone thru yet)
If you add more than 54 stacks of any particular item, the rest vanish from storage.
**editing to add
it seems to be based on name.
If I add stone, and stone brick for example and there is more than 54 stacks in total, I will lose the stone brick
-
View User Profile
-
Send Message
Posted Jul 17, 2013Uploaded version 1.1
1.1
Reworked Source
Added two commands
Improved searching
Fixed bugs
-The new version should be approved soon.
It should work for Java 6 users now as well.
-
View User Profile
-
Send Message
Posted Jul 17, 2013cant install java 7 on my server :/
-
View User Profile
-
Send Message
Posted Jul 17, 2013and i try install java 7
-
View User Profile
-
Send Message
Posted Jul 17, 2013okey thx
-
View User Profile
-
Send Message
Posted Jul 17, 2013@NetfreakF21
I'll see what I can do.
-
View User Profile
-
Send Message
Posted Jul 17, 2013@Co0K13M0NST3R
It's caused by the plugin being compiled with Java 7 and you using a lower version than 7. I will compile the next version with Java 6 so you can use that when it comes out.
-
View User Profile
-
Send Message
Posted Jul 17, 2013yeah i mean it
only one in server.log
2013-07-17 11:05:51 [SEVERE] Could not load 'plugins/StorageUnit.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: net/nimefract/storageunit/Plugin : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_6_R2.PlayerList.<init>(PlayerList.java:56) at net.minecraft.server.v1_6_R2.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:106) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:391) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.UnsupportedClassVersionError: net/nimefract/storageunit/Plugin : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more
-
View User Profile
-
Send Message
Posted Jul 17, 2013Awesome :) another one I just came across...
If you have multiple potions, enchanted books, or the like, you can only open search for them by "book" or "potion". Would be great if they could be recognised with names like "speed" or "thorns" etc.
Ill try not to annoy with too many suggestions :D
SO happy with you right now :) I have been searching for a long time for this :)
-
View User Profile
-
Send Message
Posted Jul 17, 2013@NetfreakF21
Thanks a lot for the pizza money! :D
I'm working on adding some new commands right now, including what you asked.
-
View User Profile
-
Send Message
Posted Jul 17, 2013SO far so good, sent pizza money :)
I'll get some non ops to test when they are willing.
Anyway to add in a command to let you know how many slots have been used?
-
View User Profile
-
Send Message
Posted Jul 17, 2013@jospor
awesome. Ill give it a test run shortly :)