Repository navigation
SimpleEconomyExample v1.0.1-beta.1
Pre-release
Pre-release
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,/fineand/richestresponded 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.jsonrecords the tag CI artifact SHA-256.SHA256SUMS.txtcovers 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.