DarkRP Entity Generator

Create custom DarkRP entities for your server — money printers, meth labs, and more.

Have questions? Check the FAQ

Basic Configuration

Core settings for the entity — name, class, model, pricing, and limits.

The display name shown in the F4 menu

The entity class spawned when purchased

The world model used for this entity

$

Cost to purchase the entity

0 = unlimited

/

Players type this in chat to buy the entity

The tab this entity appears under in the F4 menu

Allowed Teams

Which job teams can purchase this entity. Leave empty to allow all teams.

TEAM_

Advanced Options

Optional
entities.lua
DarkRP.createEntity("Entity Name", {
    ent = "entity_class",
    model = "models/props_c17/consolebox01a.mdl",
    price = 1000,
    max = 2,
    cmd = "buyentity",
    category = "Entities",
})

Where does this code go?

Paste the code into lua/darkrp_customthings/entities.lua inside the darkrpmodification addon on your server.

Full path: garrysmod/addons/darkrpmodification/lua/darkrp_customthings/entities.lua

Each entity needs a unique cmd and ent class. Restart your server or change the map for changes to take effect.

FAQ · Frequently. Asked. Questions.

Commonly asked questions about creating custom DarkRP entities, how they work, and what each option does.

Visit Knowledge Base
Paste the generated Lua code into lua/darkrp_customthings/entities.lua inside the darkrpmodification addon on your server. The full path is garrysmod/addons/darkrpmodification/lua/darkrp_customthings/entities.lua.

Questions?

Join over 6,000+ members in our Discord community chat with other server owners, get help, and stay up to date with the latest news.