Add RedM example resources and RDR3-specific snippets
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- developer-experience, documentation
Hướng nghiên cứu
Start by reading examples/README.md and an existing GTA5 example's fxmanifest.lua plus its README to copy the layout, then look at templates/vorp/ and templates/rsg/ for the bridge pattern. Check docs/ROADMAP.md Milestone 5 for the intended scope, and verify every RDR3 native against mcp-server/data/natives_rdr3.json (or lookup_native_tool with game="rdr3") before writing snippets. Run the MCP server with cd mcp-server && pip install -r requirements.txt && python server.py and read .github/workflows/validate.yml to see what CI checks; done means a games { 'rdr3' } resource with README, snippets that load, and updated counts.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
All five example resources target GTA5, and no snippet targets RDR3. RedM appears only in the VORP and RSG templates, which are short skeletons. Add at least one RedM example and a few RDR3-specific snippets.
Where
examples/*/fxmanifest.lua(allgames { 'gta5' })examples/README.md:5snippets/lua/templates/vorp/,templates/rsg/docs/ROADMAP.md(Milestone 5, RedM expansion)
Details
docs/ROADMAP.md lists "RedM-specific snippets (prompts, scenarios, RDR3 peds)" as planned, and Milestone 2 aims for balanced FiveM/RedM representation. RDR3 differs most from GTA5 in UI prompts (PromptRegisterBegin and related natives), which agents commonly get wrong, and the repo has no runnable reference for them.
Impact
RedM developers have no runnable reference resource, and agents have no RDR3 patterns to copy.
Suggested fix
- Add one RedM example, for example a VORP/RSG-bridged camp-crafting or stable resource that uses
PromptRegisterBeginprompts, keeps rewards server-side, declaresgames { 'rdr3' }, and has a README like the other examples. - Add 2-3 Lua snippets: prompt registration, scenario playback, and ped spawn with outfit variation.
- Verify every native name against
mcp-server/data/natives_rdr3.json(orlookup_native_toolwithgame="rdr3").
Acceptance criteria
-
examples/contains at least onerdr3resource with a README. -
snippets/lua/contains RDR3-specific snippets that load cleanly. - All natives used exist in
natives_rdr3.json. - Counts in README and other docs are updated.
Getting started
- Relevant files:
examples/,snippets/lua/,templates/vorp/,templates/rsg/,mcp-server/data/natives_rdr3.json - How to run checks: there is no test suite yet; run the MCP server with
cd mcp-server && pip install -r requirements.txt && python server.py, and CI checks live in.github/workflows/validate.yml - Related docs:
examples/README.md,docs/ROADMAP.md, RedM documentation on docs.fivem.net
Filed by repo-audit/full-audit at 701824d. Severity: low. Effort: M. audit-key: enhancement|examples|redm-example
- Ngôn ngữ chính
- Python
- Star
- 7
- Fork
- 4
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của TMHSDigital/CFX-Developer-Tools
-
help wanted severity: low tech-debt
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
TMHSDigital/CFX-Developer-Tools#79 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
help wanted severity: low tech-debt
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
TMHSDigital/CFX-Developer-Tools#66 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
dependencies severity: low
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
TMHSDigital/CFX-Developer-Tools#62 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement severity: medium
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
TMHSDigital/CFX-Developer-Tools#58 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement severity: medium
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
TMHSDigital/CFX-Developer-Tools#57 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của TMHSDigital/CFX-Developer-Tools
Issue tương tự
-
A new VOLTTRON_HOME starts with agent isolation mode on (string comparison of a boolean default)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
llm translation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
FAIRmat-NFDI/sand#239 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
coco-research/coco#539 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
dependencies
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
JustBeanie/hass-volcano-hybrid#34 ·
Maintainer thường phản hồi trong vòng 1 ngày