Skip to content

Blackjack 2.4

Latest

Choose a tag to compare

@DefectiveVortex DefectiveVortex released this 19 May 05:18

What's Changed

This release includes every change since the published v2.3 release, including the commit that was already on main after v2.3.

Added

  • Added full PlaceholderAPI documentation in PLACEHOLDERAPI.md, covering player stats, table information, game state, betting, economy placeholders, examples, formatting notes, and troubleshooting.
  • Added per-table settings for server administrators.
  • Added /bj createtable options for min-bet, max-bet, max-players, and max-join-distance.
  • Added /bj settable <setting> <value> for editing the nearest table's per-table settings.
  • Added persistence and loading for per-table settings while preserving legacy table entries.
  • Added automatic config.yml and messages.yml updating on plugin startup and /bj reload.
  • Added safe config/message file backups before automatic updates: config.yml.pre-update.bak and messages.yml.pre-update.bak.
  • Added /bj version for version and update status.
  • Added tab completion under /bj and /blackjack, including admin commands, quick bet amounts, and online player names for admin stats lookup.
  • Added .gitignore entries for local build output and Claude worktree artifacts.

Changed

  • Bumped plugin version to 2.4.
  • Command usage is now namespaced: actions must be run through /bj ... or /blackjack ....
  • Removed hardcoded standalone top-level command registrations such as /join, /leave, /hit, /stand, /doubledown, /bet, /stats, table admin commands, and /bjversion.
  • Updated README command examples, command table, and install steps to reflect /bj usage and the Vault economy requirement.
  • Updated plugin.yml, default messages, help output, and clickable chat buttons to use /bj ....
  • Bet validation and table capacity/distance checks now respect per-table overrides where configured.
  • Existing old button/message command values such as /hit, /stand, /bet , and /bjversion are normalized to /bj ... at runtime or during message migration.
  • Improved Vault economy availability checks and error messages so the plugin disables cleanly if Vault or a Vault-compatible economy provider is missing.

Fixed

  • Locked betting/start actions while a round is active or results are settling, preventing late bet changes during payout resolution.
  • Snapshotted round bets at game start so payouts use the bet from that round.
  • Improved cleanup of blackjack card display entities by tagging spawned displays and purging tracked orphan displays around table lifecycle events.
  • Reused the card model identifier from Card instead of duplicating card identifier logic in table display code.

Release Artifact

  • Blackjack-2.4.jar

Commit Range

  • 523ec37 - Post-v2.3 PlaceholderAPI documentation and README updates.
  • 3113ebe - Per-table settings for administrators.
  • 0d25d06 - Merge of the per-table settings branch.
  • f123817 - v2.4 release prep with command namespacing, config/message migration, game-flow fixes, economy checks, integration fixes, and version bump.