Bug Fixes
- Fixed
Fontconfig error: Cannot load default config filewarning on servers without fontconfig- Leaderboard and game images now render properly on headless servers (Pterodactyl, Docker, VPS)
New Features
- Added configurable font option for game images - choose from 4 bundled fonts:
Update Instructions
Replace theplugins/random_gamesfolder, then add this toconfiguration/randomgames.json5below thecountdownsection:
Code:countdown: { duration: 5 }, // Font to use for game images. Options: "Arial", "AlfaSlab", "Inter", "Roboto" font: "Arial",
Bug Fixes
- Fixed the /game leaderboard command throwing a
lang.Leaderboards.Commandmissing keys error- Resolved an issue where validation failed when the optional Subtitle field was an empty string
- Updated validation logic to correctly check for
undefinedvalues instead of falsy values
Changes
- Removed the emoji from the leaderboard card title due to inconsistent rendering across platforms
- Canvas renders emojis differently on Windows compared to Linux containers (Pterodactyl)
- Added a
stripEmojis()function to sanitize titles as a precaution- Leaderboard titles now display as:
RandomGames Leaderboard — {type}
