Skip to content

v1.3

Latest

Choose a tag to compare

@RenaudRl RenaudRl released this 07 Aug 00:22

Typewriter 0.9.0-beta-175 (Java 21).

Fixes

  • A shop can no longer take a player below zero. Three independent paths allowed it: Vault trusted transactionSuccess() on its own, buy-max forced a purchase of one item when the player could afford none, and the placeholder economy read an unreadable balance as zero.
  • The affordability rule now lives on the Economy interface itself: balanceOrNull returns null when the balance cannot be read, so "unknown" is never mistaken for "empty", and a shared epsilon keeps floating point from rejecting an exact payment.
  • New BalanceParser reads formatted balances, including non-breaking and narrow no-break space separators and short forms such as 12.5k.

Compatibility

  • Requires Typewriter 0.9.0-beta-175.
  • Existing shop pages need no change; no migration from v1.2.

Install the attached JAR in the Typewriter extensions directory and reload the server.

Documentation: https://docs.borntocraftstudio.net/extensions/free/shop/