With Duty Time Counter you can get an idea of Employees of how much time they are contributing to the Department. You no longer need to count their duty time manually and can also reward them accordingly which will encourage them more.
Features:
• Any Jobs can be added in Config for Duty Count.
• Employee can check their Total Duty Time.
• Auto On/OFF Duty based on Job Duty Status.
• Check Duty Status.
• Discord log system.
• Boss Actions:
• Only User with Boss role can Delete all employee Duty Counts from thier own Department. • /delduty [ID] command can be used to delete specific player duty count. • Boss can see all employee total duty time. • If the user is a Police boss then he can only delete all police Duty Time Count. (Police to Police, EMS to EMS)
For better optimization, why don’t you put the date and the time in the database when taking services and when the person takes his end of services, you make the date of taking service minus the end date of services to get working time. you could then add the time worked to the database.
More efficient than a loop every minute that plays with the database, isn’t it?