[esx/qbcore] [paid] ap scripts - tax/voting system/mayor job

ac4f2acf1d73ec4e9759c5f97ac7abbc49f678e0

Showcase:

Thanks to Project Rogue Roleplay for this detail run down on the script!

CLICK TO VIEW SHOWCASE

  • Voting System:

    • Government controlled voting system, the government staff will be able to start elections in game including accepting candidate applications and reviewing candidates.
    • Add different types of elections in the config and choose the values you want that type of election to do, e.g. enable job check for candidate applications so that you can only apply as a candidate if you have the job you define in that section. You can also set the job under that election you have created in the config so once there is a candidate winner they will be able to assign the role themselves without the need of an admin in game.
    • Nice Custom UI for the voting system which populates the candidates on the pages. .
    • All stages of the candidates will have email notifications to keep the candidate up to date with what’s happening.
  • Tax System:

    • Income Tax: This script includes income tax, in which will take a percentage of tax off the player when they get paid all values can be changed in the config or in game if mayor control is enabled .
    • Business Tax : Business tax is controlled by the mayor in which they would register the company to the city hall database, when a business is registered they will get a default tax bracket value of $2000 to pay on every tax run which can be controlled in the config of the script. If a business don’t have the funds in there account it will register the payment to unpaid in which an outcome will be decided by the mayor side of the script.
    • Changeable Tax: All taxes in the script which you have running can be controllable by the mayor if you have mayor control enabled, he would be able to change all percentage values of individual taxes on the go which would decide how popular the mayor will become in the city with the citizens.
  • Mayor Job:

    • Control Taxes: With the mayor job the mayor will be able to change taxes on the fly with controlling the percentages of each tax that has been setup, in the config you can set the values of how you want the taxes to be controlled .
    • Register Business: With this the mayor will be able to register business on the go with having the citizen make an appointment in order to have both owner of the company and mayor in the same room. There is an security check option in the config in which you can enable, so when the mayor selects the company owner in the menu the mayor will be prompted with a dialog to input a pin in which the citizen will receive an email with the pin code. when the business has not been registered before the mayor will only be prompted with a register business option, once the company has been registered they mayor will have three options that he can do which includes; Transfer Company Owner/Business Grants/Change Business Tax Amount. Business grants are done with having the company owner with the mayor so that the mayor can grab all details and view past grants to see if its an option to use, the money in which the grants come from will be used from the city hall funds. So if the city hall don’t have the funds to issue grants the mayor will not be able to do that action. The mayor will also be able to change tax brackets of individual company’s as they may have bigger workplaces.
    • City Hall Funds: The mayor will be able to have three options to use if they are enabled in the config which includes Withdrawal/Deposit/Grants, the money generated from the city hall funds will be from taxes in which you can select different options in which can or can’t be used.
    • Appointment System: With the appointment system the mayor will be able to organise appointments with players so that he does not get bombarded with people phoning him, they appointments can be accepted or denied in which the mayor can control. They player and mayor will both get emails if either of them are offline so it can be controlled correctly.

ESX Dependencies:

  • ESX Legacy / V1 Final/ V1.1 (NOTE: Does NOT support EXM/ExtendedMode or ESX v2.0+)
  • Context Menus: ZF Context or NH Context or OX Libs
  • Dialogs: ZF Dialog or OX Keyboard (included in Ox Inventory) or NH Keyboard or OX Libs
  • Management: ESX SOCIETY (You can configure a different management system in functions.lua if you have another one.)
  • Target: FiveM/Meta Target or qTarget (You can add your own target system in target.lua if your not using any of these.)
  • DrawText: If you don’t want to use the target options you can use the drawtext which will show up press E text when you get to the location.
  • Phones: GCPHONE or GKSPHONE or QUASAR PHONE or HIGH PHONE , There is now a config option for you too add your phone if not configured, the function for this is located in the webhook.lua.
  • Server Artifact Version 4752 or higher (using ESCROW - read more below)

QBCore Dependencies:

  • Context Menus: QB Menu or OX Libs
  • Dialogs: QB input or OX Libs
  • Management: QB-MANAGEMENT
  • Target: qb-target (You can add your own target system in target.lua if your not using any of these.)
  • Phones: QBPhone or GKSPHONE or QUASAR PHONE or HIGH PHONE , There is now a config option for you too add your phone if not configured, the function for this is located in the webhook.lua.
  • Server Artifact Version 4752 or higher (using ESCROW - read more below)

Customizability:

  • It’s almost fully configurable and it’s done through the config.lua file.
  • Translation is done through the language.lua file in which includes all of the menu text also.
  • Resource is protected with FiveM’s escrow system, however it’s not the entire resource, you will have access to webhook.lua in the server folder including the config.lua and target.lua also. If there is any part of the script in which you need access to open a ticket in the discord and I will sort that out for you.
    Make sure to:
    • Server Artifacts version must be 4752 or higher.
    • Server license key must be owned by the same account which you make the tebex purchase from.
    • Restart server to gain access to the resource in-game.
