For Versions 1.9 - 1.12: https://github.com/virgilio217/OreRegen-1.12/releases
- Native Minecraft Version:
- Tested Minecraft Versions:
- Source Code:
An oregen is a block that when destroyed will regenerate itself after some time. You need to set these generators manually in your world.
- Works with protection plugins like world guard.
- McMMO support to give exp, and do double drops based on skill level.
- Custom block, replacement, delay, drops, and permission for each generator
- Operator wand, so you can set generators by right clicking blocks.
- Sound effects.
Only operators can use these commands, no permissions.
- /oreregen reload
- /oreregen set <generator>
- /oreregen remove
Items.yml:Code (YAML):# Should the drops be moved on the player position or on the block position
# Should physics be disabled for all generators, leave it enabled if your planning to use falling blocks
disable-physics: false # A server restart is required for this to work.
# if disable-physics is enabled then this will act as a whitelist. You might want to modify this list if a block doesn't exist in the version you are using.
falling-blocks: [SAND, RED_SAND, GRAVEL, ANVIL, CHIPPED_ANVIL, DAMAGED_ANVIL, DRAGON_EGG, WHITE_CONCRETE_POWDER, ORANGE_CONCRETE_POWDER, MAGENTA_CONCRETE_POWDER, LIGHT_BLUE_CONCRETE_POWDER, YELLOW_CONCRETE_POWDER, LIME_CONCRETE_POWDER, PINK_CONCRETE_POWDER, GRAY_CONCRETE_POWDER, CYAN_CONCRETE_POWDER, PURPLE_CONCRETE_POWDER, BLUE_CONCRETE_POWDER, BROWN_CONCRETE_POWDER, GREEN_CONCRETE_POWDER, RED_CONCRETE_POWDER, BLACK_CONCRETE_POWDER]
# The replacement block after a generator is mined
world-guard-restrict: '&c&lHey! &7Sorry, but you can''t break that block here.' # Sent when a player tries to break an oregen in a worldguard region with the oregen-break flag set to deny
resource-depleted: '&4The resource is depleted'
oreregen.user.wood: '&4You need to be at least a wood master to break this resource!' # Sent when a player tries to break an oregen that requires the 'oreregen.user.wood' permission node
another.example.permission: '&4You can''t break this block due to insufficient permission.'
# Take a look at the 'wood' example generator to see all the possible things you can do.
wood: # Unique id
ore: oak log # You can use any block in the game, some blocks are still not fully supported, if you find one that doesn't work properly please tell me about it so I can add it
delay: 300 # Delay is in seconds
drops: # The custom drops for the generator "item-name: chance" chance can be from 1 to 100
coal: 100 # coal and super_coal are custom items. Check items.yml
super_coal: 10 # 10% chance of dropping
permission: oreregen.user.wood # permission required to gather from this generator
replacement: stripped oak log # Override the default-replacement by mentioning a new one here
double-drops: true # Adds 1 to the stack based on the users skill level. Level 1 = 1% / Level 100 and beyond = 100% (WARNING: It also works with custom drops)
type: Mining # CASE SENSITIVE: Mining, WoodCutting, Excavation.
exp: 1 # The amount of exp givven in said skill when mining from this gen.
ore: 'lapis ore'
ore: iron ore
ore: gold ore
ore: diamond ore
ore: emerald ore
This is one of the first releases of the plugin, there are most likely some bugs and there are still not many functionalities, feel free to start a conversation with me if you encounter any issues, you can also join my discord server if you want. https://discord.com/invite/RKrfN3y7aVCode (YAML):#Useful links:
# Enchantments: https://www.digminecraft.com/lists/enchantment_list_pc.php
# Custom Model Data: https://www.planetminecraft.com/forums/communities/texturing/new-1-14-custom-item-models-tuto-578834/
# Attributes: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
# ItemFlags: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html
# type: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/AttributeModifier.Operation.html
# operation: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/AttributeModifier.Operation.html
# slot: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/EquipmentSlot.html
name: '&8&lSuper Coal'
- '&7another line'
type: 'generic attack speed'
operation: 'add number'
- 'hide unbreakable'
- 'hide placed on'
OreRegen - Create regenerating resources [Discontinued] 1.9
Create OreGens, resources that will respawn in your world after a delay [WorldGuard, McMMO support]