CraftBook 3

CraftBook 3

139k Downloads

WG support for custom drops

LadyCailinBot opened this issue ยท 9 comments

commented

CRAFTBOOK-3224 - Reported by _Krono

Could you possibly add World Guard support for block drops? So I can assign block drops to a specific block within a specific region and that drop will only work in the regions I tell it to while not in the region it will drop its vanilla drop.

commented

Comment by me4502

Done.

commented

Comment by _Krono

@me4502 How exactly do you use the feature though? Can you give some kind of example how it should be in the config?

commented

Comment by me4502

In each definition, if you set the 'region' node, it will only work in regions with that name.

commented

Comment by _Krono

@me4502 What do you mean about each definition?

commented

Comment by me4502

It goes at the same level as append

https://github.com/sk89q/CraftBook/blob/3.x/src/main/resources/custom-drops.yml#L9

I'll update the example file in a second.

commented

Comment by _Krono

@me4502 Ok thanks. Sorry for being annoying.

commented

Comment by _Krono

@me4502 Oh and how could multiple regions be put down?

commented

Comment by me4502

Uh not easily using the current system. You'd need to make multiple definitions, one for each region. I could switch it over to using a list if you need multiple regions.

commented

Comment by _Krono

@me4502 Yes the list would be nice