Skip to main content

Database

Database tables for character data and slot purchases

This section

Database

Import data.sql to create the required tables.

Tables

multichar_music

Per-player background music preferences.

ColumnTypeDescription
idINT (PK, AI)Unique identifier
licenseINTPlayer license
urlLONGTEXTMusic URL (YouTube/SoundCloud)
volumeINTVolume level

multichar_purchases

Tebex transaction records for slot purchases.

ColumnTypeDefaultDescription
idINT (PK, AI)Unique identifier
transactionVARCHAR(50)Tebex transaction ID
slotsINT0Number of slots purchased
usedINT0Number of slots redeemed

multichar_slots

Per-player additional slot count.

ColumnTypeDescription
idINT (PK, AI)Unique identifier
licenseVARCHAR(55)Player license
slotsINTAdditional purchased slots

players (ALTER)

Adds a settings column (LONGTEXT) to the existing players table for storing character display preferences (pose, background, camera, profile photo).