SHOWCASE VIDEO
About Illegal Discoveries
Setup your spawn locations around the map. You can hide some or you can put some in plain sight. Players can retrieve the loot by interacting with the entities. All discoveries have custom models with bodygroups and beautiful animations.Once you start retrieving loot, it will decrease in size/bodygroup. The more loot you retrieve from the object, the more of the total reward you get. You are able to steal some and leave some behind. Other players might try to intervene with you while you loot objects.
Police officers are able to discover loot too! They can confiscate the illegal loot for a smaller reward by destroying it using their weapons. Police rewards are also configurable and randomized.
Looting Objects
- Objects spawn across the map that holds valuable loot.
- Loot objects to receive money rewards.
- Be careful that players does not interfere you while looting or it will fail.
- The addon is configurable and objects might display through walls when close enough.

- Every loot type can have a minimum and a maximum reward.
- When the entities are shuffled the reward is randomized.
- When a player loots/confiscates money from an object the reward is changed accordingly.

- Configure a spawn chance per entity type.
- When the spawns are shuffled entities have a random chance of spawning or not.
- Set up as many entities as you like.
- Easy spawning via Q menu and removing using Toolgun.
- Save entities to their positions via a console command.

- Police teams can also take loot similar to how criminals take the loot.
- They are rewarded less money for taking the loot as it is considered confiscating and not stealing the illegal object.
- You can configure the percentage a police officer receives for confiscating loot.

- All models have multiple bodygroups.
- When looting an object the bodygroups adjust to show how much loot is left inside the object.
- Every model also has a custom glow effect that appears when an object is first opened.

- Objects can display with a halo through walls when the player is close enough.
- Distance to the objects can be displayed through walls if the player is close enough.

- You can configure how long time it takes to perform one loot on an object.
- You can configure the time a player is cooldowned from looting after successfully looting a full object.

- The addon works with all gamemodes as long as you have one of the following currency systems available.
- You can configure the currency that the objects will use as reward inside the configuration file.
- DarkRP Money
- SH Pointshop Points
- SH Pointshop Premium Points
- BaseWars Money
- Helix Money
- mTokens
- Brick's Credit Store
- Pointshop2 Points
- Pointshop2 Premium Points
- SantosRP Money
- Underdone Money

- You can enable custom rewards and set a chance that a loot object gives a custom reward when looted.
- Spawn random entity
- PointShop 1 Points
- PointShop 1 specific item
- PointShop 2 points
- PointShop 2 premium points
- PointShop 2 specific item
- PointShop 2 random item
- PointShop 2 random item from config
- Give random weapon
- Give weapon ammunition
- Give armor
- Give item with SH Pointshop
- Give standard points with SH Pointshop
- Give premium points with SH Pointshop
- Give case with VoidCases
- Give XP with gLevel
- Give XP with DarkRP Essentials or Brick's Essentials
- Give XP with Sublime Levels
- Give XP with Vrondakis Level System
- Give XP with GlorifiedLeveling
- Give XP with Elite XP System
- Give credits for Brick's Credit Store
- Give item with Advanced Accessory
- Give tokens with mTokens
- Speed booster

