Overview Version History Q & A Rating & Review
CFX Run
CFX Run allows GitHub Copilot Chat (GitHub.copilot-chat
) for debugging and interacting with CFX (FiveM / RedM) game clients. It provides CoPilot tools to execute JavaScript code in a sandboxed environment, this is becomes useful for CoPilot to debug and interact with the game client for more integrated development experience.
Requirements
Contributing
Pull requests and issues are welcome!
Planned Features
Debugging NUI
User Input (e.g. KEYBOARD, JOYSTICK, MOUSE, PAD, TOUCHPAD)
Server-side code execution
Limitations
You have to reference the tool in the chat message you want chat to use the tool. #RunJSFiveMCode Get the player position
Does not support running server-side code.
Does not support running User Input (e.g. KEYBOARD, JOYSTICK, MOUSE, PAD, TOUCHPAD).
Remote CFX Run
To use CFX Run remotely, you need to expose client DevTools.
Same network
Open the game client.
In CMD, run:
netsh advfirewall firewall add rule name="CEF DevTools Port" dir=in action=allow protocol=TCP localport=13172
In CMD, run:
netsh interface portproxy add v4tov4 listenport=13172 listenaddress=0.0.0.0 connectport=13172 connectaddress=127.0.0.1
If you have already ran the commands:
3. Before running the game, you need to
netsh interface portproxy delete v4tov4 listenport=13172 listenaddress=0.0.0.0
Run the game client.
Repeat step 2.
Author: Pulse Habour
Publisher: pulsehabour