ChestRegen

Chest Regen
This lightweight plugin is an easy to use chest regeneration plugin.
No longer continued on bukkit. Continued here
Commands:
| Command | Permission | Description | |
|---|---|---|---|
| /cr help <page> or /cr <page> | chestregen.help | Displays list of commands with descriptions | |
| /cr help <command> | chestregen.help.command | Displays extra information about the specific command | |
| /cr info | chestregen.info | Displays info about the plugin | |
| /cr reload | chestregen.reload | Reloads the configuration file | |
| /cr regenchest <time:integer> <all> <perplayer> <chestpack:chestpackname> <radius:integer> | chestregen.regenchest, chestregen.regenchest.all, chestregen.regenchest.perplayer, chestregen.chestpack, chestregen.regenchest.radius.<integer> | The all inclusive command for setting regenchests. You may use any or none of the given parameters | |
| /cr regen | chestregen.regen | Regenerate the selected RegenChest | |
| /cr regenall | chestregen.regen.all | Regenerate all of the RegenChests | |
| /cr chestpack | chestregen.chestpack | List available Chest Packs | |
| /cr chestpack <ChestPack> | chestregen.chestpack | Set a RegenChest to use the specified ChestPack to generate content | |
| /cr update | chestregen.update | Update the plugin from in game | |
| Break a chest | chestregen.destroy | Deletes the RegenChest | |
| Open an infinite dispenser | chestregen.infdispenser.changeinv | Change the items that are dispensed | |
| Break an infinite dispenser | chestregen.infdispenser.remove | Deletes the Infinite Dispenser |
Features:
- Admins can easily make Regen chests instead of refilling chests every time they run out
- Multiverse Support
- Instant Regen (on Command)
- RegenAll Chests with one command
- Permissions Support
- Saves item enchantment
- Saves item durability
- Saves item slot location
- Saves item Metadata
- Deleting RegenChests
- Unbreakable Chests
- Item Display Name Compatibility
- Written Book Compatibility
- Instant Regen Support
- Infinite Dispenser Support
- Developer API (Documentation here)
- Enchanted Book Support
- Java 6 support
- Per-Player Loot
- Auto-Update
- Full Dispenser Compatibility
- Plugin Info Command
- Set all chests in a world
- Preciser time(Value in config... It's slower if you have above 60 chests set)
- new! (v2.2.0) ChestPacks (More info)
- new! (v2.3.0) Added /crreload
- new! (v2.3.3) Shift Right Click to see time till regen
- new! (v2.4) Command rewrite (and smart commands for you lazy typers)
- new! (v2.4) Spigot Compatibility
- new! (v2.5) MySQL Support
To be added:
- Fire Work Compatibility
- Database Support
- Item Lore
Suggestions
Example Config.yml
Errors
Addons
Note : Messages like "Can.Regen Loaded" can be disabled in the config file under "DebugMode"
Videos
Before commenting please read this.
Contact Me
You can contact me
- Here on bukkit
- At my email - andrew@castawaylabs.com
- On PMC - McGrizZz
This plugin uses Metrics to collect data about it's usage. If you don't want to allow the collection of stats, you can go to /plugins/PluginMetrics/config.yml and set "opt-out" to true.


-
View User Profile
-
Send Message
Posted Nov 27, 2013Video Tutorial on the Plugin
https://www.youtube.com/watch?v=PEvKevutQ6w
Credits: (AbsintoJ/ChestRegen)
-
View User Profile
-
Send Message
Posted Oct 27, 2013love this plugin!
-
View User Profile
-
Send Message
Posted Oct 5, 2013@AndrewEpifano
I'm sorry about your loss...
-
View User Profile
-
Send Message
Posted Sep 27, 2013@ThaSourceGaming
Sorry guys... I've had a death in the family and had to deal with that and also dealing with school.... I'm gonna try to get an update out as soon as I can
-
View User Profile
-
Send Message
Posted Sep 11, 2013Plugin just got fked. Meaning it's officially out-dated fellas.
The plugin needs to be updated to latest recommended build which was announced September 11, 2013.
Now time to wait.
-
View User Profile
-
Send Message
Posted Sep 5, 2013Whats happening?
-
View User Profile
-
Send Message
Posted Sep 3, 2013i wrote out a ticket about "Not A Chest" but it was my fault. chests work, dispensers work. love this plugin!!! Sometime you have to be right in front of it rather than looking down on it for it to work. love it though!
-
View User Profile
-
Send Message
Posted Aug 31, 2013@jessefjxm
Please read the description... We have somewhere where you can place your errors... It's not the comments
-
View User Profile
-
Send Message
Posted Aug 30, 2013Meet an error with v2.0.1:
14:01:00 [INFO] {ChestRegen} RegenChest has been regenerated 14:01:00 [INFO] Chest.run ran 14:01:00 [INFO] Can.Regen Loaded 14:01:00 [SEVERE] Could not pass event ChestRegenEvent to ChestRegen v2.0.1 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.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) at me.McGrizZz.ChestRegen.Chests.ChestRegeneration.run(ChestRegeneration.java:244) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:58) at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: java.lang.IllegalStateException: Asynchronous entity world add! at net.minecraft.server.v1_6_R2.World.a(World.java:2516) at net.minecraft.server.v1_6_R2.Chunk.addEntities(Chunk.java:697) at net.minecraft.server.v1_6_R2.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:128) at com.bergerkiller.bukkit.common.internal.ChunkProviderServerHook.getChunkAt(ChunkProviderServerHook.java:122) at net.minecraft.server.v1_6_R2.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:84) at org.bukkit.craftbukkit.v1_6_R2.CraftWorld.getChunkAt(CraftWorld.java:118) at org.bukkit.craftbukkit.v1_6_R2.CraftWorld.getChunkAt(CraftWorld.java:496) at org.bukkit.Location.getChunk(Location.java:73) at me.McGrizZz.ChestRegen.util.PlayerListener.onRegen(PlayerListener.java:164) at sun.reflect.GeneratedMethodAccessor577.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 10 more 14:01:00 [INFO] {ChestRegen} RegenChest has been regenerated 14:01:00 [INFO] Chest.run ran
-
View User Profile
-
Send Message
Posted Aug 30, 2013@Adrenalineq
Not sure what you mean... Submit a ticket if there is an issue and make sure to be clear.
-
View User Profile
-
Send Message
Posted Aug 30, 2013<<reply 1739744="">>
Empty /perplayerchest always giving book id '0' :d
-
View User Profile
-
Send Message
Posted Aug 27, 2013@AndrewEpifano
Sure. If you need help with filling the pages/wiki etc just PM me. Im quite free. I can also help with coding also. :)
-
View User Profile
-
Send Message
Posted Aug 27, 2013@SchemingWeasels
Sorry I don't really have time to update the pages... But I'll update it now
-
View User Profile
-
Send Message
Posted Aug 27, 2013Perplayerchest does not work unless oped. :/ Or am i doing something wrong. I have all chestregen permissions and Im using BukkitPermissions.
Edit: Gave myself chestregen.* and chestregen.perplayerchest. Worked. You should add it to the list of nodes.
-
View User Profile
-
Send Message
Posted Aug 26, 2013For example can I like list 5 items:
Ex:
And from 5 to 5 min, it gets refilled with 1 of those 5 items?
-
View User Profile
-
Send Message
Posted Aug 24, 2013@user_716797
Thank you for pointing this out... Could you create a ticket.. It's easier to manager bugs from there
-
View User Profile
-
Send Message
Posted Aug 23, 2013how does a server going down affect the timers? or a server restart. also.... /regenall doesn't seem to be doing it's job. i been setting up chests in belly of a ship and putting a variety of items on a variety of timers ranging from 1 hour to 1 week. the server has gone down a couple times through out the day and i dont know if it's causing the issue, but when i do /regenall, it tells me all the chest have been regen'd, but when i look in them....nadda.
Edit: what i have found is that any regen chest that has been looted, will be bugged if the server is restarted while the chest is empty ( before it's timer has allowed it to regen ).
-
View User Profile
-
Send Message
Posted Aug 16, 2013@SchemingWeasels
Yes, it is called.
-
View User Profile
-
Send Message
Posted Aug 12, 2013@AndrewEpifano
Thanks! One last thing, does RegenChestOpenEvent get called if the player already claimed a perplayerchest and the chest has not regenerated, and clicks on it?
Thanks in advanced, -Weasels
-
View User Profile
-
Send Message
Posted Aug 12, 2013@SchemingWeasels
To only allow a player to use it once I add them to a list and store the last time they opened the chest. If its a one use chest I check if their name is in the list before I allow them to redeem the items in the chest.
As for the regenall not being accessible in the console... I haven't added that for console. I think it may have slipped my mind but I'll get right on it