Admin ​
np_farming uses no ACE: no add_ace, no principals, no IsPlayerAceAllowed. Every staff check asks for a permission
node through the np_admin lib vendored byte-identical in bridge/np_admin.lua (np_admin stays optional). Jobs are not
staff: farmer, police and fire come from Config.Jobs (Installation → Jobs).
Permission nodes ​
| Node | Grants |
|---|---|
np_farming.admin |
Every node below; passes every job check of np_farming and the admin-only RPCs |
np_farming.items |
npfarming_give, the staff tool give item |
np_farming.world |
Plots, plants and stations: place plots and stations, grow or clear plants, npfarming_xp, the staff tool set XP |
np_farming.debug |
npfarming_status, the staff tools status, network metrics and tractor service |
With np_admin running, np_admin decides: grant the nodes (or np_farming.*) to staff groups
in its permission matrix (category Farming). The framework groups, Config.Admins and the Discord roles below no
longer count.
Without np_admin (or with Config.Integrations.np_admin = false) an admin holds every node. An admin is:
- a player in one of the framework's admin groups (
Config.AdminGroups, defaultadmin,superadmin,god: ESXgetGroup(), qb / qbxHasPermission); - a player with an identifier in
Config.Admins('license:…','discord:…','fivem:…','steam:…'); - with np_discord running, a player holding one of
Config.AdminDiscordRoles(role ids or np_discord role names); - (unless
np_admin = false) a player listed in np_admin's fallback convars (np_admin_fallback; on ESX the groups ofnp_admin_fallback_groups). See Permissions & np_admin.
The server console may do everything.
Staff tools ​
With np_admin, its quick menu, panel and Ctrl K palette get these tools. Their text also goes to the staff member's
F8 console.
| Tool | Node | What |
|---|---|---|
Farming: status (np_farming.status) |
np_farming.debug |
Bridges, integrations, modules, the weather source, RPC methods and players |
Farming: give item (np_farming.give_item) |
np_farming.items |
Any np_farming item to a player, with a count and its quality (1–3 stars) |
Farming: set XP (np_farming.set_xp) |
np_farming.world |
A farmer's XP; the level follows Config.Levels |
Farming: network metrics (np_farming.network) |
np_farming.debug |
np_farming's net events from np_net (after npnet patch np_farming and a restart) |
Farming: tractor service (np_farming.vehicle) |
np_farming.debug |
np_mechanic's service book of a plate (empty: the vehicle you sit in) and its np_manufacturing build |
Each tool accepts its own node or np_farming.admin. The modules may add their own tools on top of these.
Settings page Farming ​
np_farming registers its config with np_admin's Resource settings (icon seedling, green): money, quality, tools, seasons and weather, levels and every module. np_admin stores only the overrides; the config files stay the default. The full list of keys is on Configuration → Editable in np_admin.
Audit log ​
Category np_farming. Staff actions (np_farming's admin commands, np_admin's staff tools) always go there, plus the
entries of Config.AdminLog (default plot_rented, theft, contract_posted, level_up; exact names or Lua patterns
starting with ^). Everything also stays in np_farming_log.
Theme ​
np_farming's screens follow np_admin's central theme (npAdmin.onTheme); without np_admin they use the Nimbus default.