Skip to content

Controls & admin ​

Controls ​

np_spy-pigeon registers no commands. The keys are control ids from Config.Flight.controls (the flight keys and the tool slots), so you change them in config.lua; they are not FiveM key bindings that players rebind in their settings.

Flight ​

Key Config What
Mouse Steer
Space flap (22) Flap: climb. While perched: take off
Shift dive (21) Dive
W / S Speed up / slow down to a near hover
E perch (38) Perch on the surface under you
C coo (26) Coo. Players within 30 m hear it
Backspace (hold 1 s) home (177) Fly home
Alt (hold) sense (19) Battery sense: marks the charge points around you
1 to 4 tool1 to tool4 (157, 158, 160, 164) Camera, mic, mark, droppings
A / D The balance minigame on a power line; the hawk dodge (double-tap)
Q Resist a bread lure

The flight keys are also shown on the HUD (Flying).

Camera ​

Camera overlay

Key What
F (camera, 23) Open or close the camera
LMB Snap a photo
RMB Lock on to a vehicle or person
Mouse wheel Zoom
N Day, night, thermal (the Crow)
G Directional mic on or off (2 does the same)
3 Mark
Esc Close the camera

The camera keys other than F are fixed. See Senses & intel.

Elsewhere ​

Key What
E (Config.Interaction.key) Open a loft; grab a perched pigeon when you use the E prompt
Esc Close the loft or the item inspection
Space Mash to break free when you are grabbed

Permissions ​

np_spy-pigeon uses no ACE permissions. Staff checks ask np_admin for a permission node through the np_admin lib that ships in bridge/np_admin.lua. np_admin itself stays optional.

Node Grants
np_spy-pigeon.fly Open lofts and fly spy pigeons
np_spy-pigeon.admin The three staff actions below: recall, recall all, reset cooldown

A player may fly when they hold np_spy-pigeon.fly or match a job of Config.Access.jobs (or the loft's own jobs) at the required grade, on duty if Config.Access.requireDuty is on. The two ways add up: np_admin grants never remove job access. A bird can add a requirement on top: the Crow needs job grade 3 (minGrade), node or not.

With np_admin running, grant the nodes (or np_spy-pigeon.*) to staff groups in its permission matrix, category Spy Pigeon.

Without np_admin the lib falls back to safe defaults: the server console, identifiers in the convar np_admin_fallback ("license:abc,discord:123") and, on es_extended, the groups of np_admin_fallback_groups (default admin,superadmin) hold every node. Everybody else flies through the jobs. See Permissions & np_admin.

Actions ​

With np_admin, its quick menu, panel and Ctrl K palette get these actions (Staff tools). All of them need np_spy-pigeon.admin.

Action Name Target What
Recall spy pigeon np_spy-pigeon.recall A player Ends that player's flight (a normal return). Answers Player is not an active pigeon otherwise
Recall all pigeons np_spy-pigeon.recallAll none Ends every active flight
Reset pigeon cooldown np_spy-pigeon.cooldownReset A player Clears the lost or return cooldown, so they can fly again at once

Each one writes an entry to the audit log. Staff with np_admin are also told when a player catches a pigeon.

Settings page Spy Pigeon ​

np_spy-pigeon registers 52 settings with np_admin's Resource settings (icon dove, orange): access, session, flight, battery, charging, tools, events, counter items, photos, the np_surveillance ping interval and case limit, logs and the language. np_admin stores only the overrides; config.lua stays the default. The list is on Configuration → Editable in np_admin.

Audit log ​

Category np_spy-pigeon in np_admin's audit log. Entries:

Action When
session:start, session:end A flight begins or ends (with the reason and whether it was lost)
intel:photo, intel:plate, intel:mark A photo, plate read or mark is filed (with the case id and the intel id)
dropping:hit A tactical dropping hit something
item:bread, item:jammer, item:spikes, item:scanner, item:inspect A counter item was used
counter:catch A bird was caught
admin:recall, admin:recallAll, admin:cooldownReset The staff actions

Without np_admin (or when it refuses the entry), the log goes to a Discord webhook instead: set Config.Logs.webhook (or the secret field Discord Webhook in np_admin). The embed shows the action, the player and their identifier, and the data.

Theme ​

The screens follow np_admin's central theme (npAdmin.onTheme); without np_admin they use the Nimbus default.