Quality-of-life utilities and fixes for RedM using RSG Core.
A collection of small but essential features: AFK kick, Discord rich presence, eagle eye access, first-person shooting handling, bandana toggle, map zone labels, door unlocks, water interactions, and more. Modular client/server files make it easy to enable only what you need.
- rsg-core ๐ค
- ox_lib โ๏ธ (locales, progress bars, UI)
- oxmysql ๐๏ธ (logs where applicable)
- rsg-inventory ๐ (for certain inventory interactions)
- ox_target ๐ฏ (for water pump interaction)
- weathersync ๐ฆ๏ธ
- rsg-weapons ๐ซ (for weapon check/remove events)
Locales: locales/en.json, fr.json, es.json, pt-br.json (loaded via lib.locale()).
Config: config.lua exposes toggles and parameters for each module.
- Kicks AFK players after a timeout (default 1800s).
- Staff groups (
mod,admin,god) are exempt. - Client shows step-down warnings; server handles DropPlayer.
- Toggle bandana on/off with proper ped meta tags.
- Perโjob control via
Config.EagleEye: allow everyone, or only specific jobs (vallaw,rholaw, etc.). - Automatically enables/disables on resource start/stop and player job changes.
- If
Config.FirstPersonShooting = true, forces firstโperson while freeโaiming, and restores afterward.
- Simple handsโup behaviour with task cleanup and taser handling.
- Uses Discord Application ID and asset IDs from
Config.Discord. - Two buttons (text + links) and live Rich Presence updates with
{ID},{NAME},{PLAYERS_COUNT}replacement inConfig.Discord.Template.
- Adds localized zone/region/territory names; credit to Viyu88 (see file header).
- Unlocks a curated set of shop/clinic doors by hash at resource start.
- Wash/drink prompts near natural water sources with
RSGCore.Shared.Keybindsprompts. - Water pump interactions via ox_target; fills canteen items (checks
canteen0), plays progress bar and animation.
- Enables RDR2 pointing with proper task toggles.
- Wagon driver seat handling and minor QoL fixes.
- Control peds/traffic/animal density using natives.
- Option to stop auto-shuffle to driver seat for wagons (
Config.StopAutoShuffle = true).
- Removes weapons from ped slots on event
rsg-core:client:RemoveWeaponFromTab, integrates withrsg-weaponsand unequips if needed.
- Storm: reacts to
txAdmin:events:announcementto trigger thunderstorm prints and optional weather sync. - Xmas: toggles Xmas weather with
weathersync(ifConfig.EnableXmas = true).
- Webhookโbased logging (configure
Webhookstable) with fallbacks to default channel.
Config.Debug = false
Config.FirstPersonShooting = false
Config.EnableXmas = false
Config.PauseReadBook = false
Config.StopAutoShuffle = true
Config.EagleEye = {
everyone = { enabled = true },
vallaw = { enabled = false },
rholaw = { enabled = false }
}
Config.Discord = {
DiscordAppID = 12345678910111213,
AppBigAssetID = 'big_img.png!',
AppBigAssetText = 'big text img!',
AppSmallAssetID = 'small_img.png!',
AppSmallAssetText = 'small text img!',
FirstButtonPlaceholder = 'Discord',
FirstButtonLink = 'https://discord.gg/yourserver',
SecondButtonPlaceholder = 'Website',
SecondButtonLink = 'https://example.com',
UpdateEvery = 15000,
Template = '{NAME} (ID: {ID}) | {PLAYERS_COUNT} online'
}
-- Water areas and pumps are configured in config.lua and client files- Place
rsg-essentialsinside yourresources/[rsg]folder. - Ensure rsg-core, ox_lib, ox_target, and any optional dependencies you use are installed.
- Configure
config.lua(Discord, Eagle Eye, Xmas, etc.). - Add to your
server.cfg:ensure ox_lib ensure rsg-core ensure ox_target ensure rsg-essentials
- Restart your server.
Provided in locales/: en, fr, es, pt-br.
lib.locale() is used across client/server modules.
- Map Zones data credit to Viyu88 (see
client/zones.lua). - RSG / Rexshack-RedM and community contributors.
- License: GPLโ3.0.