Step 5 - Set first deduction date
Set
Config.setupModein your Config to trueConfig.setupMode = trueRestart the script via the server console
Use the command
setTaxDate YYYY-MM-DD HH:MM:SSto set the first date example:setTaxDate 2023-12-16 20:00:00In this case the taxes would be deducted at2023-12-16 20:00:00for the first time. The next date is generated automatically, depending on the days you have set (Config.payTaxInterval), and saved in the database.Set
Config.setupModein your Config to falseConfig.setupMode = falseRestert the script via the server console
Last updated
Was this helpful?