Fraco Gov

Make a pluggin that is a money system.

Everyone starts off making $120 every 20 minutes their in game.

Around the town there are job signs that if you click them it will let you apply for the job.

Firefighters; Probationary| $140 Firefighter| $180 Senior Firefighter| $200

Those are just an example.

But there is also royalty.

Crowned Royal Members makes $100,000,000 every 20 minutes Duke / Duchess makes $50,000,000 every 20 minutes Marquess / Marchioness makes $25,000,000 every 20 minutes Earl / Countess makes $12,500,000 every 20 minutes Viscount / Viscountess makes $6,250,000 every 20 minutes Baron / Baroness makes $3,125,000 every 20 minutes Baronet / Baronetess makes $1,562,500 every 20 minutes Knight / Dame makes $390,625 every 20 minutes Lord / Lady makes $97,657 every 20 minutes

Kodari AI
KodariAug 28 at 1:03 am 2
JobRoyaltyEconomy
Implements a Minecraft datapack money system where all players earn $120 every 20 minutes while online. Adds clickable job signs around town for applying to jobs like Firefighter with tiered pay rates (Probationary $140, Firefighter $180, Senior Firefighter $200). Includes a royalty hierarchy granting exponentially higher salaries every 20 minutes, from Lord/Lady at $97,657 up to Crowned Royal Members at $100,000,000. Tracks player online time and distributes wages automatically.
  1. Core economy: add balances, 20-minute online-time payroll, and a tab-list money display.

  2. Employment: add clickable firefighter application signs with three paid ranks.

  3. Royalty: add all listed royalty income tiers plus operator assignment functions.

  4. Utilities: add balance/help functions and load/tick registration.

Download the ZIP using the export button, then:

  1. Extract it so town_money_datapack/ is directly inside world/datapacks/.

  2. Run /reload.

  3. Run /datapack list to verify it loaded.

  4. Run /function town_money:admin/give_firefighter_sign to get the firefighter application sign.

  5. Run /function town_money:balance to view your balance and role.

  6. Use /function town_money:admin/help to view the role-management commands.

Kodari can make mistakes. Review important code before using.
Files
town_money_datapack
Code
24 111
town_money_datapack/data/town_money/function/payday.mcfunction
scoreboard players set @s tm_clock 0
execute if score @s tm_role matches 0 run scoreboard players add @s money 120
execute if score @s tm_role matches 1 run scoreboard players add @s money 140
execute if score @s tm_role matches 2 run scoreboard players add @s money 180
execute if score @s tm_role matches 3 run scoreboard players add @s money 200
execute if score @s tm_role matches 10 run scoreboard players add @s money 390625
execute if score @s tm_role matches 11 run scoreboard players add @s money 97657
execute if score @s tm_role matches 12 run scoreboard players add @s money 1562500
execute if score @s tm_role matches 13 run scoreboard players add @s money 3125000
execute if score @s tm_role matches 14 run scoreboard players add @s money 6250000
execute if score @s tm_role matches 15 run scoreboard players add @s money 12500000
execute if score @s tm_role matches 16 run scoreboard players add @s money 25000000
execute if score @s tm_role matches 17 run scoreboard players add @s money 50000000
execute if score @s tm_role matches 18 run scoreboard players add @s money 100000000
execute if score @s tm_role matches 0 run tellraw @s [{"text":"Payday: +$120","color":"green"}]
execute if score @s tm_role matches 1 run tellraw @s [{"text":"Payday: +$140 (Probationary Firefighter)","color":"green"}]
execute if score @s tm_role matches 2 run tellraw @s [{"text":"Payday: +$180 (Firefighter)","color":"green"}]
execute if score @s tm_role matches 3 run tellraw @s [{"text":"Payday: +$200 (Senior Firefighter)","color":"green"}]
execute if score @s tm_role matches 10 run tellraw @s [{"text":"Royalty payday: +$390,625 (Knight / Dame)","color":"gold"}]
execute if score @s tm_role matches 11 run tellraw @s [{"text":"Royalty payday: +$97,657 (Lord / Lady)","color":"gold"}]
execute if score @s tm_role matches 12 run tellraw @s [{"text":"Royalty payday: +$1,562,500 (Baronet / Baronetess)","color":"gold"}]
execute if score @s tm_role matches 13 run tellraw @s [{"text":"Royalty payday: +$3,125,000 (Baron / Baroness)","color":"gold"}]
execute if score @s tm_role matches 14 run tellraw @s [{"text":"Royalty payday: +$6,250,000 (Viscount / Viscountess)","color":"gold"}]
execute if score @s tm_role matches 15 run tellraw @s [{"text":"Royalty payday: +$12,500,000 (Earl / Countess)","color":"gold"}]
execute if score @s tm_role matches 16 run tellraw @s [{"text":"Royalty payday: +$25,000,000 (Marquess / Marchioness)","color":"gold"}]
execute if score @s tm_role matches 17 run tellraw @s [{"text":"Royalty payday: +$50,000,000 (Duke / Duchess)","color":"gold"}]
execute if score @s tm_role matches 18 run tellraw @s [{"text":"Royalty payday: +$100,000,000 (Crowned Royal Member)","color":"gold"}]