
SphinxRiddle
Quiz Competition System for Minecraft Servers
About this Mod
Sphinx Riddle - Minecraft Quiz Competition Mod
🎮 Quiz Competition System for Minecraft Servers
Features
Auto Quiz System
- Automatic question intervals with configurable timing
- Question timeout handling
- JSON-based question and reward configuration
Smart Answer Detection
- Contains-based answer matching (e.g., "龟派气功" matches "气功")
- Case-insensitive matching
- First-correct-player wins system
Reward System
- Random reward selection from configurable pool
- Variable reward amounts
- Item auto-completion with MC's item selector
Scoreboard & Ranking
- Real-time scoreboard display on client side (configurable)
- Top 15 players ranking with colored positions
- Persistent score storage
Comprehensive Commands
- Player commands:
/sr question(configurable permission) - Admin commands: Question/reward management, scoreboard control
- Permission-based command access
- Player commands:
Easy Configuration
- JSON configuration files
- Hot-reload support
- Customizable messages and intervals
Internationalization (i18n)
- Full English and Chinese language support
- Automatic language detection based on client settings
- Easy to add more languages
Quick Start
Installation
- Download the latest
sphinxriddle-x.x-NeoForge-1.21.x.jarfrom Releases - Place it in your server's
modsfolder - Restart the server
Basic Usage
For Players:
- Answer questions directly in chat when they appear
- Use
/sr questionto manually start a new question (if allowed by config) - Check your ranking on the right-side scoreboard (if enabled)
For Admins:
# Reload configuration
/sr reload
# Add questions
/sr add question "What tool mines diamond?" "Iron Pickaxe"
# Add rewards with auto-completion
/sr add reward minecraft:diamond 5
# Manage rankings
/sr list ranking
/sr reset ranking
Configuration
Main Configuration (config/sphinxriddle-client.toml)
The mod uses NeoForge's configuration system with the following options:
Setting Default Description
questionInterval 300 Time between auto questions (seconds)
questionTimeout 60 Time before question expires (seconds)
autoQuestionEnabled true Enable automatic questions
allowManualQuestion true Allow players to use /sr question
showScoreboard true Display scoreboard on client side
questionPrefix "&6[问答]&r " Prefix for question messages
rewardMessage "&a恭喜 %player% 正确回答问题!获得奖励: %reward%" Reward announcement message
newQuestionMessage "&e新问题: %question% &e(输入答案到聊天框)" New question announcement
configReloadedMessage "&aSphinxRiddle 配置重载完成" Config reload message
The prompt information in the configuration file defaults to Chinese. If you need other languages, please modify the configuration file accordingly
Data Files (config/sphinxriddle/)
· questions.json - Question and answer pairs
· rewards.json - Reward items and maximum amounts
· scoreboard.json - Player scores and rankings
Example Configuration
questions.json:
[
{
"question": "What mob explodes in Minecraft?",
"answer": "Creeper"
}
]
rewards.json:
[
{
"itemId": "minecraft:diamond",
"maxAmount": 5
}
]
Commands Reference
Player Commands
Command Description Permission
/sr question Start a new question All players (if allowManualQuestion=true) or OP only
Admin Commands
Command Description Permission
/sr reload Reload configuration OP (2)
/sr add question
/sr add reward
/sr list question List all questions OP (2)
/sr list reward List all rewards OP (2)
/sr list ranking Show leaderboard OP (2)
/sr reset ranking Reset scores OP (2)
/sr remove question
/sr remove reward
Language Support
The mod supports multiple languages automatically based on the client's language setting:
· English (en_us) - Default language
· Chinese (zh_cn) - 简体中文
· Spanish (es_es) - Español
· French (fr_fr) - Français
· German (de_de) - Deutsch
· Japanese (ja_jp) - 日本語
· Russian (ru_ru) - Русский
· Portuguese (pt_br) - Português Brasileiro
· Korean (ko_kr) - 한국어
· Italian (it_it) - Italiano
The mod will automatically display text in the player's client language. If a language is not fully translated, it will fall back to English.
Adding New Languages
To add support for a new language:
- Create a new JSON file in assets/sphinxriddle/lang/ (e.g., fr_fr.json)
- Add translations using the same keys as in en_us.json
- The mod will automatically detect and use the appropriate language
Example language file structure:
{
"sphinxriddle.command.help.title": "=== Commandes SphinxRiddle ===",
"sphinxriddle.command.help.question": "/sr question - Démarrer une nouvelle question"
// ... more translations
}
Development
Building from Source
git clone https://github.com/SkyDreamLG/SphinxRiddle.git
cd SphinxRiddle
./gradlew build
Requirements
· Minecraft 1.20.1+
· NeoForge
· Java 17+
Internationalization
The mod uses Minecraft's Component.translatable() system for all user-facing text. When adding new features:
· Use translation keys instead of hardcoded strings
· Provide translations in both en_us.json and zh_cn.json
· Use string interpolation with %s placeholders when needed
Example:
// Instead of:
Component.literal("Configuration reloaded")
// Use:
Component.translatable("sphinxriddle.command.reload.success")
Support
· GitHub Discussions - For questions and support
· Issue Tracker - For bug reports and feature requests
License
This project is licensed under the GNU LGPL 2.1 License - see the LICENSE file for details.
Note:
- The scoreboard display and manual question commands can be disabled in the configuration file for server customization.
- The prompt information in the configuration file defaults to Chinese. If you need other languages, please modify the configuration file accordingly
Available Versions
How to Install SphinxRiddle on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set neoforge Loader
In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.10).
Install Mod
Open the mod browser in the dashboard and search for "SphinxRiddle". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.10, 1.21.9, 1.21.8 (+8 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
SphinxRiddle server crashes on startup – what to do?
Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.10). You can switch loaders with one click in the panel.
Is SphinxRiddle compatible with neoforge?
SphinxRiddle officially supports neoforge for Minecraft 1.21.10, 1.21.9, 1.21.8. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with SphinxRiddle – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if SphinxRiddle consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install SphinxRiddle with just one click on your server.