I've added the functionality to run commands on loot items when gathered.
Code (Text):
item7:
item: gold_nugget
name: "&640 tokens"
command:
- "tokens add 40 {player}"
item8:
item: experience_bottle
name: "&e&l500 Experience"
command:
- "xp add {player} 500"
Only commands recognized by console will run.