OreRegenerator
OreRegenerator
This plugin regenerates your ores after an configurable amount of time! Cross that, any block you want. it's all configurable. OreRegenerator works as standalone plugin or as worldguard flag!
Give your economy a new look by mines that regenerate, or use it for your rpg
Modes: OreRegenerator has two modes: global and flag
- Global: the plugin respawn the ores specified in the config globally
- Flag: the plugin respawn ores in worldguard regions with the flag "regen-ores" set to allow (this mode requires WorldGuard and WorldGuard Custom Flags to be installed)
Do you like this plugin? A cup of coffee to work on the next one would be appreciated ;)
Learn how to create an regen-mine with worldguard
WorldGuard Mine Tutorial
!Note! when editing the blocks that will go through regeneration only use the names from this list: https:hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
Source: github
Config:
#Database type, either sqlite or mysql databasetype: sqlite #MySQL Connection settings, only needed when databasetype is set to mysql MySQL: host: localhost user: root password: 1234 database: minecraft port: 3306 #Interval ratio for checking for ores to be regenerated in seconds interval: 10 #The mode determines how the plugin works, if set to global it will regerate ores globally, if set to flag it will only respawn ores in regions where the flag "respawn" is set to allow #!!!!!! Flag mode requires worldguard and worldguard customflags mode: global #If set to true players will recieve a message telling them how much longer untill the ore respawn right-click-message: true #If set to true oreregen is enabled for people in creative mode creative: true #The block that resembles the empty ore block (if nothing is set as empty at the ore) empty: BEDROCK #Delays till respawn in Seconds, you can add any block. Use names from this list: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html delays: COAL_ORE: name: Coal Ore delay: 3600 empty: BEDROCK IRON_ORE: name: Iron Ore delay: 3600 empty: BEDROCK GOLD_ORE: name: Gold Ore delay: 3600 empty: BEDROCK LAPIS_ORE: name: Lapis Lazuli Ore delay: 3600 empty: BEDROCK DIAMOND_ORE: name: Diamond Ore delay: 3600 empty: BEDROCK EMERALD_ORE: name: Emerald Ore delay: 3600 empty: BEDROCK QUARTZ_ORE: name: Quartz Ore delay: 3600 empty: BEDROCK REDSTONE_ORE: name: Redstone Ore delay: 3600 empty: BEDROCK GLOWING_REDSTONE_ORE: name: Redstone Ore delay: 3600 empty: BEDROCK
Hi can you please update this to 1.14.4 soon
Hi, does this plugin exist for the 1.8? Or 1.8.1 would work on a server spigo 1.8? Or what other plugin like this one I recommend? Sorry for my english
@saveryan
It's outdated, I'm working on an update
Thanks a lot,
Can you send me a message when it's up to date :D? I don't come here often so I might miss it.
Saveryan
In reply to Forge_User_49511134:
Hi Steffansk1997,
Is it necessary to have an SQL server for this plugin to work? I had a server 4 years ago and I wanted to restart it, I remember searching for a plugin like this one back in the days for a RP mine I had made.
I'm using World Edit and custom flags already so that shoudn't be a problem. I don't remember having an SQL server before so I don't know if this is created automaticaly or not.
This plugin looks great, I'm eager to try it out.
PS: 1 thing would be great, If you could make it TP people out of the zone when the respawn happens. I'm planning on making a big Mesa mine so if people get trapped in the clay they don't suffocate.
I'm recoding the plugin right now. It's coming along quite nicely, the database communication is rewritten so it should be way cheaper in expenses. You can change the settings for every single block you make a regenblock off and there will be 2 run modes in the global one of someone mines a block it's mined for everyone and i'm trying to get a mode where if one player mines a block it will be mined for him but not for the others.
It might take a week to a month till I release this update
this is an epic good plugin id love to see it be updated to support more block types, im haveing slight issues with getting all mine-able block types to respawn. i.e either ores work or dirt/sand/stone, i am working solo tons of stuff todo eventually ill get around to fully focusing on doing more indepth testing on this plugin and trying what ever i can to get to work, bc i realllly neeeed this to woooork >.< "testing on 1.8-R0.1-SNAPSHOT" _ "or v1.5"
Does global setting mean it is respawning blocks for every world? Because I only need 1 world to have constant replenishment and not all 6 of them.
The Plugin is to Heavy!! My server gets very slow!
regen-ores flag isn't working?
I have wg custom flags too.
@steffansk1997
Any way to use datavalues on these, like make red wool mineable and respawns after 120 seconds and yellow wool after 240 seconds and white wool wouldnt respawn, without datavalue support this isnt much use for me. Preferably make it like this:
"wool@8:" would be block "wool" and data value of 8 (light gray)
@ajisfree
SPONGE: name: Sponge delay: 3600 empty: BEDROCK
Adding that to the config should work
I know silk touch is disabled, but with ores like iron players can still place them and make infinite respawning ores by just replacing one over and over. Also, breaking the ores in creative doesn't get rid of the respawning ore. I have respawning ore in my builds and I can't get rid of them.
i notice that even if the delay time isn't done, blocks still get regenerated according to the delay time of the first block broken
so, if i break 10 iron ores in 10 seconds and the delay is set to 10 seconds, after 10 seconds, every broken iron ore is regenerated instantly.
can i get some info on this?
Could you allow us to modify or remove the [OreRegen] text at the beginning of messages? Thanks for a great plugin!
Are we able to add in other blocks also? Like If I wanted to make Sponge a mine able block. I tried adding it but it did not work for me.
@skittishtrigger
The blockbreakevent doesn't do anything with players but I could add some permissions. Removing the worldguard thingy with regions will be alot of work. But once I finished Trial and GlobalItemNames (two plugins I am working on at the moment) I'll push through a big update of this one
Is there any possibility to remove dependencies on other plugins to control the per world/per region regeneration? With so many updates to MC itself, the server platforms, and possibility of porting to other platforms depending on other plugins might get harder and harder. I do not even know if this is possible inside your code. I love your plugin but adding other plugins (some of which don't work and are not being updated atm) that we can't rely on means every mc update that happens it adds several layers for breaking the usefulness of the plugin. I don't know how you hook the blockbreak event (I am not a coder) if its global or per person, but an easy (maybe) fix might be adding a simple permissions like oreregen.allow, oreregen.bypass, since it seems to listen to the event per player.