Troubleshooting & Diagnostics
When encountering server startup issues, inactive modules, or network errors, use the interactive troubleshooting wizard below for guided diagnosis. The complete checklist is also available below for search and fast reference.
Self-check (monorepo)
- Run platform integration verify at repo root to validate packages and dependencies:
pnpm run verify
Comprehensive Troubleshooting Checklist
1. Port Conflicts & Networking (Port Conflicts)
2. Database Daemon (db-server) Issues
3. BDS Boot & Behavior Pack Assembly Gate
- Inspect Load Summary: Review terminal load output and individual log files under
<SFMC_ROOT>/.sfmc/logs/. - Test Pack Bundling: Execute
sfmc> mod buildto verify esbuild produces JavaScript bundles without TypeScript syntax errors. - Check Add-on Conflicts: Check
worlds/<level>/behavior_packs/for duplicate or conflicting packs (see Add-ons Guide).
4. Module Enabled in Lock but Inactive In-Game
- Update Boundaries:
- If you edited TypeScript code in
sapi/src/: Runsfmc> mod reloadto hot reload. - If you edited
configs/*.jsonormanifest.json: You must restart BDS.
- If you edited TypeScript code in
- Lock Status: Confirm that
enabled: trueis set for this module in<SFMC_ROOT>/modules/module-lock.json. - Lifecycle Ordering: If entity/dimension operations fail during module boot, verify if
ModuleRegistry.registershould specifyafterWorldLoad: true. - Dependencies: Check that all modules listed under
dependenciesinmanifest.jsonare installed and enabled.
5. QQ Bridge & Bot Connection Issues
- Credentials: Check
official.app_idandofficial.app_secretinconfigs/qq_config.json. - IP Allowlist: In the QQ Open Platform developer console, ensure your server's public IP is added to the IP allowlist.
- Event Subscription: Ensure
GROUP_AT_MESSAGE_CREATEis subscribed (messages in groups must @ the bot). - Group OpenID: Copy the generated
official.group_openidfrom initial trigger logs intoconfigs/qq_config.json, then restart services.
6. Hot Reload & Watch Troubleshooting
7. Reporting Issues & Help
If the issue persists after following these steps, please open an issue at GitHub Issues and include:
- Complete terminal log output (or
.sfmc/logs/archive) pnpm run verifyoutputnode -vand Operating System details