Camera
The YSeries phone camera can take pictures and record videos. You need to store this media somewhere, and several storage options are provided.
Configuration Steps
1. Configure Upload Method
Navigate to config/config.upload.lua
and set the Config.Upload.Method
to your preferred option:
Discord - ⚠️ NOT RECOMMENDED (the links will expire after a while)
Fivemanage - Most Reliable
Fivemerr - Most Reliable
Custom - You need to implement it yourself
2. Set Server Variables
Add the following variables to your server.cfg
file:
3. Restart Server
Restart your server and the camera should work if everything was configured correctly.
Storage Options
Discord Webhook (Not Recommended)
Pros: Easy to set up
Cons: Links expire after some time, not reliable for long-term storage
Usage: Use Discord webhook URL as the API key
Custom Implementation
Pros: Full control over storage, permanent links
Cons: Requires custom development
Usage: Implement your own upload service and provide the API endpoint
Troubleshooting
Ensure API keys are properly set in server.cfg
Check that the upload method is correctly configured
Verify server restart was completed
Check server console for any error messages related to media upload
Last updated