DUXPLIMA Documentation

Settings

Every field in Settings.luau with its default.

Shared/Config/Settings.luau. One file for the whole system.

System and table

FieldDefaultWhat it does
DebugfalseExtra [uxrCC] lines in Output
AssetFolder"Assets"Designer models folder under ServerStorage/<package>
WorkspaceFolder"uxrColorCardsWorkspace"The world folder
TablesFolder"Tables"The folder of table models inside it
Seats4Chairs looked for per table
MinPlayers2Fewest players to start
StartingHand7Cards dealt to each player

Colours

Colors = {
    Red = { 226, 42, 42 },
    Yellow = { 247, 197, 22 },
    Green = { 46, 176, 74 },
    Blue = { 32, 116, 232 },
    Wild = { 22, 22, 28 },
},

Red, green and blue from 0 to 255. Used by the interface, the turn sign and the colour picker.

House rules

FieldDefaultImplemented
StackingtrueYes
LastCallouttrueYes
DrawUntilPlayablefalseYes
StrictWildFourfalseYes
SevenZerofalseNo
JumpInfalseNo

See House rules.

Timing

FieldDefaultWhat it does
MoveSeconds25Seconds per turn
ClockTickRate0.25How often the countdown updates
BotMoveDelay0.9Pause before a bot plays
LastWindowSeconds3Time to call last card
ResetDelay6Seconds the result holds before the table clears
BotLoadMinSeconds0.5Minimum loading splash
BotLoadMaxSeconds8Longest wait for a bot avatar

Bot

FieldDefault
Difficulties.Easy{ randomness = 0.5, callsLast = false }
Difficulties.Medium{ randomness = 0.15, callsLast = true }
Difficulties.Hard{ randomness = 0, callsLast = true }
DefaultDifficulty"Medium"
UseFriendAvatartrue
FallbackUsernamesTwelve well-known accounts

See Bots.

Leaderstats

FieldDefaultWhat it does
EnabledtrueCreate the player-list columns
Wins, Losses, Pointsthose namesColumn names
CountBotGamestrueWhether bot games count
StartValuesall 0Where a new player starts

Leaderboard

FieldDefault
Enabledtrue
WorkspaceFolder"uxrColorCardsWorkspace"
BoardsFolder"Leaderboards"
Stats{ "Wins", "Points" }
TopN100
RefreshSeconds60
Descendingtrue
Store.Prefix, Store.Version"uxrCC_LB_", "v1"

Build one model per entry in Stats under Workspace/uxrColorCardsWorkspace/Leaderboards, named <Stat>Leaderboard for the global board or <Stat>ServerLeaderboard for this server. Each needs a ListPart.ListGui.ScrollingFrame with a Template row holding RankTextLabel, NameTextLabel and ValueTextLabel.

Bumping Store.Version starts a fresh season without touching profiles.

Intro

FieldDefault
Intro.Enabledtrue
Intro.HoldSeconds2.5

Sounds

Sounds.Enabled is the master switch. Sounds.Events holds seventeen entries, each { Id = "", Volume = n }:

EventVolumePlays
CardPlay, CardDraw0.5Cards
YourTurn0.5Your turn begins
Skip, Reverse, DrawTwo, DrawFour, Wild0.5Action cards
LastCall, Penalty0.6The last-card moment
Win, Lose0.6The result
GameStart0.5A game beginning
ClockLow0.5The turn timer running out
UIClick, Notify0.4Interface
Music0.3Background

Every Id ships empty, so the system is silent until you paste ids in. The volumes are already balanced: effects at 0.5, the dramatic moments at 0.6, interface at 0.4 and music at 0.3.

Card images

CardImages maps 63 card keys to asset ids. See Building a table for the key format.

Profile

FieldDefault
Profile.Store"uxrCC_Profile_v1"
Profile.AutosaveSeconds60

Messages

KeyNotes
WaitingPlayersShown at an unfilled table
PlayButtonThe play button label
YourTurn, TheirTurnTheirTurn takes the player's name via %s
LastCardThe last-card call
ChooseColorThe wild colour picker
NowPlayingThe turn sign header

ResultMessages holds Win, Loss, GameOver, PlayerLeft (which takes a name via %s) and LastPenalty.

Keep the %s in the two strings that have one. Removing it does not error; it just stops naming the player.