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?