Instant Decay
Instant Decay
This plugin makes leaves decay instantly when destroying logs from trees.
It uses the code which Minecraft itself uses to detect leaves and logs.
It also triggers and obeys the LeavesDecayEvent so other plugins can prevent these leaves from decaying if they need to (for whatever reason).
Features
- Uses Minecraft decay logic
- Drops are exacly the same as normal decay
- It will not affect leaves placed by players
- 10% chance for each leaf to make a break particle+sound effect
- Plays nice with other plugins by sending leaf decay events
- Uses only Bukkit API so it will not break with future updates !
Commands
- /instantdecay disable - disables the plugin's events and remains disabled after "reload"
- /instantdecay enable - re-enables the plugin
Commands have permission "instantdecay.admin" and is defaulted to OP.
Demonstration video
Installing and using
- Download jar file and place it in your "plugins" folder.
- Run/restart the server and that's it !
Source code
As always, in the jar file.
-
View User Profile
-
Send Message
Posted Oct 11, 2016@Jikoo_K
You can't compile the plugin?
-
View User Profile
-
Send Message
Posted Aug 10, 2017In reply to NerdExtremeGAB:
-
View User Profile
-
Send Message
Posted Sep 13, 2016This is a great plugin... But need a update =D
-
View User Profile
-
Send Message
Posted Feb 18, 2015hey everyone, just a quick question. I installed the plugin on my server.. I restarted the server but still I am not getting the effect....
its my first server so treat me like a noob..
what am I doing wrong or do I have to change some permissions
I am whitelisted and oped on the server..
-
View User Profile
-
Send Message
Posted Dec 9, 2014First of all, I love this plugin! It was exactly what I needed for my 1.7.10 server. Now that I am running Spigot 1.8 R01, it no longer seems to be working. Any chance for an update?
Thanks!
EDIT: I take that back, it is working JUST fine. I am an idiot, the way my farm was laid out it didn't seem to be working, but it is.
Thanks again!!
-
View User Profile
-
Send Message
Posted Apr 7, 2014Because this doesn't affect 1.7 trees and leaves, I've updated it here.
Changelog:
Edit: Direct link to compiled binary has been removed. If you do want a build, feel free to PM me. Bear in mind that these builds would not be approved by Bukkit staff and could contain malicious code.
-
View User Profile
-
Send Message
Posted Jan 5, 20141.7.2 is the ultimate test for it though as there has been the most ever changed in the minecraft code
-
View User Profile
-
Send Message
Posted Jan 3, 2014Just sharing some information: This plugin is working properly with Minecraft update 1.6.4 version. I also tested it with 1.7.2 version and.. the plugin works properly. :) Thank you for your plugin THDigi. Regards, Herweg
-
View User Profile
-
Send Message
Posted Mar 21, 2013Well, I've uploaded a newer version, it needs approving :}
The good news is that it works with 1.4.7, 1.5 and future versions !
-
View User Profile
-
Send Message
Posted Mar 21, 2013Update plz.Great plugin =)
-
View User Profile
-
Send Message
Posted Feb 4, 2013@Doompants409
Yep, CB now has strict code modification rules, plugin updated for CB 1.4.7-R1.0 !
-
View User Profile
-
Send Message
Posted Nov 11, 2012Hi! Don't know if you are updating this plugin anymore, but it appears to have broken with Minecraft update 1.4.2 (and Craftbukkit RC2.0 for 1.4.2)
Here's the error we get whenever anyone interacts with trees now:
Hope you get the time to update! I've always found this to be a great little mod. Thanks :D
-
View User Profile
-
Send Message
Posted Sep 11, 20122012-09-11 10:47:17 [SEVERE] Exception in thread "pool-1-thread-1522" 2012-09-11 10:47:17 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin InstantDecay v1.0 generated an exception while executing task 718378 at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(Unknown Source) at java.util.ArrayList$Itr.next(Unknown Source) at org.bukkit.craftbukkit.CraftWorld.getPlayers(CraftWorld.java:611) at org.bukkit.craftbukkit.CraftWorld.playEffect(CraftWorld.java:761) at org.bukkit.craftbukkit.CraftWorld.playEffect(CraftWorld.java:734) at digi.instantDecay.InstantDecay.checkLeaves(InstantDecay.java:143) at digi.instantDecay.InstantDecay.access$0(InstantDecay.java:65) at digi.instantDecay.InstantDecay$1.run(InstantDecay.java:57) at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:52) at org.bukkit.craftbukkit.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
Too much it in log.
-
View User Profile
-
Send Message
Posted Sep 4, 2012Mm, strange: McMMO's lumberjack ability seems to cause oak saplings to drop no matter the tree type, although I have not found any apples from other trees. I will play around with the dynamics of it, and see if I can get any apples as well, or if it's just the saplings. Thanks.
-
View User Profile
-
Send Message
Posted Sep 4, 2012Are you psychic? I was looking for a good plugin to do exactly this a few days ago. This works wonderfully, thank you!
-
View User Profile
-
Send Message
Posted Sep 3, 2012Oh, It looks good :D Thx!