FreeScriptQBoxQBCoreESX
pl-voting
by pulsepk · version 2026.06.04 · updated 5 days ago
No reviews yet
- Downloads
- 0
- Reviews
- 0
- Size
- 28 KB
- Code check
- Clean
- Licence
- GPL-3.0
- Released
- Nov 2026
FiveM Voting Script | ESX, QBCore, QBox
FiveM Voting System
Watch on YouTube
## Support, Scripts & More ## Dependencies Supported Frameworks
Installation Guide
Key, Default, Description
Security Notes
Script, Link
🍔 BurgerShot, View
🐱 UwU Cat Cafe, View
🍕 Pizza This, View
☕ Bean Machine, View
🐟 KOI, View
🍽️ Diner, View
🌮 Taco Farmer, View
🐚 Pearls, View
🍔 Horny Burgers + UpnAtom, View
🍩 Rusty Browns, View
🍬 Bubble Gum Cafe, View
💊 Drug Selling, View
🛑 Wheel Clamper, View
Watch on YouTube
## Support, Scripts & More ## Dependencies Supported Frameworks
- QBox (
qbx_core) - QBCore (
qb-core) - ESX (
es_extended)
pl_lib — no manual Config.Notify / Config.DrawText settings required.Installation Guide
- Extract
pl-votingandpl_libinto your server resources folder (both must be present) - Run
database.sqlagainst your database (HeidiSQL, phpMyAdmin, etc.) - Open
config.luaand configure:
- Add admin licenses / permission groups
- Set
Config.LogWebhookto your Discord webhook URL if you want logs - Adjust
Config.CandidatesandConfig.VotingBoothsfor your server
- Add both resources to
server.cfg—pl_libmust start beforepl-voting:
ensure pl_lib
ensure pl-voting
- Restart the server
Upgrading from v1.0.x?**Configuration (
The vote names in theelectiontable were previously stored as JSON-encoded strings (e.g."John Doe"with surrounding quotes). Run the following SQL to clean up existing records before starting the new version:> UPDATE election SET name = JSON_UNQUOTE(name) WHERE name LIKE '"%"'; > UPDATE election SET party = JSON_UNQUOTE(party) WHERE party LIKE '"%"'; >
config.lua)**Key, Default, Description
Config.Permissions, {"god","admin","mod"}, ESX groups allowed to use the admin menuConfig.AdminLicense, {}, QB/QBox license identifiers with admin accessConfig.MenuCommand, 'election', Command to open the admin panelConfig.Log, true, Enable/disable Discord loggingConfig.LogWebhook, "", Discord webhook URLConfig.LogType, 'discord', 'discord' \, 'fivemanage' \, 'fivemerr'Config.Candidates, see file, List of { name, party } objectsConfig.VotingBooths, see file, vector3 positions (configured for Gabz Townhall)Config.ServerAnnouncement, true, Broadcast a chat message on election start/endConfig.Debugpoly, false, Show voting booth zone boxesSecurity Notes
- All admin actions (
startElection,endElection,deleteRecord,resetVotes,resetSomeonesVote) are validated server-side — a player cannot bypass the permission check by triggering events from the console. voting:server:castVoteperforms a server-side election-state check and duplicate-vote check before recording any vote.- The UI no longer loads scripts from external CDNs (axios and FontAwesome removed); all JavaScript runs locally.
Script, Link
🍔 BurgerShot, View
🐱 UwU Cat Cafe, View
🍕 Pizza This, View
☕ Bean Machine, View
🐟 KOI, View
🍽️ Diner, View
🌮 Taco Farmer, View
🐚 Pearls, View
🍔 Horny Burgers + UpnAtom, View
🍩 Rusty Browns, View
🍬 Bubble Gum Cafe, View
💊 Drug Selling, View
🛑 Wheel Clamper, View