A drop-in replacement for UTime with multiple storage options, greater customization, and an emphasis on quality + performance.
Go to file
Brandon Sturgeon f4c736dc88
Fix dangling sessions and invalid players
Fixes dangling sessions that get more time than they should, and fixes error spam when players disconnect (prevents invalid players from having their time broadcast)
2023-12-24 11:26:39 -08:00
.github/workflows Update linting workflow to use official (#40) 2022-11-16 23:32:50 -08:00
lua Fix dangling sessions and invalid players 2023-12-24 11:26:39 -08:00
.env.example Add docker compose file and example env 2021-01-20 02:08:08 -08:00
.gitignore Add gitignire 2021-01-20 02:15:20 -08:00
CODEOWNERS Update CODEOWNERS 2021-11-15 14:23:31 -08:00
docker-compose.prod.yml Fix docker compose file 2021-01-20 02:15:05 -08:00
LICENSE Initial commit 2020-08-11 09:19:23 -07:00
README.md remove random string 2021-09-25 20:37:07 -05:00

cfc_time

A drop-in replacement for Utime with multiple storage options, greater customization, and an emphasis on quality + performance.

Dependencies

Using Mysql

  • Ensure your mysql server has ssl disabled
  • If you run into an error involving caching_sha2_password you can try disabling that for the mysql user ALTER USER 'yourusername' IDENTIFIED WITH mysql_native_password BY 'youpassword';
  • Install mysqloo
  • Run: cfc_time_config_set "STORAGE_TYPE" "mysql" in the server console
  • Restart the server
  • Run the following commands in the server console with the values changed to your database credentials cfc_time_config_set "MYSQL_HOST" "127.0.0.1" cfc_time_config_set "MYSQL_USERNAME" "username" cfc_time_config_set "MYSQL_PASSWORD" "password" cfc_time_config_set "MYSQL_DATABASE" "database" cfc_time_config_set "MYSQL_PORT" "3306"
  • Restart Server