Skip to content

Staff editor ​

/gangadmin opens the editor for staff (also an entry in np_menu's radial for staff, Config.Admin.menuEntry). It has three tabs: Map, Gangs and Setup. Every change is checked on the server and written to the staff log (and, with np_admin, to its audit log under np_gangs).

No ACE is used and nothing goes into server.cfg. Any np_gangs.* node opens the editor; each action needs its own node (Installation → Permissions):

Tab Node
Map, layouts, np_drugs tool np_gangs.editor
Gangs: audit (read) np_gangs.audit
Gangs: moderation np_gangs.moderate
Gangs: name approvals np_gangs.names
Setup: slots and bandana variants np_gangs.setup

Without np_admin every staff member (framework group, Config.Admins, np_discord role) may use every tool.

With np_admin, its quick menu, panel and Ctrl K palette also get three staff tools: Open the gang editor, Open a gang's audit (pick the gang) and Open a gang slot (0 = the first sealed one).

Map ​

The editor's map

  1. Pick a turf or New territory. Draw it on the map (click adds a corner, drag moves one, right click removes one) or press the walking tool and drop corners where you stand with E (BACKSPACE returns to the editor). Overlap is checked live; a turf never overlaps another.
  2. Set the name, pick price, police attention, in Lester's pool, can be taken over, or No gang area (on every map, nobody can hold it, needs no shops).
  3. Shops: stand at the counter and press H (or the shop tool). Set name, kind, weekly protection, stash slots and weight, then walk to the back door and set it. If an inventory shop already stands there, give its id as shop id: it stays the public store and np_gangs adds only the members' price.
  4. Walls and corners: face the wall (or the way the seller should look) and drop them with W / C.
  5. A turf needs two shops before it can be released; then it exists for players.
Drawing Shops Walls and corners
Draw Shop Points

Go there teleports you to a turf, shop or point and switches to walking mode.

np_drugs tool ​

With np_drugs running, the map gets a tool for demand per turf and substance (customers per product: set by staff, from np_drugs' own area demand, or the default) and the lookout spots of each corner (within 5 m of a spot counts; a corner without spots uses a ring of 8 to 60 m).

np_drugs tool

Gangs ​

Gangs and audit

  • Audit of every gang: members and their permissions, trusted, turfs and grip, the stash contents and the ledger.
  • Moderation: set grip, grant or revoke a turf, end a contest (the attackers are locked out), give a bandana, kick a member, force-switch the stashout, force-dissolve.
  • Name approvals: every new gang name passes here once. Until it is approved the gang carries Crew <TAG>. Config.Admin.nameApproval.autoApprove = true approves every valid, free name at once; notifyStaff sends staff in the city a quiet toast when a name waits.

Setup ​

Setup

  • Slots: the number of gangs, open a slot now ("no broadcast, no Discord message"), schedule a quiet opening inside a window (6 to 72 h by default), seal a slot. A slot only appears on Lester's board and nowhere else.
  • Bandana variants: which colours and prints Lester offers and what they cost extra. A colour or print a gang wears can't be switched off; the price is added when an OG picks it.
  • Layout file: Export writes layouts/<file>.json; Import merges, Import and replace rebuilds free turfs from the file; Example seed loads the bundled example layout.

Console commands ​

Command What
gangadmin_export [file] Write the layout to layouts/<file>.json (default layout)
gangadmin_import <file> [replace] Merge a layout file, or replace with replace
gangadmin_seed [replace] Load the example layout