Documentation
Docs/Resources/Base/speedlimiter
Base Resource

speedlimiter

Applies model, vehicle-class or default speed caps to the vehicle currently owned by the local driver. Values are configured in either mph or km/h and aircraft are exempt by default. The resource also owns the effective cap used by the mechanic M-key personal limiter. A personal limit can only lower the configured global cap; disabling it restores the configured cap rather than bypassing it. Current limit data is exposed through the vcoreSpeedLimit player state bag.

v1.0.0VCore FrameworkGameplay systems

Introduction

Applies model, vehicle-class or default speed caps to the vehicle currently owned by the local driver. Values are configured in either mph or km/h and aircraft are exempt by default. The resource also owns the effective cap used by the mechanic M-key personal limiter. A personal limit can only lower the configured global cap; disabling it restores the configured cap rather than bypassing it. Current limit data is exposed through the vcoreSpeedLimit player state bag.

1Client Lua
0Server Lua
7Exports
1Events
0SQL tables

No manifest UI page detected.

Dependencies & References

ResourceDetected asPackage status
coreManifest dependencyIncluded in Base

Cross-resource export calls

ResourceFunctions called
coregetCoreObject

Installation / Start Order

The supplied server.cfg enables this resource in the Gameplay systems stage at enabled-resource position 60. Base installation also depends on the global prerequisites and consolidated VCORE_INSTALL.sql documented in Getting Started.

server.cfg
ensure speedlimiter

Configuration

Config files

  • config.lua

Top-level config keys detected

ClassLimitsDebugDefaultLimitIdleIntervalMinimumDriverLimitModelLimitsRefreshIntervalShowDriverLimitNotificationsUnitUseClassLimits

Events, Exports & Callbacks

Exports

Client exports7
  • ApplyLimit
  • ClearDriverLimit
  • GetConfiguredDisplayLimit
  • GetConfiguredLimit
  • GetEffectiveLimit
  • IsDriverLimitActive
  • SetDriverLimit

Callbacks

No Vcore callback registrations were detected.

Registered network events

Client registered events1
  • speedlimiter:client:refresh

Commands

No commands were detected.

Database / SQL

No resource-local SQL file was detected.

No CREATE TABLE statements detected inside this resource.

The root Base package also ships the consolidated VCORE_INSTALL.sql.

Source Layout

AreaDetected files
Client Lua1
Server Lua0
Other/shared Lua2
JavaScript0
HTML0
CSS0
SQL0

Troubleshooting

  • Confirm all manifest dependencies are started before speedlimiter.
  • Check the supplied start-order note above; resources absent from server.cfg need an explicit decision before enabling.
  • If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
  • If the UI fails, verify the resource's NUI files and ui_page when one is declared.