Accumulated Paycheck
Instead of giving players paychecks on a regular timer (e.g., every few minutes), this system requires players to accumulate a full hour (or configured threshold) of duty time before they are eligible
Config.Accumulation = {
Enabled = false, -- Toggle the accumulated paycheck system on/off
Interval = 10000, -- Time interval (in milliseconds) to update accumulated time
Threshold = 1, -- Required duty time in hours before becoming eligible for a paycheck
}
🧠 How It Works:
When
Enabled
is set tofalse
, the system disables regular timed paychecks.Instead, it tracks how long a player has been on duty, updating every
Interval
milliseconds.Once a player accumulates at least
Threshold
hours (e.g., 1 hour = 3600 seconds), they become eligible to receive a paycheck.
Last updated