Skip to content

TshentroTech/tech-vote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—³οΈ Presidential Election System | FiveM (QBCore)

A fully interactive and secure in-game presidential voting system for QBCore-based FiveM servers. This system allows players to vote inside a realistic voting booth, while securely logging each vote to a designated Discord channel.

πŸš€ Features

  • πŸ‘€ Support for multiple presidential candidates
  • πŸ“‹ Display detailed information for each candidate
  • πŸ—³οΈ In-game voting booth with interactive UI
  • βœ… Votes are securely recorded and sent to Discord
  • πŸ” Anti-duplicate vote system
  • πŸ“… Logs include voter name, citizen ID, selected candidate, and timestamp
  • πŸ–ΌοΈ Custom candidate posters displayed during voting

πŸ“¦ Requirements

  • QBCore Framework
  • Discord Webhook (for vote logging)
  • ox_lib or similar NUI handler
  • MySQL (for storing voting data)

🧠 How It Works

  1. Players walk into the voting booth.

  2. They browse candidate info and select one to vote.

  3. Vote is recorded securely in the database.

  4. A summary of the vote is sent to Discord via webhook.

  5. Configure your config.lua:

  • Add candidate data
  • Set your Discord webhook
  • Customize UI text and appearance
  1. Import the SQL file to your database if provided.

πŸ›‘οΈ Security

  • One vote per citizen (checked via citizenid)
  • Webhook uses embed logs for transparency
  • Voting is anonymous and cannot be traced by other players

πŸ§‘β€πŸ’» Developed By

TshentroTech
For inquiries or suggestions, feel free to open an issue or contact via Discord.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages