v1.13.4
Summary
This release adds configurable Discord bot presence (status and activity), custom statistics support for the web panel, and refines teleport/last-coordinates handling. It also removes CPU/memory calculations from the dashboard, fixes the Discord bot with improved error logging, and updates vehicle model caching logic.
What's New
Features
- Discord bot presence — configurable status, activity, and optional dynamic player count display
- Custom statistics for web panel — You can now see your custom stats on the web panel
Bug Fixes
- Fixed Discord bot issues and added error logs file for debugging
File Changes
⚙️ Configuration & Bridge Files
These files are not encrypted. Review the changes below — you may need to manually apply updates to your server's config files.
config/commands/sv_commands.lua
- Modified — Teleport "go back" now uses
exports[cache.resource]:setLastCoordsandgetLastCoordsinstead of statebags for last-coordinates storage (better compatibility and consistency)
config/discord.json
- Added — New
presencesection for Discord bot customization:enabled— Toggle presence updates (default:true)status— Bot status:online,idle,dnd, orinvisibleactivity— Activity name and type (Playing, Streaming, Listening, Watching, Competing)dynamic_player_count— Optional live player count in activity (setenabled: trueand customizetemplatewith{players}placeholder)
"presence": {
"__comment__": "Bot presence settings. Set enabled=false to disable auto presence updates.",
"__hint_status_values__": "online | idle | dnd | invisible",
"__hint_activity_type_values__": "0=Playing, 1=Streaming, 2=Listening, 3=Watching, 5=Competing",
"__hint_dynamic_template__": "Use {players} in template, example: \"Watching {players} players\"",
"enabled": true,
"status": "online",
"activity": {
"name": "The eye in the sky",
"type": 3
},
"dynamic_player_count": {
"enabled": false,
"template": "Watching {players} players",
"interval_seconds": 60
}
},🔒 Core Resource Files
These files are encrypted in the release and update automatically. No manual action required. Listed here for transparency.
| Change | File |
|---|---|
| Modified | client/modules/actions.lua |
| Modified | client/modules/cache.lua |
| Modified | fxmanifest.lua |
| Modified | server/index.js |
| Modified | server/sv_main.lua |
| Modified | server/utils/sv_user_addon.lua |
| Modified | web/ |