mastercake10 / CustomOreGen

A simple yet powerful, fully customizable cobblestone generator for Bukkit
GNU General Public License v3.0
11 stars 11 forks source link

Total Chance #29

Closed samidont0817 closed 5 years ago

samidont0817 commented 5 years ago

When reloading the plugin, it states that the generators do not have a total chance of 100.0, even though they do.

CustomOreGen: v1.3.18-SNAPSHOT FabledSkyBlock: v2.0.3 Server Version: Paper(192) 1.14.4-R0.1-SNAPSHOT `# You can create generators as much as you want.

Important: All generators should be named "generator1", "generator2", etc.

You can define the spawnrates of any block in the blocks-section.

The spawnrates are in percent, for example 57.3 are 57,3%.

All values together should be 100%. If all values together are higher or lower as 100, the plugin would'nt work correctly.

The permissions are custom, so you can make a generator for VIPS, and give them the permission "oregen.vip".

Are you finish with configuring? Just type /customoregen to reload the plugin!

Note: If the Island's owner is offline, the cobblestone generator would be choose the first Generator-Config.

generators: generator1:

default generator

# name of the generator (does not need to be set, just for placeholders)
label: "Tier I Generator"
blocks:
# Please use Bukkit-Blocknames. List: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
- COBBLESTONE: 80.5
- STONE: 16.0
- COAL_ORE: 1.0
- IRON_ORE: 1.0
- GOLD_ORE: 1.0
- REDSTONE_ORE: 0.5    
permission: 'oregen.gen1'
# You can also define from what level the generator should be activated. Example: Leave all permissions empty and
# only work with the island Level. The plugin would only consider the islandLevel then.
unlock_islandLevel: 0

generator2:

vip generator, VIPS need generators.vip permission

label: "Tier II Generator"
blocks:
- COBBLESTONE: 80.0
- STONE: 14.4
- COAL_ORE: 1.5
- IRON_ORE: 1.0
- GOLD_ORE: 1.0
- REDSTONE_ORE: 1.0
- LAPIS_ORE: 1.0
- DIAMOND_ORE: 0.1
permission: 'oregen.gen2'

generator3: label: "Tier III Generator" blocks:

mastercake10 commented 5 years ago

Thanks, I've fixed the round off bug and allowed the format MATERIAL:<SPACE>CHANCE in addition to the original one (MATERIAL:CHANCE), since people seem to tend using your format.

samidont0817 commented 5 years ago

Thanks~