Groups / Blips

Groups / Blips

This item is free.

Add to Basket

Description: This is a group/gang management system for RedM (Red Dead Redemption 2 multiplayer) that allows players to:

9c92d2215ff4051e5e3b51bc3aa3cc312c2b064c.png   85e128a62992fd2cfa9b5ea4c43ef769ee466038.png  1f5ba66ff72df5414efad3f46a5204597e01538c.png

  • Create groups/gangs
  • Invite other players
  • Manage group members
  • See group members on the map with blips
  • Remove members from groups
  • Group leader controls

Dependencies:

  1. RSG-Core (RedM framework)
  2. ox_lib (for menus and UI)
  3. MySQL database
  4. rNotify (for notifications)

Database Requirements: The script uses two main tables:

  1. playerstable with columns:
    • citizenid
    • gangid
    • charinfo
  2. gangtable with columns:
    • id
    • characterid
    • gangname

Configuration Options (config.lua):

luaCopyConfig.Blips = {
    DefaultBlipColor = `BLIP_MODIFIER_MP_COLOR_1`, -- Default white color
    DefaultBlipSprite = GetHashKey("blip_ambient_ped_medium"), -- Blip icon
    DefaultBlipScale = 0.2 -- Size of blip on map
}

How to Use:

  1. Players can use /group command to open the group menu
  2. Menu options include:
    • Create Group
    • Invite to Group
    • View Members
    • Leave Group

Key Features:

  1. Real-time Blip Updates:
    • Member positions update every 15 seconds
    • Blips are color-coded by group
    • Only shows group members' positions
  2. Group Management:
    • Leaders can remove members
    • Members can leave groups
    • Groups persist in database
    • Automatic blip cleanup when members leave
  3. Invitation System:
    • Players can invite by ID
    • Invitees receive notification
    • Accept/decline options
  4. Performance Optimizations:
    • Position updates are throttled
    • Blip updates are batched
    • Error handling for disconnects

Future Improvements:

  1. Add configuration for:
    • Update intervals
    • Maximum group size
    • Custom blip colors per group
    • Permission levels within groups
  2. Add features like:
    • Group chat
    • Shared resources
    • Group objectives
    • Hierarchy system