Content generated with AI — it may contain mistakes.

Reference

Configuration

Every key of config.yml: language, stakes and currencies, what players may do while they play, the table look, AGAIN, the zoom, the room, the guide and the command names.

config.yml holds what every game shares. Each game's own settings are in modules/<game>/config.yml, described on Games. Times are written 30s, 5m or 1h30m; colours use palette tokens such as {primary}, and glow colours take a token or #rrggbb. Apply a change with /casinoadmin reload, except where a key says it needs a restart.

Language

KeyDefaultWhat it does
languagedefaultdefault follows the language set in ExyliaLib's config.yml; a code such as en, es, ru or tr sets this plugin alone. Each is a folder under lang/ you can edit.
debugfalseExplains in the console what the plugin is doing.

Stakes: wager

KeyDefaultWhat it does
wager.currencies[]Currencies a bet may use, by their ExyliaLib id. Empty offers every currency the player may use.
wager.minimum10Smallest stake a player may bet.
wager.maximum0Largest stake. 0 for no limit.
wager.cooldown1sTime between two rounds started, so a stake is never charged twice by a double click.
Only currencies earned by playing

List only currencies players earn in game. Never offer a currency bought with real money.

While they play: arena

KeyDefaultWhat it does
arena.allowed-commands[msg, r, tell]Commands a player may still type during a round, without the slash. The game's own command always works, so /<game> leave does.
arena.freezetrueHolds players still where they play, so their table stays in front of them.

The table look: casino

Shared by every table.

KeyDefaultWhat it does
casino.table-blockBLACK_CONCRETEThe felt behind every board.
casino.frame-block, casino.frame-glowPURPLE_CONCRETE, {primary}The frame round it, and its neon outline.
casino.button-block, casino.button-glowGRAY_CONCRETE, {secondary_light}What buttons are made of, and their outline under the crosshair.
casino.rain-item, casino.rain-countGOLD_NUGGET, 18A win rains this item over the board, this many. 0 for none.
casino.fireworks, casino.win-colourstrue, [{highlight}, {success}, {secondary}]A win sets off fireworks only the winner sees, in these colours.
casino.marqueetrueCasino bulbs round every table's frame, a wave of light running along them; they blink together on a win. Off draws no bulbs.
casino.marquee-block, casino.marquee-glowOCHRE_FROGLIGHT, {highlight}The bulb block and its glow.
casino.marquee-spacing, casino.marquee-cycle0.3, 1400msThe space between two bulbs in blocks, and how long a crest of light takes to run six bulbs on.
casino.verdict-blockBLACK_CONCRETEThe plaque a finished game's verdict lands on, over the heading.
casino.verdict-win, -lose, -draw{success}, {error}, {warning}Its outline on a win, a loss and a draw.

When a round ends: again

KeyDefaultWhat it does
again.enabledtrueShows AGAIN, CHANGE BET and LEAVE when a money round ends. Off sends the player away.
again.delay1500msHow long the result shows before the buttons come up.
again.timeout15sHow long the buttons wait for an answer.
again.distance, again.lift1.7, -0.95Where they stand, in blocks: ahead of the eyes, and above eye level (negative is below). Under a board that reaches lower they drop until they clear its edge.
again.hover-sound, again.press-soundBLOCK_NOTE_BLOCK_HAT|0.4|1.8, UI_BUTTON_CLICK|0.6|1.2The crosshair over a button, and a button pressed.

Size: screen

One zoom for every board, so a server makes them all bigger or smaller at once.

KeyDefaultWhat it does
screen.zoom2.4How many times nearer, and so larger, every board is drawn than its game's own distance says. 1 draws them as each game's file places them.
screen.max-wide, screen.max-tall110, 80A board never spans more than this many degrees across, or up and down: it stops growing there. The defaults fill a 90 FOV screen; on 70 the tallest boards are cut at the edges. Lower them (95 and 65) to fit every board at 70.
screen.nearest1.5The nearest a board may come to the eyes, in blocks.

The room: booth

A closed dark room drawn round a player while they play, only for them, so they see the board and nothing of the world behind it. Other players are hidden from them meanwhile.

KeyDefaultWhat it does
booth.enabledtrueDraws the room. Off, the board stands in the open world; the blocks round the player are still cleared and other players still hidden.
booth.block, booth.floorBLACK_CONCRETE, trueThe block of its walls, ceiling and floor, and whether it has a floor (off shows the ground).
booth.reach, booth.ceiling4.5, 3.5How far from the eyes the walls stand, and how far above the eyes the ceiling is.
booth.stars, booth.star-colours, booth.star-scale40, [{secondary}, {secondary_light}, {letters}], 0.32Faint twinkling stars on the walls and ceiling: how many (0 for none), their colours and their size.

The guide: guide

How the game is played on the player's left and what it pays on their right, a turn of the head away.

KeyDefaultWhat it does
guide.enabledtrueOff shows no panels.
guide.distance, guide.lift1.9, 0.05Where they stand: away from the eyes, and above eye level.
guide.scale0.42How big their text is drawn; titles are drawn larger.

Command names

KeyDefaultWhat it does
casino-command[casino]Names of the command that opens the casino. The first is the command. Needs a restart.
admin-command[casinoadmin, cadmin]Names of the admin command; the first is the command, the rest aliases. Needs a restart.

Each game's command is set by commands in its own module file.

Messages and menus

Every line a player reads is in lang/<language>/messages.yml (stakes, results, the heading over every table, the AGAIN buttons, the /casino cards, the admin lines) and in each game's lang/<language>/modules/<game>/messages.yml. Colours are palette tokens, so recolouring the server never means editing them. A message may open with an effect tag that never reaches the screen: [sound:NAME|volume|pitch] plays a sound, [center] centres the line. %prefix% is replaced by the prefix value; an empty message is not sent.

The casino's card on the games screen is catalog in messages.yml: its icon, name, description, and the mode line under every game's card, which takes %rtp%.

Something missing on this page? Tell us on Discord