NerfFortune
NerfFortune
This project has been marked as inactive. I've lost interest in developing it further and/or supporting it. If you have any questions regarding the project, please send me a PM (rather than commenting).
NerfFortune was created to limit the Fortune enchantment, so users are not getting a ridiculous amount of materials from simply having a Fortune pickaxe.
Merely drag-and-drop the plugin into your plugins directory, and you're ready to go!
Skeptical about the results? I quickly tested the plugin. I mined 4 diamond ores, and counted the number of diamonds I got from each one:
Without NerfFortune:
Level | Trial 1 | Trial 2 | Trial 3 | Trial 4 |
Fortune I | 5 | 7 | 5 | 6 |
Fortune II | 7 | 6 | 7 | 6 |
Fortune III | 9 | 15 | 12 | 9 |
With NerfFortune:
Level | Trial 1 | Trial 2 | Trial 3 | Trial 4 |
Fortune I | 5 | 4 | 4 | 5 |
Fortune II | 5 | 6 | 5 | 6 |
Fortune III | 6 | 8 | 7 | 9 |
The plugin was created by sharp237 - I merely compiled it and threw together this BukkitDev page. Round of applause for him!
fsac
Just thought I'd say that while I love this plugin for nerfing fortune slightly, It introduces a potentially critical "race condition." And I recommend that server admins find a different way of nerfing fortune than this plugin.
Basically I was trying to debug a really obsure bug Some of my players were rarely happening, and decompiled this plugin to see if it could possibly be this plugin.
Long story short, how this plugin works is actually when a player breaks a block with a fortune pick, the plugin actually removes the enchant / replaces it with a weaker enchant while you break the block, and then replaces it using a delayed task once you've finished breaking the block.
However, it introduces a race condition, in that sometimes if a player mines a bunch of ores in a row, and switches items in their hand, there is a possibility that the high-level fortune enchant will actually cease to exist on that pick. (this is because of how the replacing the normal fortune back onto the pick is done potentially in a separate thread, and unreliably.
There is even a possibility of players duping the fortune enchant onto new picks, or moving the fortune enchant onto a seperate pick that had none. The chances of a player being able to do this on purpose is very low, but it is definitely a possibility.
@sharp237
can u do that plz? i need the config
A config can probably be easily added so you could set the percentage of the nerf. :)
@JohOply
true, and i like this, hate rich players xd
Good idea!
But i think that the difference between Fortune I and Fortune III is too little... You can reduce the level I, little ;)