Question about configuration node efficiency

Just a quick question about what would be the most efficient way to go about what I’m trying to do.

Essentially, I’m creating a job plugin for our Pixelmon server that awards pokedollars, rather than using the Economy API (so we can buy stuff off Pixelmon’s generated NPC’s.)

All is going well, but I’ve decided to allow the addition of custom jobs in the config, with nodes such as breakIDs, placeIDs, and craftIDs for the new custom jobs, to determine which block and item ID’s will earn you money.

I’d not only like to add the block/item ID’s to these nodes, but also the value, or how much you’d earn for them. So I’d just like to know, what would be the most efficient way to handle this? Using a map, or a list?

Also, the structure is like:
jobs {
miner {
breakIDs {
}
placeIDs {
}
craftIDs {
}
}
}

Why not just use the Pixelmon-Sponge economy bridge plugin? That way you don’t need a custom plugin just for Pixelmon

1 Like

Wait what? where is that plugin located?? I have yet to see this one @MoeBoy76 lol

yeah its kinda buggy, il put it on my github later :wink:

So much buggys xD Sweet thank god. Was wondering how you guys were going to handle the economy for Pixelmon.

Oh damn, that sounds like a neat plugin! I never even knew it existed!