FX-GRAVEROBBERY
Advanced grave robbery system for RedM with time restrictions, law system, reward system, and full framework compatibility.
3 min readupdated 3 Jun 2026
On this page 16
#๐ฆ INSTALLATION
bashensure fx-graverobbery
- Place the script inside
resources/fx-graverobbery - Add
ensure fx-graverobberyto yourserver.cfg - Restart your server
#๐ฆ VORP ITEM INSTALL
sqlINSERT INTO items (...)
VALUES
('shovel', 'Shovel', ...)
- Required item for grave robbery
- Players must have shovel to start robbery
- Can be disabled from config
#โ๏ธ BASIC CONFIG
luaConfig.Language = "en"
Config.Webhook = ""
- Language โ system language
- Webhook โ logs robbery events
#๐ฎ KEY SYSTEM
luaConfig.Keybinds = {
["startrobbery"] = 0x760A9C6F,
["prayanim"] = 0x2CD5343E,
["exit"] = 0x156F7119,
}
- Defines player controls
- startrobbery โ start digging
- prayanim โ play animation
- exit โ cancel action
#๐งฑ SHOVEL REQUIREMENT
luaConfig.ShovelItem = {item = "shovel", label = "Shovel"}
- Required item to rob graves
- Set to false to disable requirement
#โ๏ธ ROBBERY SETTINGS
luaConfig.RobberySetting = {
RobberyDelay = 30,
ActiveJobDistance = 300,
ActiveJobs = {
["sheriff"] = 0,
},
}
- RobberyDelay โ cooldown per grave
- ActiveJobDistance โ job proximity requirement
- ActiveJobs โ required law presence
luaConfig.RobberySetting.TimeInterval = true
Config.RobberySetting.Start = 24
Config.RobberySetting.Finish = 5
- Restricts robbery to specific hours
- Example โ only night robbery
luaConfig.RobberySetting.ProgressBarTime = 5
- Digging duration (seconds)
#๐จ LAW / ALERT SYSTEM
luaConfig.RobberySetting.NotifyChancePercentage = 100
Config.RobberySetting.NotifyRange = 200.0
- Chance to notify law enforcement
- NotifyRange โ distance of alert
luaConfig.AlertBlips = {
blipname = "Grave robbery !",
blipsprite = -2018361632,
}
- Creates map alert for law
- Helps tracking robbery location
#๐ REWARD SYSTEM
luaConfig.Rewards = {
MaxRewardItemCount = 2,
RewardChance = 100,
}
- MaxRewardItemCount โ max item types
- RewardChance โ chance to receive items
luaConfig.Rewards.Items = {
[1] = {item = "water", count = 4, chance = 100},
[5] = {item = "goldnugget", count = 1, chance = 10},
}
- Defines loot pool
- chance โ drop probability
luaConfig.Rewards.MoneyChance = 50
Config.Rewards.Cash = math.random(10, 50)
- Chance to receive money
- Cash โ reward amount
#๐จ VISUAL SYSTEM
luaConfig.DrawSetting = {
DrawMarker = {distance = 2},
DrawLight = {distance = 2},
DrawTexture = {distance = 10},
}
- Controls visual indicators
- Marker โ ground indicator
- Light โ light effect
- Texture โ UI marker
#๐ซ BLACKLIST ZONE
luaConfig.BlacklistZone = {
-- vector3(...)
}
- Prevents robbery in restricted areas
- Example โ towns, churches
#โฐ๏ธ GRAVE SYSTEM
luaConfig.GraveProps = {
"p_gravestone01x",
"p_gravestone04x",
}
- Defines valid grave props
- Only these props can be robbed
#๐ NOTIFY SYSTEM
luaNotify({
text = "Grave Robbery Started",
type = "success"
})
- Framework-based notification system
- Supports VORP / RSG / REDEMRP
- Fully customizable
#โ๏ธ SERVER CONFIG
luaSV_Config.Webhook = {
url = "",
logo = "",
banner = "",
}
- Used for logging system
- Sends robbery logs to Discord
#โ ๏ธ IMPORTANT NOTES
- Shovel item must exist in database
- ActiveJobs must match your job names
- TimeInterval must be configured properly
- Rewards must have valid items
- GraveProps must match map props
#๐จ COMMON MISTAKES
- Missing shovel item
- Wrong job names
- Invalid reward items
- Time restriction blocking robbery
- No graves detected
#๐ SUMMARY
FX-GraveRobbery provides:
- Dynamic grave robbery system
- Law enforcement alert system
- Time-based gameplay
- Reward & loot system
- Full framework compatibility
ยฉ Fixitfy Development