Configuration
Configuration Files Overview
Section titled âConfiguration Files OverviewâLiarsLounge uses three main configuration files:
File | Purpose |
---|---|
config.yml | Database and core game settings |
values.yml | GUI items, materials, and visual elements |
arenas/<arena_name>.yml | Individual arena configurations |
config.yml
Section titled âconfig.ymlâDatabase Settings
Section titled âDatabase SettingsâChoose between SQLite (simple) or MySQL (advanced):
SQLite (Recommended for Most Servers)
Section titled âSQLite (Recommended for Most Servers)âdatabase: type: 'SQLite'
MySQL (For Networks/Large Servers)
Section titled âMySQL (For Networks/Large Servers)âdatabase: type: 'MySQL' host: 'localhost' port: 3306 database: 'liarslounge' user: 'root' pass: 'password' ssl: false verify-certificate: true pool-size: 10 max-lifetime: 1800000 idle-timeout: 600000 keepalive-time: 0 connection-timeout: 30000
Game Settings
Section titled âGame Settingsâgame: send-pro-tip: true # Show helpful tips to players allow-chat-arena: true # Enable chat during games allowed-commands: # Commands usable in arenas - 'leave' - 'll' - 'liarslounge'
Setting | Description | Recommended |
---|---|---|
send-pro-tip | Sends the player a message when they try to drop cards without selecting one | true for new servers |
allow-chat-arena | Chat during games | true for social gameplay |
allowed-commands | Whitelisted commands | Keep minimal for fairness |
values.yml
Section titled âvalues.ymlâControls all visual elements, items, and GUI appearances.
Lobby Settings
Section titled âLobby Settingsâlobby: location: null # Set via /ll setup lobby
Game Items Configuration
Section titled âGame Items ConfigurationâPlayer Inventory Items
Section titled âPlayer Inventory Itemsâgame: items: leave-arena: material: "BED" slot: 8 # Hotbar slot 9 guide: material: "WRITTEN_BOOK" slot: 0 # Hotbar slot 1 call-liar: material: "BLAZE_ROD" # No slot = given when needed
Card Items
Section titled âCard ItemsâEach card type has custom skull textures:
cards: king: material: "CUSTOM_SKULL" texture: "ewogICJ0aW1lc3RhbXAiIDog..." # Base64 texture data: 1 queen: material: "CUSTOM_SKULL" texture: "ewogICJ0aW1lc3RhbXAiIDog..." data: 1
Verdict Cards (Post-Accusation)
Section titled âVerdict Cards (Post-Accusation)â verdict-cards: right: # When accusation is correct king: material: "CUSTOM_SKULL" texture: "..." wrong: # When accusation is wrong king: material: "CUSTOM_SKULL" texture: "..."
GUI Configuration
Section titled âGUI ConfigurationâArena Selector Interface
Section titled âArena Selector Interfaceâgui: arena-selector: size: 45 # GUI size (must be multiple of 9) join-item: waiting: material: "PAPER" # Arena in waiting state starting: material: "EMPTY_MAP" # Arena starting countdown playing: material: "MAP" # Arena in active game slots: 10,11,12,13,14,15,16,19,20,21,22,23,24,25 # slots where the map items will be displayed join-random: material: "FIREWORK" slot: 40 next-page: material: "CUSTOM_SKULL" slot: 41 previous-page: material: "CUSTOM_SKULL" slot: 39
Title Animations
Section titled âTitle Animationsâ titles: waiting: fade-in: 10 # Ticks to fade in stay: 20 # Ticks to stay visible fade-out: 10 # Ticks to fade out start-timer: fade-in: 10 stay: 20 fade-out: 10
arenas/<arena_name>.yml
Section titled âarenas/<arena_name>.ymlâEach arena has its own configuration file created during setup.
Basic Arena Settings
Section titled âBasic Arena Settingsâenabled: true # Arena is enabledworld: "world" # World namegroup: "default" # Arena group for organization
Waiting Configuration
Section titled âWaiting Configurationâwaiting: min-players: 2 # Minimum players to auto start auto-start-delay: 20 # Seconds before auto-start when min player count reached start-delay-on-full: 5 # Auto-Start seconds when arena is full card-throw-timeout: 60 # Seconds player has for their turn location: x: 0 y: 0 z: 5 yaw: 0 pitch: 0
Table Configuration
Section titled âTable Configurationâtable: location: x: 0 y: 0 z: 0
Chair Locations
Section titled âChair Locationsâchairs: 0: # Chair index x: 0 y: 0 z: 0 yaw: 0 # Direction chair faces pitch: 0 1: x: 0 y: 0 z: 0 yaw: 0 pitch: 0
Action Item Locations
Section titled âAction Item Locationsâaction-items: 0: # Must match chair 0 x: 0 # Slightly in front of chair 0 y: 0 z: 0 1: # Must match chair 1 x: 0 # Slightly in front of chair 1 y: 0 z: 0
Arena Settings Explained
Section titled âArena Settings ExplainedâSetting | Description | Typical Value |
---|---|---|
min-players | Players needed to start | 2-4 |
auto-start-delay | Countdown when min players reached | 10-30 seconds |
start-delay-on-full | Countdown when arena full | 3-10 seconds |
card-throw-timeout | Time limit for player turns | 30-120 seconds |