5 releases, newest first.
com.sn.economyrobots.api package, API_VERSION 1.0.0: query and grant facade (SnEconomyRobotsProvider.get()), immutable views, 6 cancellable pre-events (equip, unequip, claim, upgrade, merge, box open) and 6 notifications (claimed, upgraded, merged, box opened, cap reached, bag filled).registerCurrency with a CurrencyProvider or SyncCurrencyProvider): robots produce them, upgrades cost them and the claim bag pays them out. Routing order is Vault id, then registered currencies, then EdTools.api-events.enabled (master switch for API events) and economy.external-timeout-seconds (default 10, 1 to 120) bounding every registered-currency call. A deposit or withdrawal that succeeds after the timeout is reversed, never counted twice.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.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.
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.
storage_max/storage_free resolve from main-thread-maintained snapshots (5s refresh), safe for async tab lists, scoreboards and holograms on any permission pluginrate_<economy>/rate_raw_<economy> now report real accrual: 0 while that bag economy is at bag.max-per-economy or the player is outside production.active-worlds, unknown while the bag loadsUpdateChecker feed entry for SnEconomyRobots v1.0.0.
Robot economy plugin for Paper 1.20.x / 1.21.x. Requires SnLib and EdTools; Vault and PlaceholderAPI optional.
This repository exists only so SnLib's UpdateChecker has a public feed to poll. The primary release lives on the private source repository.