Skip to main content

Alloys

What this is: Paper plugin (api-version: 26.3, load: STARTUP) for the Alloys fantasy-metals datapack. The plugin does not implement gameplay rules — it installs the zip, enables the pack after world load, and exposes recipe browser, written guidebook, and /alloys commands.

Entry (plugin.yml)​

  • Main: com.alloys.plugin.AlloysPlugin
  • Commands: /alloys (alias alloy) — help, recipes, guidebook, give, reload

Startup (AlloysPlugin.onEnable)​

  1. PluginConfig reload; DatapackBridge.
  2. datapackInstaller.installAfterEnable(); deferred task calls datapackBridge.ensureAlloysDatapackEnabled().
  3. Fresh install warns to full restart if /reload raced pack enable (proj enchants / loot tables).
  4. Missing zip → severe with manual copy instructions.

Permissions​

NodeDefaultRole
alloys.usetrueRecipe browser, chat viewer, guidebook
alloys.giveopOperator test kits / welcome book
alloys.adminopReload and operator give

Repo folder: alloys (datapack id on Modrinth: s-alloys).

Failure modes​

IssueCheck
Enchants not registeredStop/start after first install per boot warning
Recipes emptyDatapack enabled in default world; Alloys.zip in datapacks/

Sources (audited): alloys/plugin/src/main/resources/plugin.yml, alloys/plugin/src/main/java/com/alloys/plugin/AlloysPlugin.java