Skip to content

SnEconomyRobots v1.1.0

Choose a tag to compare

@ValentinTarnovsky ValentinTarnovsky released this 10 Aug 13:19
· 15 commits to main since this release

Changes

The economy dependency contract was inverted. Vault is now the mandatory backend and EdTools is optional.

  • depend: [SnLib, Vault] - Vault backs the reserved economy.vault-economy-id, so it is the one provider the plugin can never run without. It was a softdepend until 1.0.1.
  • softdepend: [PlaceholderAPI, EdTools] - EdTools is now one currency provider among the several this plugin will grow, instead of the hard dependency the whole plugin was built around.
  • Without EdTools the plugin starts and runs normally on the Vault economy alone, and logs one INFO line saying so. Robot production entries and upgrade costs priced in an EdTools currency simply never settle: the income stays in the claim bag, nothing is lost.
  • With EdTools installed nothing changes at all - same currencies, same booster behavior, same async threading.

No configuration change is required, and no economy call site changed: EconomyService already routed the reserved id to Vault and every other id to EdTools.

Upgrading from 1.0.x

Vault is now required. Install Vault plus an economy provider (EssentialsX, CMI, ...) before updating, or the server will refuse to enable the plugin. EdTools can now be removed if you only use the vault economy.

Installation

Download the JAR below and place in your plugins folder. Requires SnLib.jar and Vault.