Code is accessible No, but have customization files (FiveM Escrow System)
Subscription-based No
Lines (approximately) 5500
Requirements is ESX Legacy / V1 Final / V1.2 / V1.1 or QBCore
Support Yes (DISCORD)

Other Scripts

AP DOJ/COURT
AP DOCUMENTS

Purchase

Tebex [ESX/QBCORE] GOVERNMENT

11 Likes

Guys, i got both, this and the court script he made and these are amazing.
These enhance roleplay so much and they’re well made aswell. So many thoughts must have gone into them, it’s crazy.

They work well and they’re mostly drag and drop. These are amazing and he’s a really nice guy and the support was good aswell. He responded to my questions really fast and was super nice.

I only can recommend them. 10/10 one of the best scripts if not the best i’ve ever bought.:heart:

4 Likes

Good to know. When I buy scripts I have to have good customer service in order for me to continue to buy off someone. If im treated bad or left waiting for days I wont go back. Im going to buy this. Thank you!

2 Likes

absolutely unreal scripts, support is next level beyond 10/10 for this dev. HIGHLY RECCOMMENDED

2 Likes

Thanks Guys! Means alot :heart:

2 Likes

I’ll be pushing an update in the next couple of hours :relaxed:

3 Likes

If you are looking for a script to enhance your government roleplay, this is the best option out there. Everything is well thought out, the possibilities are endless with what you can do as a mayor. You can give as much or as little control to the players in voting, setting up how the city economy works with taxes, and how businesses thrive or fail in the city.

And if they do a bad job? Vote them out!

In all seriousness, AP has done an amazing job here putting this together. Tie it together with his DOJ/Court script and you cover most of your government system in one place.

2 Likes

Hands down the most immersive government script out there! Adds a whole new dimension of roleplay to our city! 10/10 recommend! Also, 10/10 recommend his court script. That one has been a total game changer in our city!

Also, the support provided by @adzeepulse is top notch!

1 Like

I 100% recommend it. this script is a great way to enhance the government system that every city needs.

Update is about to be released for drawtext in the next couple of hours.

1 Like

AP GOVERNMENT UPDATE (ESX)

Changelog:

ESX Changes:

â—‹ Added DrawText support so you no longer need to use 3rd eye.

â—‹ Added two new exports which grabs tax amounts and adds to cityhall funds.

â—‹ Added string length restriction for the candidate application which values can be changed in the config.

ESX Files Updated: Whole script will need to be updated.

AP GOVERNMENT UPDATE (QBCORE/ESX)

Changelog:

ESX/QBCORE Changes:

â—‹ Added export for getting tax percentage, more information about this is in the documentation.
â—‹ Added export for adding funds to cityhall, more information about this is in the documentation.
○ Added drawtext support, so you don’t have too use 3rd eye.
â—‹ Changed export for charging cityhall taxes to allow you to define if cash/card.
â—‹ Added Math.floor to money going into cityhall funds so it rounds the amount to the nearest dollar.
○ Added string length check for candidate applications so it doesn’t mess with the UI.

ESX/QBCORE Files Updated: all files will need to be updated.

Big update coming at the end of the week.

AP COURT UPDATE (QBCORE/ESX)
Changelog:

ESX & QBCore Changes:

â—‹ Added online/offline timer for business tax, this means you can set the business tax to come out every 1/2 weeks if you wanted it too.

â—‹ Added banking transaction support for OKOKBanking, there is also an other option as well if you have a different banking script which records transactions. You can edit the other option in the functions.lua file.

○ QBCORE ONLY Fixed framework string which was giving a couple of errors for people not using “qb-core” and using a custom version of qbcore.

ESX & QBCore Files Updated: All files including fxmanifest.lua, please make sure you update all the files or you will receive errors. If you already have the SQL files imported then upload the new sql file called “PAY TIMER” which is in the [SQL] folder as if you don’t it will cause the script to error.

There is now a config option for you too add your phone if not configured, the function for this is located in the webhook.lua.
@adzeepulse
Does this count for AP-courtt aswell ? i dont use any of those phone systems

Yeah the function is in both scripts

1 Like

If you have a city and wish to have better control over your government, this is the most amazing task for that. From taxing, to elections, customization and more. Can’t beat the value.

Thanks Buddy!

AP GOVERNMENT UPDATE (ESX/QBCORE)
Changelog:

ESX Changes:

â—‹ Added support for NH Keyboard.
â—‹ Fixed duplicate bug for appointments.

QBCORE Changes:

â—‹ Added feature so you can change the qb-menu and qb-input export names in the config.

ESX Files Updated: client/main.lua & client/target.lua.
QBCORE Files Updated: client/main.lua & config.lua.

Any recommendations for my next update ?