Skip to content

Releases: xingguanglang/CasinoTables

CasinoTables 1.0.3

Choose a tag to compare

@xingguanglang xingguanglang released this 20 Aug 10:25

Blackjack's main way to bet did not work at all in 1.0.2. If you are running it, update.

Fixed

Chips could not be placed on a Blackjack table. Seated players were put in adventure mode,
which cannot place blocks, so dropping chips into the betting box did nothing and the minimum-bet
button was the only way to wager. Hold'em always used survival and was unaffected. Arena blocks stay
protected either way — the break guard keys off the seat, not the gamemode.

Placed chips vanished. The Blackjack arena painted the betting pad but never rendered what was
on it. Each seat's pending bet now sits on its own pad as real chips, merged to the largest
denominations exactly like Hold'em. They are not pooled to the middle: in Blackjack every wager is
between that player and the dealer.

The 1 and 5 chips were pushed out of the hotbar. Five tool items plus six denominations need
eleven slots and there are nine, so the two you reach for most to make change ended up in the
backpack. Only the minimum-bet and confirm items stay in hand now; reclaim, hit, stand and the rest
were already on the physical buttons beside each seat.

English button captions overlapped into an unreadable smear. The buttons sit one block apart and
Confirm Bet / Check is nineteen characters wide. Chinese fit at two glyphs, which is why it went
unnoticed. Captions are short now and scaled the way Blackjack already scaled its own.

The menu title read CasinoTables Casino Tables in English, because the template appended those
words to the brand name.

Vanilla tooltips leaked into item lore in the client's own language — most visibly the firework
rocket's flight duration on the Ludo menu entry, which showed up in Chinese on a Chinese client.

Changed

Cards now take a moment to arrive: three seconds for a hit or a double, five for each card the
dealer draws, each landing with a lightning strike in the same tick as the card. Turning the hole
card over strikes too. Seat actions lock while a card is in the air — standing during the pause used
to hand the turn on and deal the card into the wrong hand.

Blackjack gained the on-screen phase prompt and countdown Hold'em already had: place your bet, your
turn, the dealer is playing. The chat log alone was easy to miss while looking at your cards.

Note for existing installs

Language files in plugins/CasinoTables/lang/ take priority over the copies inside the jar, so that
your own wording survives updates. That also means the reworded button captions will not appear
until you delete those files
and let them regenerate. If you have not edited them, deleting is
safe. Untouched keys always fall back to the jar, so nothing breaks either way.

Requirements

Paper 1.21 – 26.2 or Purpur (not Spigot, not Folia), the Vault API plus an economy plugin, Java 21+.

Tested

This exact jar booted cleanly, with no plugin errors, on all 14 Paper versions in range: 1.21,
1.21.1, 1.21.3 – 1.21.11, 26.1.1, 26.1.2, 26.2. Paper never published builds for 1.21.2 or 26.1.

CasinoTables 1.0.2

Choose a tag to compare

@xingguanglang xingguanglang released this 20 Aug 06:44

Hand histories no longer freeze in whichever language was active when they were recorded. Reasons are stored as a message key plus arguments and rendered on read, so changing language: in config.yml re-renders the whole archive instead of leaving a half-and-half list. Records written by 1.0.0 or 1.0.1 keep displaying exactly as before.

Everything from 1.0.1 is included: the leaf-decay fix, the localisation defects found by auditing the text extraction, and the corrected rake on pots that were never called.

Requirements - Paper 1.21-26.2 or Purpur (not Spigot, not Folia), the Vault API plus an economy plugin, Java 21+.

Tested - this exact jar booted cleanly, with no plugin errors, on all 14 Paper versions in range: 1.21, 1.21.1, 1.21.3-1.21.11, 26.1.1, 26.1.2, 26.2. Paper never published builds for 1.21.2 or 26.1.

CasinoTables 1.0.1

Choose a tag to compare

@xingguanglang xingguanglang released this 20 Aug 06:02

First release intended for general use. If you grabbed v1.0.0, replace it with this build.

Fixed since v1.0.0

