Skip to content

levelConfig.yml

Razorax edited this page Jan 24, 2015 · 5 revisions

The levelConfig.yml file holds the heart of uSkyBlock, the scores of each block-type.

It's a very simple config file, just 4 sections and a version number.

But the values, and their meaning is not for the faint-hearted.

The key to understanding this config file is, to understand how the keys are formatted.

general

general:
  # pointsPerLevel - number of points needed to advance 1 island level.
  pointsPerLevel: 1000

  # default - the default value for blocks not listed in blockValues here.
  default: 10

  # useDiminishingReturns - If true, diminishing returns will be used for all blocks using the default scale 
  # (custom scales can be defined in the section below).
  # If useDiminishingReturns is false, the blocks listed in the dimishingReturns section will still be affected.
  useDiminishingReturns: false
  # defaultScale - the default value to use for diminishing returns. This is the number of blocks before DR starts to 
  # lower value.
  defaultScale: 10000

A note on block-ids (keys)

To understand the way this config file is structured, keep in mind, that all blocks in Minecraft have both an ID, and a data-value.

If you want to keep it simple, you can simply ignore data-values, and use block-ids all through the config. If you want to use data-values, you need to keep in mind, that different blocks uses data-values very differently.

I.e. stone (1) uses data-values for different types of stone (Granite, 1:1) etc. Where as, Quartz (155) uses data-values for both different types, and their orientation (155:2=Pillar Vertical, 155:3=Pillar North South).

Keys in the blockValues section controls how blocks are treated.

'<num>' - This denote ALL blocks with this block-ID (all data-value-variants is counted as the ID:0 block). '<num>:*' - This denote ALL blocks with this block-ID and data-values (all data-value-variants are counted separately).

blockValues

blockLimits

`