Releases: uucz/tayer-uptime
Releases · uucz/tayer-uptime
v2.4.1
Bug Fixes
- Standalone callback fix — Fixed duplicate event handler registration in
shared/bridge.lua. Previously, each server callback call in standalone mode registered a new handler, causing callbacks to fire multiple times. - Nil safety fix — Fixed potential nil error in
client.luawhen a milestone has nomoneyfield (e.g., item-only rewards).
Documentation
- Comprehensive README rewrite with:
- Detailed configuration examples for every feature (AFK, milestones, login rewards, roles, Discord, API)
- HTTP API endpoint documentation with JSON response samples
- Discord role sync setup guide
- Exports API usage examples with code
- Full bilingual documentation (English + Chinese)
Full Changelog
See CHANGELOG.md for complete history.
v2.4.0
Highlights
🔌 Multi-Framework — Auto-detects ESX, QBCore, QBOX, or Standalone. Only oxmysql required.
🖥️ NUI Dashboard — Dark glassmorphism panel with 5 tabs: Overview, Leaderboard, Milestones, Login Streak, Activity Heatmap
🌐 HTTP REST API — JSON endpoints (/api/leaderboard, /api/player, /api/stats, /api/online) with Bearer token auth
🎭 Discord Role Sync — Auto-assign Discord roles based on playtime via Bot API
📊 Activity Heatmap — GitHub-style 7×24 grid showing play patterns by day and hour
What's New Since v1.1.0
v2.0.0
- AFK detection, milestone rewards, daily/weekly stats, Exports API
- Race condition fix, crash-safe disconnect tracking
v2.1.0
- Server-side AFK (no client trust), daily login rewards, playtime-gated roles
- Session history, admin audit logging, 4 new locales (es/fr/de/pt-BR)
v2.2.0
- NUI dashboard with dark glassmorphism UI
- Admin commands:
/settime,/addtime,/serverstats - First-join welcome bonus, Discord daily report
v2.3.0
- Multi-framework bridge (ESX/QBCore/QBOX/Standalone)
- Rich reward types (money/items/vehicles), ox_lib integration
- txAdmin playtime data import (
/importtxadmin)
v2.4.0
- HTTP REST API with 4 endpoints + Bearer auth
- Discord role sync via Bot API
- Activity heatmap (NUI tab +
users_activity_hourlytable)
Stats
- 📁 13 commands, 7 exports, 4 API endpoints
- 🗄️ 9 auto-created database tables
- 🌍 6 locales (zh-CN, en, es, fr, de, pt-BR)
- 🔗 Compatible with ESX, QBCore, QBOX, Standalone
Full Changelog
See CHANGELOG.md for detailed changes.
v1.0
ESX Online Time v1.0 发布说明
ESX Online Time 是一个基于 ESX 的在线时间系统,可以在服务器每隔一分钟更新每个玩家的在线时间,并且提供了一个指令 /onlinetime 可以让玩家查询自己的在线时间。
功能特点
- 自动更新每个玩家的在线时间
- 提供
/onlinetime指令供玩家查询自己的在线时间
安装说明
- 将项目文件复制到服务器资源目录中。
- 在服务器的配置文件中添加依赖项
es_extended和oxmysql。 - 运行服务器即可开始使用。
版本历史
v1.0
- 自动更新每个玩家的在线时间
- 提供
/onlinetime指令供玩家查询自己的在线时间
许可证
该项目基于 MIT 许可证发布,详情请参阅 LICENSE 文件。
贡献者
如果您有任何问题或建议,请随时联系作者。