MineralManager
Mineral Manager
This plugin is designed to allow server administrators to have tighter control over their server's economy as well as introduce new and interesting experiences for their players. MineralManager is the second generation of the MineralVein plugin; with improved performance, customization, control, and reliability it makes a big jump forward from the original concept.
This plugin works by allowing specified blocks to regenerate after they've been broken. From Cactus to Diamond, from Dirt to Logs, admins can control which blocks are allowed to respawn, where they're allowed to respawn, and what should take their place when they're broken. This plugin also allows for a bit of randomness in its regeneration by using a degradation parameter that causes blocks to sometimes forgo respawning when they're broken.
You can do anything from creating public mines near spawn filled with iron and coal that never breaks so new players get started quicker to having secret forests that regenerate completely after enough time as passed. Diamonds would become something for your players to guard and protect rather than something to find, mine and move on. An innocent patch of grass could even have gold ore hidden inside. The possibilities are endless and the excitement is contagious! Make your server unique and fun with this easy, yet intricate plugin.
Compatibility
- Craftbukkit RB: 1.6.4-R2.0 (Build #02918)
- Craftbukkit DEV: 1.7.2-R0.4 (Build #03023)
- Spigot Stable: 1.7.2-R0.1 (Build #1186)
- Tekkit Classic: 3.1.2
Links
- Latest Release (v2.2.1) Setup and Usage | Documentation | Download
- Economics / Resource Management data/charts explaining the rationale for MineralManager
- Forum Thread
News
- [June 2, 2013] MineralManager 2.2 is out! This is a major release which has a number of cleanups and performance tweaks that paves the way for the future of MineralManager, by making it much easier for us to add new features in as we go forward.
- [January 2, 2013] MineralManager is looking for another developer to take over maintenance and updating of the plugin! If you're an experienced Java programmer with at least 2 years of experience and at least 1 moderately successful bukkit plugin please contact me via PM if you're interested in working on the MineralManager plugin. You must also be familiar with VCS's like GitHub since we have the project hosted there. Thank you all for your support and I hope with another developer working on the project you will see more consistent updates.
- [September 9, 2012] It's over 9000!!!!!!!!!!!!!! downloads. Thank you all for supporting MineralManager / MineralVein! We really appreciate all the feedback and hope you'll continue to stick with this plugin as it grows and improves in the future! :)
- [August 17, 2012] A Setup and Usage section has been added to the MineralManager v2.1 links!
- [August 13, 2012] MineralManager v2.1, a substantially rewritten and improved version, has been released finally!
- [August 3rd, 2012] The old MineralVein documentation has been moved here in preparation for upcoming MineralManager documentation and updates!
- [July 21st, 2012]
This project is on haitus right now as I'm extremely busy with work and family. I apologize for the slow update and the lack of information and transparency with the project. Hopefully as time goes on I'll be able to continue development and get back to updating and maintaining the plugin! If you are interested in picking up the project as a developer please send me a personal message and we can discuss the particulars. Thanks for all your support and I hope to get back to this project as time allows!Crastor is currently maintaining MineralManager!
- [April 18th, 2012]
MineralVein is looking for a name change! I mistakenly named my plugin after an already existing one so I'm looking for your help to pick out another awesome name! Vote in the poll or add your own submission in the comments section! There will be 2 rounds of voting, this first initial round and then another round with the top choices from round 1 and any fan submissions that have a lot of likes!Results here!
ore respawn, block respawn, renewable, renewable resources, renewable blocks, respawning ores, cooldown ores, runescape, mining, mines, remine, blocks go on cooldown after they're mined, mined blocks respawn, blocks respawn, ore respawn, ore generator, blocks degrade, minerals respawn, mineral generator, mineral cooldown, mineralvein, mineral vein, public mines, public mining, group mines, ores respawn, ores regenerate, persistence, persistent, development, man-made
Update please.
Also, new issue. Everything works, but when my server restarts, the whole plugin fails. Nothing that was regening will regen, and u cant create new regions, nothing, only way i get it to work again is deleting bin folder and remaking it, removing all the saved info, and then have to fix all the ores. May have to stop using this plugin altogether if maintenance continues to be lackluster with such major issues.
can you update the permissions section on here, as I can't use the plugin untill I know the permission nodes.
How do you adjust the config file to only just one world and not others?
I have no idea...
Can you add a feature where with a simple command like '/mineralvein restore' all the blocks that are currently mined out and turned into the placeholder block will be forced to return back to their original block?
2012-07-06 04:58:57 [SEVERE] Could not pass event BlockBreakEvent to MineralManager
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:220)
at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:175)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:540)
at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:114)
at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:83)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at me.hellfire212.MineralManager.Region.contains(Region.java:47)
at me.hellfire212.MineralManager.RegionSet.contains(RegionSet.java:72)
at me.hellfire212.MineralManager.MineralListener.onBlockBreak(MineralListener.java:47)
at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302)
... 14 more
Some updated Docs would be nice =)
Can we get the source on this? There are some major bugs i would like to fix.
EDIT: Also, may wanna look at that ticket, i posted on. May be a major problem in need of fixing.
@tfkillzone
I apologize for not updating the documentation I've been really busy. To set up a world wide configuration simply put "global: true" in the configuration in the config.yml file. When you create the region simply enter the world you want to manage. Type "/mm select cube 0 0" and then "/mm create <name> <configuration with the global flag> 0". I generally use 0 as the level for global regions so you can build upon it later if desired.
Okay. I simply wasn't using the OP/non-OP paradigm, since all other plugins I use so far support PermissionsBukkit. /mm command works just fine now.
However, on an unrelated note, is it possible to set up ore regen to automatically occur across an entire world? I can't figure out the proper config for that, if it's possible...
A suggestion for the name, "Lucky Streak".
@tfkillzone
You need to be an OP to be able to use the /mm commands right now. I'm working on updating / fixing that but if you're getting that message and you are an OP then I would really appreciate it if you would submit a ticket so I can look into the issue more and figure out what's going on there. :)
@Rhodie1
You're not ignorant at all, that's a legitimate question, especially since I haven't put out any of the documentation yet. The Level of a region determines which regions are "seen". Thus, if I have two overlapping regions, lets say region A and region B. If region B has a higher level than region A, region B will take precedence even though they're overlapping.
The common practice I had in mind is to declare a global region with a level of 0, and then declare any non-global regions as 1 and any non-managed zones as 2. Obviously if you want a region to have subregions you just need to make sure those subregions have a higher level than the region they're in.
I may just be ignorant but what does the level option effect when creating a region? btw tekkit blocks work!
Have the permissions nodes changed with the plugin rename? I keep getting the "you must be admin" message.
@Rhodie1
Hi! Welcome to the forum! When it's updated it should work with modded blocks assuming those blocks have an Id and Data and follow the same convention as other blocks that are managed by Bukkit! :)
@Dyspen
This was actually a requested feature but that is going to be changed in the MineralManager release.
Hi, new to the bukkit forums. I would like to propose something if it isn't planned with the update to using block id's. Allowing this to work with modded blocks. I run a private tekkit server and wanted to use this for the extra ores added by industrial craft and red power.
Hey ya, Hellfire.
There is a severe bug; silk touch does not produce a block regeneration!
@hellfire212
thanks, that would be really cool and needed for my server cause i got tree farms with this plugin and dungeons where people have to collect specially blocks and with monster spawners so that wil solve my problems.
@semistro
It's not a bug, but it is something I've considered adding to the plugin! I'm not how hard this would be to implement but I'll keep it in mind and it may be in future releases!
@hellfire212
great plugin i really love it! but 1 thing i dont know if it is a bug but it will handy to add this feature if the block get removed by something naturally its dont replace itself (like explosions, creepers, endermans and if leaves dissapear because there is no wood) thank you.
@HolySteward
Oh no! If you wouldn't mind submitting a ticket I would really appreciate it as those supply me with most of the information I need to solve problems!
I downloaded a fresh copy of the latest MineralVein and started a new server with it using the configuration you posted and it's working fine for me, so if you could submit a ticket it will help me help you faster!