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
  • How the PayDay system works
  • Commands
  • Config
  1. PayDay System

PayDay

PreviousCommandsNextJobs

Last updated 2 days ago

The PayDay is an important and essential part of your economy. It handles job salaries, player contracts, bank contracts, taxes, sales and other kinds of payments.

It calculates the income and expense of a player, including the different types listed above, and will then add (or subtract) the net change to/from your bank account. Everything can be configured using the mod config files.

How the PayDay system works

The PayDay is based on a vanilla scoreboard, which counts the timePlayed for each player individually. This means that every player will have their PayDay at a different time, making it impossible for players to dodge payments and taxes.

Additionally, since the vanilla scoreboard system is used, the whole process is very performance friendly, suitable for large-scaled servers.

The interval between each PayDay is set to 20 minutes (24000 ticks) by default, but you can adjust the tick value in the config. Make sure to insert a tick value, not minutes or seconds. (20 ticks = 1 second)

Commands

/enablepayday

Enables the PayDay system.

/disablepayday

Disables the PayDay system.

Only available for players with OP-permissions.

Config

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

A basic payday (without taxes, contracts etc.)