Skip to content
TshentroTechPublic

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages