[PAID][ESX/QB] Advanced Tax-System / Umfangreiches Steuersystem


*Credits for the thumbnails :heart:

With this advanced tax system you can give your economic system that certain something!

With this control system you can cover the most important areas of your server with taxes.
You have the choice of different modes.
And the best thing is that you can set and change the whole menu ingame!
So for example your DOJ or your mayor can adjust the tax system directly without having to run to the developer of the server.
You can find more details below!

To make sure that the system works with as many different systems as possible, functions to get a player’s vehicles or houses are not encrypted.
However, if you still have wishes, I will try my best to include the wishes or to disclose certain code passages, so that everyone can use the system as he needs it.

Infos (Deutsch)

Welche Steuern deckt das System ab?

  • Geld- bzw. Vermögenssteuer
  • Fahrzeugsteuer
  • Haussteuer
  • Unternehmenssteuer

Jede Steuer lässt sich auch einzeln deaktivieren.
So kannst du zum Beispiel die Fahrzeugsteuer deaktivieren, wenn du diese nicht benötigst.

Weiter unten gehe ich genauer auf die einzelnen Steuern ein.

Wo geht das Geld hin?
Das Geld verschwindet natürlich nicht im Nichts!
Du kannst entscheiden, welches Unternehmen welchen Prozentsatz der gezahlten Steuern bekommt. Evtl. Können die Cops eine kleine Finanzspritze gebrauchen?

Was lässt sich grundlegend einstellen?

  • In welchem Intervall (in Tagen) die Steuern abgezogen werden
  • Wer das In-Game Menu zur Einstellung des Systems nutzen kann
  • Sollen die Steuern zu einer zufälligen Zeit abgezogen werden? Kann ein Vorteil sein, wenn du nicht willst, dass Spieler immer wissen, wann genau die Steuern abgezogen werden.
  • Spieler können nicht unter einen gewissen Restbetrag fallen, den du einstellen kannst.
  • Unternehmen können nicht unter einen gewissen Restbetrag fallen.
  • Spieler die länger als eine gewisse Zeit nicht mehr auf dem Server waren werden vom System ignoriert
  • Du kannst Spieler auch manuell vom System ignorieren lassen. Falls du z.B. einen Admin Charakter hast, der Millionen auf dem Konto hat, kannst du diesen vom System ausnehmen.
  • Du kannst bei der Fahrzeugsteuer einstellen, welche Fahrzeugmodelle und welche Kennzeichen von der Fahrzeugsteuer ausgenommen sind

In-Game Menu?
Du hast 2 Möglichkeiten, das Steuersystem einzustellen. Entweder langweilig wie immer über die Config oder aber das In-Game Menu.
Ja, richtig! Du kannst das komplette System im Spiel einstellen.

So kann zum Beispiel dein Bürgermeister oder dein DOJ das Steuersystem direkt in-game anpassen und muss nicht erst mal zu einem Developer, damit dieser das System anpasst.

Vermögenssteuer:
Du kannst zwischen 3 Typen wählen:

  • Klassensystem
    Im Klassensystem kannst du beliebig viele Steuerklassen mit einem Minimum und einem Maximum. Zu jeder Steuerklasse gibt es einen Prozentsatz.
    So kannst du zum Beispiel sagen, dass Spieler, die zwischen $20.000 und $100.000 haben, einen Steuersatz von 2% bezahlen.
  • Fester Betrag
    Kurz und einfach: Jeder Spieler zahlt den gleichen Betrag.
    Unabhängig von ihrem Vermögen.
  • Fester Prozentsatz
    Gleich wie beim festen Betrag nur eben mit einem festen Prozentsatz.
    Spiele zahlen mit dem gleichen Steuersatz auf ihr Vermögen.

Fahrzeugsteuer:
Du hast die gleichen Möglichkeiten wie bei der Geldsteuer.

Die Unterschiede bestehen darin, dass nicht das Vermögen als Richtwert genommen wird, sondern der Gesamtwert aller Fahrzeug des Spielers.

Ebenfalls kannst du einstellen, ob der Steuersatz als Prozentsatz oder als fester Betrag abgezogen werden soll.

Beispiel:
Der Gesamtwert meiner Autos beträgt $42.300.
Jetzt kannst du einstellen, ob ein Prozentsatz oder ein fester Betrag abgezogen werden soll. Entweder zum Beispiel 5% oder eben $2000.

Haussteuer:

Genau wie bei der Fahrzeugsteuer, eben nur mit dem Gesamtwert aller Häuser der Spieler.

Unternehmenssteuer:

Du kannst beliebig viele Unternehmen einstellen, die Steuern zahlen sollen. Beim Unternehmen wird der aktuelle Kontostand des Unternehmens versteuert.

Auch hier gibt es 2 Methoden:

  • Fester Betrag
  • Fester Prozentsatz

Falls du noch irgendwelche Fragen hast, lass sie mich bitte wissen!

Infos (English)

What taxes does the system cover?

  • Money or wealth tax
  • Vehicle tax
  • House tax
  • Business tax

Each control can also be deactivated individually.
For example, you can disable the vehicle tax if you don’t need it.

I will discuss the individual taxes in more detail below.

Where does the money go?
Of course, the money does not disappear into nothing!
You can decide which company gets which percentage of the taxes paid. Maybe the cops could use a little cash injection?

What can be set fundamentally?

  • In which interval (in days) the taxes will be deducted.
  • Who can use the in-game menu to set the system
  • Should the taxes be deducted at a random time? Can be an advantage if you don’t want players to always know when exactly the taxes are deducted.
  • Players can’t fall below a certain remaining balance that you can set.
  • Companies cannot fall below a certain residual amount.
  • Players who have not been on the server for more than a certain amount of time will be ignored by the system.
  • You can also manually have players ignored by the system. For example, if you have an admin character who has millions in the account, you can exclude him from the system.
  • You can set which vehicle models and which license plates are exempt from vehicle tax in vehicle tax

