Configuration

Back to main page

Configuration

If you want to delete an item you need to go directly into the config.

loots.yml

How to add Loot?

Command: /rpgI

This is basically the first part of any command matching the item- and loot-configuration.

with: /rpgI addLoot <-g,-m,-h,-b> <id> <amount> <data>

you can add loot to GlobalLoot(-g), MediumLoot(-m), HighLoot(-h) and BossLoot(-b)! After this no reload is required.

In this config there is also a value called "probaility" which represents the drop-chance of the corresponding loot. 1 means 100% and 0.01 means 1%.

restrictedLoot and packedLoot were explained here.

items.yml

Command: /rpgI

This is basically the first part of any command matching the item- and loot-configuration.

with: /rpgI adddungeonLoot <id> <amount <data> <dungeon> you can add loot to the dungeon. The probability is the same. After this no reload is required.

The DungeonShop All dungeons are listed up again. 9 Items are created and have certain values. You can change this values in order the configure the DungeonShop of the dungeon. ID and data should be simple to understand. The reason why there are two other values is that the amount of items in the DungeonShop is dynamic. It depends on the amount of dungeon-items put into the DungeonShop.

The amount is calculated by the function: amount(x) = 0.015625(bx²) + c

x = Amount of dungeon-trophies

b = factor

c = base

That means:The higher the amount of dungeon-trophies the higher the amount of DungeonShop rewards.

You can also configure the item-name here! By default it is the name of the dungeon.

dungeons.yml

Change the lootBlock

Its very simple to configure you lootBlock. Just take to blocks which you would like to be the new lootBlock and put their ids in the config. The baseBlock is the block under the lootBlock.

Go Multiverse!

Its also possible to teleport between two worlds. The dungeonWorld is the world where the dungeons are. The mainWorld is the world where your lobby is. Both values could also be so same.