# Tasks & Improvements Prioritized backlog of issues, improvements, and feature ideas. --- ## Critical *No critical issues currently.* --- ## High *No high issues currently.* --- ## Medium *No medium issues currently.* --- ## Low ### Add rate limiting to API handlers No protection against API spam. Could add simple per-endpoint rate limits. ### Add request/response logging middleware No HTTP access logging in Rust. Add optional access log for debugging API calls. ### Add module versioning No way to track which version of a module is loaded. Could add `M.version` field and display in admin panel. ### Add deployment documentation No docs on how to deploy the .so to an Android device, set up the framework, or configure MoonLoader to load the script. --- ## Feature Ideas ### WebSocket command execution Allow web clients to send commands via WebSocket instead of only HTTP POST. Would enable real-time bidirectional communication. ### Module dependency system Currently modules load independently. A dependency system would let modules declare required modules and load in order. ### Persistent notification history In-game notifications disappear after timeout. Could persist to DB and show in admin panel. ### SAMemory integration module Create a utility module that exposes player position, health, vehicle state via the web UI using the SAMemory library from ../lib. ### Config file support Use `inicfg.lua` or `jsoncfg.lua` from ../lib for human-editable configuration alongside the DB-based persistence.