Config Tutorial

Configuration Tutorial for OreGen2

OreGen2 uses a simple configuration setup. This information should explain how to customise it to your needs.

When you first open OreGen2's config.yml you should see something like the following:

#OreGen2 Config File
#The format of this file is "<Material name>: <no. of draws>"
#Probability of material generation = material's no. of draws / total no. of draws
STONE: 60
COAL_ORE: 10
IRON_ORE: 8
GOLD_ORE: 5
REDSTONE_ORE: 7
LAPIS_ORE: 7
EMERALD_ORE: 2.5
DIAMOND_ORE: 0.5

Explanation:

  • Anything with a # before it is a comment, and will not affect the plugin in any way.
  • The config is split into two parts, keys, and values. Keys are to the left of the colons and values on the right.
  • The key represents the block, and the value represents how many 'draws' it has to be picked.
  • For purpose of ease, the total draws in this configuration is 100, so you can think of each value as a percentage chance.
  • However, you can have as many draws as you want, and the probability of a block's creation is it's number of draws divided by the total number of draws

Note: The block name is CASE-SENSITVE and you must insert the exact name of a block for it to generate.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes