OreGenerator
A Bukkit Plugin
Introduction
This plugin allows you to customize the default cobble generator in minecraft. Especially skyblock servers use this mechanic to create more varieties for their players. This plugin have high variety of custom configuration. Plugin is testet only on 1.8 server but should also work on newer versions. If not, please post the bug in the comment section.
Features
- Modify the default cobble generator with custom blocks
- Chances for custom blocks can be set individually (in %)
- Create different oregenerator types for different pickaxes and display names (see config below)
- Restrict every individually oregenerator type with worlds and permissions
- Toggle oregenerator only for players or for all events of creating a cobblestone with a generator.
Requirements
Spigot 1.8 Server or newer. Thats it.
Installation / Setup
- Download the OreGenerator.jar file
- Pick the .jar file into the plugins folder
- Restart/Start your spigot server
- Edit the configuration in the OreGenerator folder
- Restart the server again. Done :)
Configuration
Default config with description:
# DO NOT TOUCH THIS, otherwise the config can't be loaded.
--- !!config.Config
# If True: The OreGenerator plugin will be triggerend, when only a player break a block on a cobble-generator
# If False: The OreGenerator plugin will be triggerend, when a block will be generated on a cobble-generator.
# CARE: 'itemInHand', 'displayName' and 'permission' can't be checked, if no player breaked the block on a cobble-generator.
onlyPlayerBreakGenerateOre: <true/false>
# In this section, you modify the ore generator.
# You can add multiple custom generators for every individual setting.
oreGenerator:
- # Set, with which item in hand of the player breaked the block should trigger the ore generator plugin.
# If you don't want to restrict it for an Item, just set '*' or nothing.
# Material list can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
itemInHand: '<material>:<sub_id>
# The display name is the name of the item in your hand.
# If you set a display name, the ore generator will only tigger, when your itemInHand has this displayName.
# For colored display name, use §<number>.
# If you want no display name, just let it empty ('')
displayName: '<name>'
# Set, in which worlds the ore generator should only trigger for custom blocks.
# If you dont want to restrict it, let it empty (worlds: [])
worlds:
- <world_1>
- <world_2>
- <world_3>
- ...
# Set, which permission a player must have for triggering the ore generator.
# If you dont want to restrict it, let it empty (permission: '')
permission: <permission>
# Here, you can setup the content of the blocks, which can be set instead of a cobblestone.
# <percentage> is the chance of set the block. Minium is 0, maximum is 100.
# Example: If you set 5 for <percentage>, it means the chance to set this block is 5%.
# <material>:<sub_id> is the block, which will be set.
# You can add unlimited blocks, but beware that the total chance of a entries must be 100% or under 100%.
# The remaining chance is the chance of creating a normal cobblestone
chances:
- '<percentage>, <material>:<sub_id>'
Example config:
--- !!config.Config
onlyPlayerBreakGenerateOre: true
oreGenerator:
- itemInHand: ''
displayName: ''
worlds: []
chances:
- 30, STONE
- itemInHand: DIAMOND_PICKAXE
displayName: '&6Ore Pickaxe'
worlds:
- world
- skyblock
chances:
- 4, IRON_ORE
- 0.5, DIAMOND_ORE
- 3, COAL_ORE
- 0.7, EMERALD_ORE
- 2, GOLD_ORE
- 0.8, LAPIS_ORE
- 1, REDSTONE_ORE
Videos/Images/Tutorials:
Currently, I have no visual materials for you to show the plugin ingame. If you have created some materials, please send me a PM so I can post the material in this section.
Utils:
You can also visit my website, teamspeak or minecraft server under cubia.net
If you want to support me with a donation:
I also offer plugin coding: If you search for a minecraft programmer and you want a unique witten plugin, I can code for you. PN me if you are interested.
I hope this plugin can be useful for you :)
~Kerim
Fell free to send me a private message or leave a comment if you have any wishes/new ideas for this plugin. You can also chat with me on my teamspeak server.
And: Sorry for my bad english, im a german programmer. I hope you can understant it :)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta
