legacy-scoreboard
Installation
Dependencies and setup order.
Installation
Dependencies
Install and start these resources before legacy-scoreboard:
| Resource | Why it's needed |
|---|---|
legacy-lib |
Provides the Framework wrapper and branding exports (GetLogo, GetAccentColor, GetAccentGradient). server/server.lua calls exports['legacy-lib']:Framework() at file load time (not lazily), so if legacy-lib isn't running, this resource will error on start. It also depends on legacy-lib's framework-admin check for the staff badge feature. |
ox_lib |
Provides lib.callback (used by both server exports), lib.addKeybind (client keybind), and lib.callback.await (client request). |
Steps
- Ensure
legacy-libandox_libare both installed and placed beforelegacy-scoreboardin yourserver.cfg. - Place the
legacy-scoreboardresource folder in your resources directory. - Add to
server.cfg:
ensure legacy-lib
ensure ox_lib
ensure legacy-scoreboard
- Review and adjust
config.lua(see Configuration) — in particularConfig.Services,Config.VisibleJobs, andConfig.Activities, which should match your server's job names. - Restart the server / resource.
Note: Do not rename the resource folder/resource name after players have used it — anonymity preferences are stored in resource-local KVPs keyed by citizenid, and renaming the resource will orphan that stored data.