This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
DispenserRefill helps you keeping your Dispensers and Droppers filled at all times while allowing maximum control over the process.
Automatic Refilling
Cooldown Times
Readable database files
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Download WorldEdit and extract the WorldEdit.jar into your "plugins/" folder.
Give out permissions (full list available below; give dispenserrefill.* for all).
Run your server and DispenserRefill is installed.
Development
You are interested in working on the next big thing in the Bukkit/Spigot universe? No problem! Contact us at [email protected] and tell us a little bit about you.
Alternatively feel free to fork our repository at GitHub to get your changes added to the official DispenserRefill builds.
Commands
/autorefill [cooldown] - Changes the container mode to infinite
/refillcooldown - Prints out the remaining cooldown time
Permissions
dispenserrefill.general.dispenser - Allows users to create infinite dispensers
dispenserrefill.general.destroy - Allows users to destroy infinite containers.
13:27:03 [SEVERE] Could not pass event BlockDispenseEvent to DispenserRefill v1.0.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at net.minecraft.server.v1_4_6.DispenseBehaviorItem.a(DispenseBehaviorItem.java:57)
at net.minecraft.server.v1_4_6.DispenseBehaviorItem.b(DispenseBehaviorItem.java:26)
at net.minecraft.server.v1_4_6.DispenseBehaviorItem.a(DispenseBehaviorItem.java:13)
at net.minecraft.server.v1_4_6.BlockDispenser.dispense(BlockDispenser.java:91)
at net.minecraft.server.v1_4_6.BlockDispenser.b(BlockDispenser.java:112)
at net.minecraft.server.v1_4_6.WorldServer.a(WorldServer.java:482)
at net.minecraft.server.v1_4_6.WorldServer.doTick(WorldServer.java:172)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:572)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/block/CraftDispenser
at de.akkarin.DispenserRefill.DispenserRefillWorldListener.onDispense(DispenserRefillWorldListener.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 15 more
Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.block.CraftDispenser
at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 21 more
Hmm okay. This one seems to be a problem with WorldEdit's tracing which seems to be a bit buggy if there are transparent blocks nearby (Which is a bit awkward. Especially if you're using WE itself). I'll look into the code later and may be able to correct some of it's issues.
Yeah, sometimes this happens. I'm not sure why. The cause could some lag at the server or external plugins. I'm not really sure (And I can't reproduce this problem on my test server).
This issue doesn't make any sense. You can use /autorefill to disable dispensers both in creative and survival. Additionally breaking dispensers is an option, too. But you should avoid breaking them with plugins. The plugin won't get any notifications about this and they'll remain in it's database.
Try stand on top of it, then looking down at it. I had the same problem when I used it in the past and that worked. Note that I have not tested this plugin with 1.4.2.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
@dot_start
k thx :)
@callandt
Yep, this seems to be a little bug. I'll watch into it and see what I can do about it.
@dot_start
can you also add to the update that firework also refills because now with the CI version it doens't refill
A new version is on the way. As long as it isn't available here, you can use the CI version: http://build.evil-co.com/job/Dispenser%20Refill%20%28Bukkit%29/92/
@dot_start
Its ok :) Take your time.
@coleweinman1
Can you please god damn read? I hate to quote myself. I'll recheck it over Christmas ...
@H8llfire
Thanks for the exact message. As already said I'll recheck the plugin in the next days (Just as I get some time to).
Please Update
13:27:03 [SEVERE] Could not pass event BlockDispenseEvent to DispenserRefill v1.0.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_4_6.DispenseBehaviorItem.a(DispenseBehaviorItem.java:57) at net.minecraft.server.v1_4_6.DispenseBehaviorItem.b(DispenseBehaviorItem.java:26) at net.minecraft.server.v1_4_6.DispenseBehaviorItem.a(DispenseBehaviorItem.java:13) at net.minecraft.server.v1_4_6.BlockDispenser.dispense(BlockDispenser.java:91) at net.minecraft.server.v1_4_6.BlockDispenser.b(BlockDispenser.java:112) at net.minecraft.server.v1_4_6.WorldServer.a(WorldServer.java:482) at net.minecraft.server.v1_4_6.WorldServer.doTick(WorldServer.java:172) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:572) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/block/CraftDispenser at de.akkarin.DispenserRefill.DispenserRefillWorldListener.onDispense(DispenserRefillWorldListener.java:64) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 15 more Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.block.CraftDispenser at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 21 more
I'll recheck this over Christmas. Sorry about that I'm currently every day in the office .
Please update :)
Broken in 1.4.5 Final?
I'm going to leave you with a bit of code I use for fetching the block you're looking at, here: http://pastebin.com/UxDgvSGL
You could use that so you don't need worldedit ^^
@LaserCucumber
Hmm okay. This one seems to be a problem with WorldEdit's tracing which seems to be a bit buggy if there are transparent blocks nearby (Which is a bit awkward. Especially if you're using WE itself). I'll look into the code later and may be able to correct some of it's issues.
@dot_start
It was the same issue as Andreades/botsonic.
@H8llfire
Yeah, sometimes this happens. I'm not sure why. The cause could some lag at the server or external plugins. I'm not really sure (And I can't reproduce this problem on my test server).
@LaserCucumber
This issue doesn't make any sense. You can use /autorefill to disable dispensers both in creative and survival. Additionally breaking dispensers is an option, too. But you should avoid breaking them with plugins. The plugin won't get any notifications about this and they'll remain in it's database.
@dot_start
It does.
But sometimes some dispensers just run out whenever they feel like. Know what could be causing this? Did already happen back in 1.3
@tallster
I believe the plugin will still work in 1.4 without any changes. ;)
Is there going to be a 1.4 version?
@Andreades
Try stand on top of it, then looking down at it. I had the same problem when I used it in the past and that worked. Note that I have not tested this plugin with 1.4.2.