An addon did not load
- Put the JAR directly in plugins/Foundry/packs. Foundry does not check subfolders.
- Put foundry.yml at the top level inside the JAR.
- Make sure the id matches the addon's ID and only uses lowercase letters, numbers, underscores, or hyphens.
- Make sure main names a class in the JAR that implements FoundryAddon and has a constructor with no arguments.
- Check the server log for errors when Foundry starts. It reports missing or invalid addon files and addons that fail to start.
An ability did not activate
- Register the ability before assigning it to a player.
- Assign it with playerAbilities.assign, using the action the player will use.
- Check whether the player was sneaking or used the offhand. Those are separate actions.
- Foundry handles left and right clicks in the air or on a block. It ignores physical interactions.
- Check whether the player is on cooldown. Foundry does not run the ability while its cooldown is active.
Config files and reload
Foundry does not have a server config file or reload command yet. foundry.yml goes inside an addon JAR; it tells Foundry how to start that addon. It is not a server config file.