Kuro's Economy Docs
  • Kuro's Economy Mod
  • Basic Contents
    • Blocks
    • Items
  • Commands
  • PayDay System
    • PayDay
    • Jobs
  • Contracts
  • Taxes and Interest
  • Server Owners
    • Server Storage
Powered by GitBook
On this page
  • Config files
  • Storage locations
  1. Server Owners

Server Storage

This site is only for server owners running this mod to know where certain files are stored. It does not include any helpful information for players, unless you are (for whatever reason) using this mod in a single-player world.

Config files

There is a total of 4 config files, all located in the /config folder. The relevant pages explain their usage and configuration purposes.

economy_config.toml

["Identity cards"]
	"blue ID city name" = "Blue city"
	"purple ID city name" = "Purple city"
	"red ID city name" = "Red city"
	"green ID city name" = "Green city"

economy_jobs.json
{
  "jobs": [
    {
      "name": "farmer",
      "salary": 50
    },
    {
      "name": "miner",
      "salary": 20000
    },
    {
      "name": "zahnarzt",
      "salary": 50000
    },
    {
      "name": "hunter",
      "salary": 60
    }
  ]
}
economy_paydayinterval.toml

[interval]
	#How many ticks between each payday
	"PayDay Ticks" = 24000.0

[interest]
	Interest = true
	#The interest percentage that the player will get on a payday
	"Interest Percentage" = 2.0
	#The minimum required balance for interest
	"Interest Minimum Balance" = 500.0
	"Interest Maximum" = 500000.0

economy_taxes.json
{
  "fixed": [
    {
      "name": "Health Insurance",
      "amount": -50
    },
    {
      "name": "Universal Bonus",
      "amount": 100
    },
    {
      "name": "Guild Tax",
      "amount": -30
    }
  ],
  "useTaxBrackets": true,
  "brackets": [
    {
      "min": 0,
      "max": 4999,
      "rate": 0
    },
    {
      "min": 5000,
      "max": 10000,
      "rate": 10
    },
    {
      "min": 10001,
      "max": -1,
      "rate": 20
    }
  ]
}

Storage locations

Here you can find the location and type of the server's storage folders. They will be empty until someone starts using their respective functions.

Each server storage folder is located in the world/serverconfig directory.

Three essential folders will be created:

  • bankcontracts

  • buffers

  • contracts

When a respective function is used, like when a contract is made, a .json file with the UUID of the player(s) will be created.

You don't need to worry about your server's performance or storage, as these files are very compact.

PreviousTaxes and Interest

Last updated 2 days ago