- The addon supports bLogs.
- Logs when all illegal entities are respawned.
- Logs when a player starts a loot.
- Logs when a player fails a loot.
- Logs when a player finishes looting.
INSTALLATION
This addon supports DarkRP 2.7.0+
Extract
Please visit the Setup & Customizing tab to see how you configure the addon.
CONTENT
There's a single content pack that you must add to your servers workshop collection.
Workshop
This addon supports DarkRP 2.7.0+
Extract
ch_illegal_discoveries
to your addons folder.Please visit the Setup & Customizing tab to see how you configure the addon.
CONTENT
There's a single content pack that you must add to your servers workshop collection.
Workshop
Setup & Customizing
To customize the general settings go to
To modify the illegal entities go to
To modify and enable/disable the custom rewards go to
SETUP ENTITIES
To spawn illegal discoveries and setup their spawn points you use the Q menu and a console command.
To spawn entities go to Q menu -> Entities -> Illegal Discoveries -> Spawn illegal discovery entities.
Use console command
REMOVING ENTITIES
If you regret setting up some of the discovery entities then simply use the default Remover Tool on the entity as an admin.
Once you have removed the ones you don't want anymore then run the save command again.
CONFIG FILE
To customize the general settings go to
ch_illegal_discoveries/lua/ch_illegal_discoveries/shared/ch_illegal_discoveries_config.lua
To modify the illegal entities go to
ch_illegal_discoveries/lua/ch_illegal_discoveries/shared/ch_illegal_discoveries_items.lua
To modify and enable/disable the custom rewards go to
ch_illegal_discoveries/lua/ch_illegal_discoveries/shared/ch_illegal_discoveries_custom_rewards.lua
SETUP ENTITIES
To spawn illegal discoveries and setup their spawn points you use the Q menu and a console command.
To spawn entities go to Q menu -> Entities -> Illegal Discoveries -> Spawn illegal discovery entities.
Use console command
ch_illegal_discoveries_saveents
to save the entities to the map as an admin.REMOVING ENTITIES
If you regret setting up some of the discovery entities then simply use the default Remover Tool on the entity as an admin.
Once you have removed the ones you don't want anymore then run the save command again.
CONFIG FILE
Code:
-- SET LANGUAGE
-- Available languages: English: en - Danish: da
CH_IllegalDiscoveries.Config.Language = "en" -- Set the language of the script.
-- Team settings
CH_IllegalDiscoveries.Config.CriminalTeams = { -- This is a list of criminal teams. These are the teams that can take the entities and get rewards.
["Citizen"] = true,
["Gangster"] = true,
}
CH_IllegalDiscoveries.Config.PoliceTeams = { -- List of police teams. They can confiscate illegal discoveries and receive small rewards.
["Police Officer"] = true,
["Civil Protection"] = true,
}
-- Set currency
CH_IllegalDiscoveries.Config.Currency = "darkrp" -- What gamemode/currency do you want to use?
-- General settings
CH_IllegalDiscoveries.Config.DistanceToOverhead3D2D = 500000 -- How far away does 3d2d overhead display on entities?
CH_IllegalDiscoveries.Config.NotificationTime = 5 -- How long does DarkRP notifications show for with this addon?
CH_IllegalDiscoveries.Config.RespawnTime = { 300, 600 } -- How many seconds inbetween the entities respawn/rotate spawns? Minimum and maximum and it will randomize every time it respawns
CH_IllegalDiscoveries.Config.NotifyCriminalsOnRespawn = true -- Should all criminal teams be notified when illegal discoveries respawn?
CH_IllegalDiscoveries.Config.NotifyCopsOnRespawn = true -- Should all cop teams be notified when illegal discoveries respawn?
-- Looting settings
CH_IllegalDiscoveries.Config.EmptyLootCooldown = 10 -- Set a cooldown on the player when they have emptied one loot entirely. Stops them from taking a lot of loot objects quickly.
CH_IllegalDiscoveries.Config.EmitMoneyParticle = true -- Should money effect display when successfully looting?
CH_IllegalDiscoveries.Config.DistanceBeforeLootFail = 20000 -- How far can the player move away from the object before looting it fails?
-- Halo/Display settings
CH_IllegalDiscoveries.Config.DrawHaloOnEntities = false -- Should halo be drawn on the entity (through walls) when player is close enough?
CH_IllegalDiscoveries.Config.DistanceForHalo = 500000 -- If enabled then what is the distance before drawing?
CH_IllegalDiscoveries.Config.Draw3D2DOnEntities = false -- Should a display on the map be shown (through walls) when the player is close enough?
CH_IllegalDiscoveries.Config.DistanceFor3D2D = 500000 -- If enabled then what is the distance before drawing?
CH_IllegalDiscoveries.Config.DistanceToStopDisplaying = 40000 -- When the player gets close enough we stop drawing halo/3d2d text.
-- Confiscating settings
CH_IllegalDiscoveries.Config.ConfiscateRewardPercentage = 25 -- How many percentage of the remaining reward does police get when confiscating loot?
Discord Server & Support
I own a Discord server for customers and anyone else who wish to join. I will occasionally provide exclusive offers and help with minor issues that might occur with my scripts. If you have a more serious problem, please create a conversation with me onsite.Conflicting addons is not to be said if I will support that or not. This is something I will decide upon confrontation about a conflicting addon. If you have found a conflicting addon, then feel free to create a conversation and I'll see if I can assist with solving the conflict.