Arena leaves no longer decay. Vanilla treats leaves with no log within six blocks as a felled
tree and lets them rot. The Open Garden and Cherry Courtyard decors use leaves as walls and
decoration, so rooms slowly punched holes in themselves and littered the floor with saplings. Every
block the arenas place now goes through one code path that pins leaves as persistent, exactly as
player-placed leaves are.

What it is

Texas Hold'em, Blackjack and Ludo played on real tables built in the world — not in a chat
window and not in an inventory GUI. Every table is a physical arena in its own void world: seats, a
dealer, buttons, floating card displays, and chips you actually pick up and place. Closing a table
restores every player's inventory, position, gamemode, health and effects.

  • Texas Hold'em — 1–6 real players, empty seats filled by six bot archetypes from novice to
    expert. You bet by dropping chips into the zone in front of your seat. Hole cards are visible only
    to their owner.
  • Blackjack — 1–6 players against the dealer. Hit, stand, double, split to four hands,
    insurance. Dealer stands on soft 17, blackjack pays 3:2, no rake.
  • Ludo — 2–4 players on a 48-square board with colour jumps, a centre leap and capture.
  • 13 table decors × 4 room shapes, chosen independently.
  • Every player-facing string lives in a language file. English and Chinese both ship and are both
    written out on first start.

Requirements

  • Paper 1.21 – 26.2, or Purpur. Not Spigot — the plugin uses Paper's world-creation and
    Adventure text APIs. Not Folia.
  • The Vault API plus an economy plugin. Either the original Vault or VaultUnlocked works.
  • Java 21 or newer.

Tested

This exact jar was booted on every Paper version in the supported range and reached a clean startup
with no plugin errors on all of them:

1.21 1.21.1 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11
26.1.1 26.1.2 26.2

Paper never published builds for 1.21.2 or 26.1, so those two are not claimed.

Install

  1. Drop CasinoTables-1.0.1.jar into plugins/
  2. Start the server — three arena worlds and plugins/CasinoTables/ are created automatically
  3. Run /casino

License

GPL-3.0-or-later. Source is in this repository. Distributing a modified build means shipping its
source under the same licence; running it on a server, public or paid, is not distribution.

CasinoTables 1.0.0

Choose a tag to compare

@xingguanglang xingguanglang released this 20 Aug 04:40

Texas Hold'em, Blackjack and Ludo played on real, built-in-world tables — not in a chat window
and not in an inventory GUI. Every table is a physical arena in its own void world: seats, a dealer,
buttons, floating card displays, and chips you actually pick up and place.

Requirements

  • Paper 1.21 – 26.2 — one jar covers the whole range
  • Vault plus an economy plugin
  • Java 21 or newer

Spigot is not supported: the plugin uses Paper's world-creation and text-display APIs.

Install

  1. Drop CasinoTables-1.0.0.jar into plugins/
  2. Start the server — three arena worlds and plugins/CasinoTables/ are created automatically
  3. Run /casino in game

Both bundled languages are written to plugins/CasinoTables/lang/ on first start. Set
language: in config.yml to pick one; your edits there survive updates, and any key you
delete falls back to the copy inside the jar.

What is in it

  • Texas Hold'em — 1–6 real players, empty seats filled by six bot archetypes from novice to
    expert. Physical chips dropped into a betting zone in front of your seat. Hole cards shown only
    to their owner.
  • Blackjack — 1–6 players against the dealer. Hit, stand, double, split to four hands,
    insurance. Dealer stands on soft 17, blackjack pays 3:2, no rake.
  • Ludo — 2–4 players, a 48-square board with colour jumps, a centre leap and capture.
  • 13 table decors × 4 room shapes, chosen independently.
  • Every player-facing string lives in a language file. English and Chinese ship.

Verify the download

sha256  043f32547b5b575a5da37d416318b03d8355c0c060991f9b939a32fca6a3572a

License

GPL-3.0. Source is in this repository; if you distribute a modified build you must ship its
source under the same licence. Running it on a server, public or paid, is not distribution.