Skip to content

Halloween treat: 20% off your first payment with code HALLOWEEN2026 at checkout.See plans

How do I add shipments and food items to the DarkRP F4 menu?

Shipments (purchasable weapon crates) and food items are both configured in your DarkRP modification's lua/darkrp_config/shipments.lua.

A shipment is added with DarkRP.createShipment, and takes a price, an amount, whether items are bought individually or as a set (separate / pricesep), and an allowed list restricting which jobs can buy it.

Food and consumable items use DarkRP.createFoodItem in the same file, and can include a hunger value and a customCheck function if you want to restrict who can buy it.

F4 menu changes require a full server restart to take effect; a Lua refresh alone is not enough.

Was this helpful?

Want to try this on a real server?

Everything described here is available on the trial too, on the same hardware and the same panel as the paid plans. Try it free for 24 hours, no credit card required.

Halloween treat: 20% off your first payment with code HALLOWEEN2026 at checkout.

Didn't fix it? Ask in Discord.

Ask in our Discord - we help with hosting questions whether or not you host with us.