What is Foundry?
Foundry is a Paper plugin that loads addons. Addons add abilities to the server. Developers use Foundry's API to register each ability and assign it to a player action, such as right-click. Foundry also handles cooldowns.
- Load addon JAR files from plugins/Foundry/packs when the server starts.
- Let addon developers register abilities and assign them to player actions.
- Handle click actions, including sneaking and using the offhand.
- Save an ability ID on an item. This does not make the item activate the ability yet.