Skip to content

feat(esx_ambulancejob): optional Medal.tv auto-clip on death#113

Merged
N0tNvll merged 1 commit into
esx-framework:devfrom
ASTROWwwW:feat/ambulance-medal-clip
Jul 15, 2026
Merged

feat(esx_ambulancejob): optional Medal.tv auto-clip on death#113
N0tNvll merged 1 commit into
esx-framework:devfrom
ASTROWwwW:feat/ambulance-medal-clip

Conversation

@ASTROWwwW

@ASTROWwwW ASTROWwwW commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Adds an optional Medal.tv auto-clip when a player dies, using Medal's fixed public FiveM auto-clipping token. On death the client saves a clip through the player's local Medal app (localhost:12665), so the clip lands on their own machine and nothing is sent to the server.

On by default. Set Config.Medal.enabled = false in config.lua to turn it off. Requires the player to run the Medal desktop app with the Events API enabled.

@ASTROWwwW
ASTROWwwW force-pushed the feat/ambulance-medal-clip branch 3 times, most recently from 31ff8f7 to ce2720f Compare July 14, 2026 15:19
@N0tNvll
N0tNvll self-requested a review July 14, 2026 15:31
@N0tNvll N0tNvll added the enhancement New feature or request label Jul 14, 2026
@N0tNvll

N0tNvll commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

After reviewing the code, it reflects the necessary changes to integrate Medal with our ambulance job system.

The Medal API key used here is public and Medal doesn't plan to support obtaining a dedicated public key per account. Because of that, I don't think it's necessary to make the key configurable.

Overall, the implementation looks good to me. Thanks for the contribution!

@ASTROWwwW

Copy link
Copy Markdown
Contributor Author

No worries. Just kept it in config so it's easy to swap if they ever change the key.

@N0tNvll
N0tNvll merged commit 47d4297 into esx-framework:dev Jul 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants