For the complete documentation index, see llms.txt. This page is also available as Markdown.

Parking

Players can buy individual market slots within zones, pay weekly rent, and park their listed vehicles there. This page covers the slot-level settings.


Settings

shared/config.lua
Config.Parking = {
    SlotPrice = 10000,           -- one-time slot purchase
    SlotWeeklyFee = 2000,        -- recurring rent (auto-charged every 7 days)
    MaxSlotsPerParking = 30,
    SpacesPerPage = 10,          -- pagination in the My Cars UI
}
Field
Default
Purpose

SlotPrice

10000

What the player pays once to buy a slot

SlotWeeklyFee

2000

Auto-charged from the slot owner's bank every 7 days

MaxSlotsPerParking

30

Hard cap for external parking owners adding slots

SpacesPerPage

10

UI pagination — how many slots per page


Weekly fee flow

Every minute the server runs a sweep over expired next_payment_at timestamps:

  1. Player owns slot → SlotWeeklyFee due.

  2. Server attempts removeMoney('bank').

  3. Successnext_payment_at rolled forward by 7 days.

  4. Failure (no funds) — slot is freed, listing in it is removed from the market.


Free slots

Set both prices to zero to make slots free:

In this mode, players can claim any vacant slot for free and there's no auto-eviction.

Last updated