In-game menu?
You have 2 possibilities to adjust the control system. Either boring as always via the config or the in-game menu.

Yes, right! You can set the complete system in-game.
So for example your mayor or your DOJ can adjust the tax system directly in-game and doesn’t have to go to a developer to adjust the system.

Wealth tax:
You can choose between 3 types:

  • Class system
    In the class system you can have any number of tax classes with a minimum and a maximum. For each tax class there is a percentage. For example, you can say that players who have between $20,000 and $100,000 pay a tax rate of 2%.
  • Fixed amount
    Short and simple: every player pays the same amount. Regardless of their money.
  • Fixed percentage
    Same as the fixed amount, but players pay the same tax rate on their assets.

Vehicle tax:
You have the same options as for the money tax.

The differences are that the total value of all the player’s vehicles is taken as the benchmark, not the assets. You can also set whether the tax rate should be deducted as a percentage or as a fixed amount.

Example:
The total value of my cars is $42,300.
Now you can set whether a percentage or a fixed amount should be deducted. Either 5% or $2000 for example.

House tax:
The same as vehicle tax, just with the total value of all players’ houses.

Business Tax:
You can set up as many companies as you want to pay taxes. At the company, the current account balance of the company will be taxed.

There are 2 methods here as well:

  • Fixed amount
  • Fixed percentage

If you have any questions, please let me know!

Will it work with your vehicleshop/housing-system?
Tested with: myCardealer, qs-housing
Should work with: loaf-housing

As long as your vehicle prices or house prices are saved in the database or stored in any file i can access, it should work fine.

Here are a few pictures of the ingame menu

Pictures

The normal main menu:

The main menu if a wrong configuration was found:

Menu for the vehicle tax settings without wrong configuration:
vehicleMainMenu

Menu for the vehicle tax settings with wrong configuration:

Menu of the vehicle classes with the wrong configuration:
vehicleMainMenu_miss3

Menu of the business-tax-system:
businessMainMenuItem

Menu with the businesslist of the business-tax-system:
businessMainMenu

If you need more pictures, feel free to let me know.

Why is there no video?
To be honest, I have no idea what to show in the video. I could show 5 minutes of the menu. But I don’t think that would do much for anyone.
If you still want to see something in a video. Just let me know. Then I can show it to you.
Also gladly in a Discord call if that’s better.

Will it work with your vehicleshop/housing-system?
As long as your vehicle prices or house prices are saved in the database or stored in any file i can access, it works fine.

Buy the Script (20% Discount until 20.02.2023 23:59)

Have a look at my other Scripts :heart:
[ESX/QB] Christmas Advent Calendar NEW!
[ESX/QB] Insurance & Membershipsystem NEW!
[ESX/QB] EmergencyPhone - Leitstellensystem
[ESX/QB] Visa-/Visumsystem
[ESX/QB] Duty Blips - See which business is online!
[ESX/QB] Item Blips - Reveal Blips on Item usage!
[ESX] Business Cards
[ESX] Random Dealer
[ESX] Simcards
[ESX] noHUD Notify
[ESX] Vehicle Tracker (with Police functions)

Code is accessible Yes/No
Subscription-based No
Lines (approximately) ~2900
Requirements QB-Core/ ESX, OxMySQL, qb- menu/esx-context, (Optional) qb-management
Support Yes

Planst du das auch in ESX-Version zu machen? Sowas ist eig. das was ich sogar schon immer suche :smiley:

Hey @Pyrac
Yes. Version für ESX ist bereits in Planung und auch schon in Arbeit :smiley:

Perfekt, ich finds richtig gut :smiley:

Freut mich sehr. Danke :smiley:

Hey @Pyrac
ESX-Version ist ready :smiley:
Link: https://gp-resources.tebex.io/package/5538484

Hey my vehicle price is not in the database, but here, [core]\qb-core\shared.lua so I can use the vehicle tax?

Hey. In the QB Version the vehicle prices are pulled out of the qb-core/shared/vehicles.lua.
So yes, the vehicle tax system can be used. :smiley:

I would just like to leave a review.

gpscripts is on point with this script and the support is fast and helpful. I was assisted in a quick and professional manner and he solved all my problems. If you want a realistic and highly configurable tax system this is the one I would recommend.

10/10 :star: :star: :star: :star: :star:

1 Like

hi! your script looks great!! I have one question only… how the player knows that the money was debited to pay taxes ? It has integration with bank account ?

I use okokBanking and LB Phone, is possible to have in the bank transactions ? okokBanking has exports to do this

Is possible to have an mail sent to the email of the person on lb-phone ? lb-phone also has an export to do this

The script supports the email function of the LB-phone. This means that players receive an email (whether online or offline) with the complete taxes that were deducted.

OkokBanking can also be included. The function that deducts the players’ money is not encrypted. So you can use okokBanking without any problems. Invoices are also no problem

1 Like

Really nice script. Was a pleasure paying you for that one :smiley:

2 Likes

You know what would be sick and immersive? A “tax” or a phone plan: for each phone a player has in their inventory that is supposed to be owned by them (not a borrowed phone for instance), they would pay every day an amount of money. What do you think?

Meld dich im Discord von GP dort erhälst du schneller Support

Looks great does this save tax interval time to a database if server disconnects/restart ?

1 Like

Hey, yes correctly. The next and last deduction date is saved to your database. Serverrestarts or script restarts won’t interrupt the deduction interval.