Should work on nearly any recent java version (Java 6 - Java 8), however it was built on Java 7.
@timtower Sorry, I haven't been active on the forums in about the past 6 months. So I'll need to read up on the rules again...
I also wrote a version of the plugin, if anyone would like to use it you can find it here:
EDIT by Timtower: redacted mediafire link
@Chloe-chan Oh, I misunderstood then. I took it as you were scanning the worlds for chests each time the plugin loads to find the chests instead...
I'd use InventoryCloseEvents, and here's how I would do it:
Create a cache and listen for InventoryCloseEvent's, loop...
Why are you scanning the worlds for chests? There's much easier and less resource consuming ways to do it...
@BuckitWorker Good news, plugin is nearly done... Do you have an environment for testing the plugin?
@BuckitWorker I'll start working on it now! Should be done within a day or two...
@BuckitWorker Do you still need this plugin? I can make it for you if the request has not yet been filled.
@RealEmpire I can write one for you if you can not find any other solutions.
I think the OP wants an item to orbit around an entity. Not entirely sure, that's just what I got from their last post.
Maybe you should have taken a look at the return type of the method then, as that had nothing to do with the Bukkit API.
If you don't want players to move into this "forcefield" block, why don't you just teleport them back to the "from" position instead of...
I'll make it for you, but instead it'll be fully customizable so you can create your own kits. With an inventory GUI to select them.
Same here. :(
By the way your code could be so much more efficient and easier to look at.
You could use:
public ItemStack createItem(Material...
By the way your code could be so much more efficient and better to look at.
public ItemStack createItem(Material material, int amount,...
All 3 of us? If we did, the project would get done a lot faster.
Good luck man, I suggest learning basic Java first instead of diving straight into Bukkit though.
Go for it! If you need any help or a 2nd person to help work on it, hit me up! :)
Separate names with a comma.