Skip to content

Releases: NhanAZ-Plugins/SimpleEconomyExample

SimpleEconomyExample v1.0.1

Choose a tag to compare

@NhanAZ NhanAZ released this 13 Oct 12:58
v1.0.1
f495a1f

SimpleEconomyExample 1.0.1

This release updates the learning example to use the stable SimpleEconomy 1.1.0 API.

  • Built from commit f495a1fbf5aef2f3c1516c83c698727609513233.
  • The exact tag workflow completed successfully: run 38400887681.
  • The published PHAR is the verified output of that run (SHA-256 ba9c168db118728c5aa3439b03435991d56d0a28cb4eb963bba14cecb67e4ea1).
  • A headless connected-client smoke test on Axolotl-PM 5.49.1 loaded this PHAR with SimpleEconomy 1.1.0 and confirmed /wallet returned $1,260 without changing the fixture database.

This is an API learning example. A real Bedrock UI test and production backend integration were not part of this verification.

SimpleEconomyExample v1.0.1-beta.1

Pre-release

Choose a tag to compare

@NhanAZ NhanAZ released this 11 Oct 17:32
v1.0.1-beta.1
f63acaf

Changes

/reward and /fine now use SimpleEconomy's confirmed balance callbacks. They report success after the SQL save and readback, and report failure when the operation is rejected. The example depends on the SimpleEconomy v1.1.0-beta.2 prerelease for these methods. The other commands and plugin API requirement are unchanged.

Validation

  • Tag CI passed PHP lint, PHPStan at maximum level, and DevTools PHAR content and checksum validation against pinned producer and Axolotl-PM source.
  • This exact tag PHAR and the producer beta.2 PHAR passed a connected headless Bedrock protocol test on Axolotl-PM 5.49.1. /wallet, /reward, /fine and /richest responded as expected; SQLite finished at balance 1,000, revision 3 after clean shutdown.
  • The same source in an earlier CI PHAR passed offline, insufficient-funds and zero-amount checks. An injected SQLite write failure returned a failure message and left the row unchanged. That backend fault produced an expected SimpleSQL recovery snapshot. Archive contents matched across the two CI PHARs; their byte hashes differed because PHAR entry timestamps differed.
  • build-metadata.json records the tag CI artifact SHA-256. SHA256SUMS.txt covers both release assets.

Scope

This is a learning-resource prerelease, not a production-stable release. The real Bedrock game UI, other Axolotl-PM 5.x versions, production SQL backends and a live upgrade are unverified. Keep a data backup and a previously working PHAR for rollback. Separate confirmed balance calls are not an atomic transfer; use SimpleEconomy's /pay for that operation.