If you'd like to support me, you can simply buy anything from my store. Thank you from the bottom of my heart.
Tech Application is a comprehensive job application system for FiveM servers that allows players to apply for various jobs through an interactive, multi-language web interface with Discord webhook integration.
- Interactive Job Applications: Beautiful, responsive web interface for job applications
- Multiple Business Support: Configure unlimited businesses with different application locations
- Discord Webhook Integration: Automatic submission of applications to Discord channels with professional formatting
- Real-time Form Validation: Client-side and server-side validation with error messages
- Character Counter: Live character counting for text areas
- Digital Signature: Animated signing process for form submission
- 4 Languages: English, French, Spanish, Arabic
- Dynamic Language Switching: Players can change language during application
- Comprehensive Translations: All UI elements, labels, and messages translated
- Modern UI Design: Clean, professional interface with handwriting-style inputs
- Responsive Design: Works on all screen sizes
- Smooth Animations: Form transitions, signing animations, and success messages
- Keyboard Navigation: ESC key to close, tab navigation support
- Paper-like Appearance: Realistic form styling with subtle textures
- Target System Support: Compatible with both QB-Target and OX-Target
- NPC Integration: Optional NPCs at application locations
- Player Identification: Automatic collection of player identifiers
- Error Handling: Comprehensive error handling and logging
- Performance Optimized: Efficient resource usage
- Security: Server-side validation and input sanitization
- Main Preview Image: Form interface showing the application form
- Multi-language Support: Show language selector in action
- Discord Integration: Show Discord webhook embed example
- In-game Usage: Show NPC interaction or target system
- Form Validation: Show validation errors/messages
- FiveM Server
- QBCore Framework (or compatible framework)
- Target System (QB-Target or OX-Target)
- ox_lib (for shared scripts)
-
Download the Resource
- Download from GitHub
- Download from Tebex
- Place the
tech_applicationfolder in your resources directory - Recommended path:
resources/[voice]/tech_application/
-
Add to server.cfg
ensure tech_application
-
Install Dependencies
- Ensure you have
ox_libinstalled - Ensure you have either
qb-targetorox_targetinstalled
- Ensure you have
-
Configure Discord Webhooks
- Set up Discord webhooks for each business in
config.lua - See Configuration section for details
- Set up Discord webhooks for each business in
Edit config.lua to configure your businesses:
Config = {}
-- Target system (QB or OX)
Config.Target = "OX" -- Change to "QB" for QB-Target
-- Business configuration
Config.Businesses = {
police = {
businessType = "police",
businessName = "Police Department",
webhook = "YOUR_DISCORD_WEBHOOK_URL",
jobTitle = "Police Officer",
locations = {
{
name = "mrpd",
label = "Police Application",
coords = vector4(425.04, -983.34, 30.71, 86.66),
ped = true,
pedModel = "s_m_y_cop_01",
}
}
}
}| Option | Type | Description |
|---|---|---|
businessType |
string | Unique identifier for the business |
businessName |
string | Display name for Discord embeds |
webhook |
string | Discord webhook URL |
jobTitle |
string | Job title shown in application form |
locations |
table | Array of application locations |
Each location supports the following options:
| Option | Type | Description |
|---|---|---|
name |
string | Internal name for the location |
label |
string | Text shown on target interaction |
coords |
vector4 | X, Y, Z coordinates and heading |
ped |
boolean | Whether to spawn an NPC |
pedModel |
string | NPC model hash (if ped = true) |
- Find Application Location: Look for NPCs or interaction zones at business locations
- Interact: Use your target system to interact with the application point
- Fill Form: Complete the application form with your information
- Submit: Click "Sign & Submit" to submit your application
- Confirmation: You'll see a success message confirming submission
- Monitor Applications: Check your Discord channels for new applications
- Review Information: Each application includes player identifiers and form data
- Process Applications: Contact players or update their job status accordingly
-
Create Discord Webhook
- Go to your Discord server settings
- Navigate to Integrations → Webhooks
- Create a new webhook
- Copy the webhook URL
-
Configure Webhook
webhook = "https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN"
- Professional Formatting: Clean, organized sections with visual separators
- Custom Colors: Each business type has a unique color scheme
- Thumbnails: Business-specific icons/logos
- Player Information: Essential identifiers (License & Discord ID)
- Timestamp: Application submission time
- Code Blocks: Motivation and references in formatted code blocks
- Branded Footer: Attribution to tchentro.tech
- English (en): Default language
- French (fr): Français
- Spanish (es): Español
- Arabic (ar): العربية
Players can switch languages dynamically using the language selector in the form header.
- Server-side Validation: All inputs are validated on the server
- Input Sanitization: User inputs are sanitized to prevent XSS attacks
- Length Limits: Input length restrictions to prevent abuse
- Type Validation: Strict type checking for all fields
- Business Type Verification: Server verifies business type exists before processing
- Client-side: Minimal impact, only active when form is open
- Server-side: Efficient event handling, minimal processing overhead
- Network: Only sends data when form is submitted
- Limit the number of NPCs spawned
- Use appropriate target zone sizes
- Configure only necessary businesses
- Check Target System: Ensure QB-Target or OX-Target is installed
- Verify Coordinates: Check if coordinates are correct
- Check Console: Look for JavaScript errors in browser console (F12)
- Verify URL: Ensure webhook URL is correct and active
- Check Permissions: Discord bot needs permission to send messages
- Test Webhook: Use a webhook tester to verify functionality
- Check Server Console: Look for error messages
- Check Model: Verify ped model exists in game
- Check Coordinates: Ensure coordinates are valid
- Check Console: Look for model loading errors
- Check Language Code: Ensure language code matches translation keys
- Verify Translations: Check if all required translations exist
- Clear Cache: Clear browser cache and restart resource
| Event | Parameters | Description |
|---|---|---|
tech_application:openApply |
businessType | Opens application form for specified business |
| Event | Parameters | Description |
|---|---|---|
tech_application:sendApply |
formData, businessType | Processes and sends application to Discord |
| Callback | Parameters | Description |
|---|---|---|
submitApplication |
data | Handles form submission |
cancelApplication |
data | Handles form cancellation |
- Author: TshentroTech
- Version: 2.0.0
- Framework: QBCore Compatible
- Languages: 4 Languages Supported
- TshentroTech: Original author
- FiveM Community: For support and feedback
- Discord: For webhook integration
- Contributors: All those who have contributed to this project
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | ~250 |
| Requirements & dependencies | ox_lib, QB-Target or OX-Target |
| Support | Yes |
Made with for the FiveM Community