Documentation / EP-DrivingSchool

Installation

Install required resources

Place ep-drivingschool inside resources/[eppie]/ep-drivingschool. Keep the original folder name. Start oxmysql, ox_lib and the selected framework first. Ensure the database connection works. Optional ox_target or qb-target may be started before DrivingSchool.

Server start order

Example for Qbox with Identify already installed. Omit ep-identify when using DrivingSchool alone. For ESX replace qbx_core with es_extended; for QB replace it with qb-core. Preserve your framework's normal startup requirements.

cfg
ensure oxmysql
ensure ox_lib
ensure qbx_core
ensure ep-identify
ensure ep-drivingschool

Database

The resource automatically creates ep_driving_theory, ep_driving_licenses and ep_driving_cooldowns. The database fix also widens category columns to VARCHAR(50) if needed. Manual installation is available through install/install.sql. The included install/esx.sql contains the same table definitions in this archive. Back up existing data and do not drop tables.

Configuration

Config.Framework defaults to auto. Config.Language defaults to nl. Set Config.Interaction, Config.MoneyAccount, Config.SpeedUnit and the categories/route settings as needed. The supplied config uses mph, even though the older README describes km/h; switch to kmh if you want metric speeds and review the limits. See Configuration.

Start and test

Restart and check server console for framework detection. Visit the instructor at the configured school location. Test payment, theory, practical exam, vehicle/trailer spawn, parking, successful license storage, reconnect persistence and integration with Identify. Verify all routes on your server before release.

Login Required

You need to login with your CFX account before adding packages to your basket.