If I need some special behavior I implement the right interface. I'm writing a plugin for Bukkit, not a mod for CraftBukkit. In this case, my...
The client doesn't matter here. My Inventory is a InventoryType.CHEST, which as far as I know is supported by the client since January 2010. And...
And get an instance of CraftInventory which is totally useless to me. I'm talking about a different level of abstraction. There is a reason if I...
Hello. I'm writing a plugin for virtual chests. I've implemented the interface Inventory, thinking that CraftBukkit's method openInventory() in...
Done that. Thank you very much!
Hello. I'm writing a plugin, and I'm using Git for version control and Maven to build. The plugin is not ready to be built yet, but when it will...
I think I got it. Thank you! One more question. I'm implementing my own Inventory class for a plugin I'm writing, and I'm comparing my method...
Thank you for your answer. I need to be able to directly handle all the data streams for my plugin to work, I would prefer not to use YAML...
Hello. I've found this solution to serialize ItemStacks. But I was wondering if I will be able to deserialize ItemStacks even when CraftBukkit...
xTigerRebornx thanks!
Hello. I'm back, after 1.5 years, and I don't really expect someone to know me, but saying "I'm back" is something that everyone of us should do...
Thank you macguy8 :)
Right! Thank you, that was the missing bit of the solution in my head :)
You should listen to InventoryClickEvent and check if it consists in a player putting fuel (or whatever you want to check) in a furnace, and in...
Hello, I need an advice from someone which has experience in multi-thread programming. I need to load a file asynchronously, and then notify...
As I've said in the first post, the problem with keeping all of them in memory, it that... You need a lot of memory! And most of VPS and Shared...
Mmh the problem here is that we are talking about hundreds of inventories... Yaml files are too slow to parse, think of a busy server where there...
Well, at that point an embedded relational database would be the best thing, because it is invisible to the user...
Hello everybody, I'm currently developing a plugin regarding virtual inventories. I need a efficient way to save (possibly) a lot of inventories....
Thank you very much! :D
Separate names with a comma.