Features:
- User registration with username, email, password
- Login with JWT token authentication
- Password hashing with BCrypt
- Account settings & management
- Device linking to accounts
- Change password & password reset
- Account-User relationship (1-to-1 with game data)
Database entities:
- Account: User accounts with credentials
- DeviceAccount: Link devices to accounts (many-to-many)
API endpoints:
- POST /api/auth/register
- POST /api/auth/login
- POST /api/auth/change-password
- POST /api/auth/forgot-password
- POST /api/auth/reset-password
- GET /api/auth/me
- POST /api/auth/link-device
- DELETE /api/auth/unlink-device/{deviceId}
Starting resources for new accounts:
- 100,000 Gold
- 500,000 Cash
- Level 1
Ready for VPS deployment with HTTPS.
- Created AssetsController (/content/api/*) to serve game assets
- MD5 verification on download
- Manifest endpoint for asset listing
- Status endpoint for availability check
- Range requests support for resume
- Access tracking & statistics
- Updated appsettings.json with asset configuration
- AssetsBasePath setting
- ServerSettings for community features
- Added comprehensive compatibility documentation
- SERVER_APK_COMPATIBILITY.md: Full analysis
- 100% endpoint compatibility verified
- SSL/TLS works with APK's weak verification
- All game features implemented & ready
Ready for asset files from Discord!
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>