CityRP Documentation Repository

core.libraries.meska.achievements.server.base

Metrics-Skill-Achievement Framework (MESKA) The general and fishing achievements, synced to the database on every boot.

Functions

meska.achievements.syncBase(cb)Source ☍

Writes every base achievement to the database, creating the missing ones and updating the rest.

Parameters

  • cbfun()?Called once the chain is done.

Tables

meska.achievements.baseSource ☍

The base achievements. Code is the source of truth: the sync rewrites the database rows from this list, so an edit here reaches Live on its next boot and a hand edit there does not survive one.