Skip to content

Feature catalogue ​

The ent pack is a set of granular features. A job gets the features it needs, each with its own config. The same definitions (Config.Features in shared/config/features.lua) feed np_jobs, which registers the pack at start, and the fallback map when np_jobs is not running.

np_entertainment never reads a job name or a grade number in its modules. Rank-style splits are separate features (ent.events vs ent.events.finance, ent.venue.setup vs ent.venue.interior) or perGrade fields (editPresets, pyro, custom).

Job features: composing a club owner from the ent pack

Concept render of the np_jobs editor with the ent pack.

Features ​

Feature Unlocks Config Duty
ent.dj The DJ booth: two decks, crossfade, queue, hot cues, FX pads, visuals venues place[] · sources (youtube, file, stream) · maxVolume 0–1 (0.9) · fxPads bool · visuals bool optional
ent.dj.requests Receive song requests and tips minTip money (0) · venueCut 0–0.5 (0.2) · cooldown s (60) · autoAccept bool optional
ent.lights The light desk: presets, fixtures, beat-follow, blackout venues · fixtures (movers, lasers, smoke, strobe, spot) · strobeMaxHz 0–6 · editPresets perGrade optional
ent.stage Stage manager: running order, follow spot, stage props, pyro venues · props · maxProps (10) · pyro perGrade optional
ent.stage.perform Take the stage: mic opens, perform emotes, hype, tips tipCut 0–1 (0.1) · autoOpenMic bool optional
ent.audio The sound desk: faders, mutes, routing, master, scenes venues · maxMics 0–32 (4) · groups (main, delay, monitor, backstage, outdoor, broadcast) · voiceFx optional
ent.audio.rig Deploy and pack a mobile PA maxSpeakers 1–32 (8) · zones · maxRangeM 1–500 (100) required
ent.tickets.sell Box office: sell tiers and cover; runs the fallback door venues · tiers · maxDiscount 0–1 required
ent.events Event planner: events, tiers, lineup, guests, publish venues · maxCapacity (500) · maxPrice (10000) · publish (app, news, billboards, blip, discord) · maxEventsPerWeek (5) never
ent.events.finance Revenue, performer fees, refunds, payouts payee account · maxFee (10000) · refunds bool never
ent.promote Promoter codes, flyers, commission rate 0–1 (0.08) · buyerDiscount 0–1 · maxFlyers (20) · flyerZones never
ent.promote.manage Set rates, invite promoters, single-event grants maxRate 0–1 (0.2) · maxGrantDays (7) never
ent.venue.setup Venue editor: booth, fixtures, speakers, mics, screens, zones venues · maxProps (100) never
ent.venue.interior Interior configurator: profile, club sign, style, colours venues · profiles (allowed presets) · custom perGrade never

venues is a list of venue places and scopes the feature: an ent.dj for galaxy_main does nothing at another club. Duty required features need the player on duty; optional ones let the job decide.

Hooks on the features ​

  • Loadout: ent.stage.perform → ent_mic_wireless (optional). ent.promote → ent_flyer × maxFlyers.
  • Item gates: ent_mixer_tablet needs ent.audio; deploying ent_pa_kit needs ent.audio.rig.
  • Actions on a player: Hand flyer (ent.promote), Follow spot (ent.stage), Hand wireless mic (ent.audio).
  • Revoke: the player leaves the booth (the deck plays its queue out), their mic closes, the follow spot goes back to auto, a deployed rig keeps running until its owner packs it or the timeout hits. Other resources hear np_entertainment:featureRevoked.

Not features ​

Everyone can buy and hold tickets, show a ticket at the door, request a song, tip, dance, enter VIP with the right band and talk into a mic someone handed them while its input is open.

Example job compositions ​

These are job definitions for np_jobs. np_entertainment ships none of them as code.

Resident DJ

lua
resident_dj = {
  faction = 'galaxy',
  features = {
    ['ent.dj']          = { venues = { 'galaxy_main' }, sources = { 'youtube', 'file' }, maxVolume = 0.9 },
    ['ent.dj.requests'] = { minTip = 20, venueCut = 0.2 },
    ['ent.lights']      = { venues = { 'galaxy_main' }, fixtures = { 'movers', 'lasers' }, editPresets = { [2] = true } },
    'ent.stage.perform',
  },
}

Club owner: every ent.* feature at their venues, plus the bar and door features of other packs. ent.events.finance, ent.promote.manage and ent.venue.interior only for the top grades.

Promoter (minijob, no faction)

lua
promoter = {
  kind = 'minijob',
  features = { ['ent.promote'] = { rate = 0.08, buyerDiscount = 0.10, maxFlyers = 20, flyerZones = { 'vinewood', 'delperro' } } },
}

Performer (freelance, or a temporary grant from the planner)

lua
performer = { kind = 'minijob', features = { ['ent.stage.perform'] = { tipCut = 0.1, autoOpenMic = true }, 'ent.dj.requests' } }

Sound engineer (event company, works any stage)

lua
sound_engineer = {
  faction = 'ls_events',
  features = {
    ['ent.audio']     = { venues = { 'any' }, maxMics = 8, groups = { 'main', 'delay', 'monitor', 'outdoor' } },
    ['ent.audio.rig'] = { maxSpeakers = 12, zones = { 'beach', 'vinewood_bowl', 'legion' }, maxRangeM = 180 },
    'ent.lights',
  },
}

Event staff (box office; the door itself is np_security's security.guestlist)

lua
event_staff = {
  faction = 'galaxy',
  features = { ['security.guestlist'] = { venues = { 'galaxy' } }, 'ent.tickets.sell', 'jobs.register' },
}

Festival crew: ent.events + ent.venue.setup + ent.audio + ent.audio.rig + ent.lights, with door and first-aid features from other packs.

Politician or wedding host (no job): speaks at a lectern or with a handheld mic a sound engineer opened. No feature is needed to speak.

Without np_jobs, write the same configs into Config.JobFeatures per framework job (Configuration).