Skip to content

Moderation & reports ​

Players, warns, bans and reports. Every action checks the staff member's permission and duty state on the server and writes an audit entry.

Players ​

Players

The Players view (np_admin.players.view) lists players by scope:

Scope
Online Everyone on the server: id, name, character, job, groups, session time, ping and flags
Offline Everyone np_admin has seen (table np_admin_players), searchable by name or identifier
Flagged Players with active warns or on the watchlist
Watchlist Players a staff member put on the watchlist

Flags show active warns, open reports, the watchlist, new players (first seen in the last 24 h) and staff at a glance.

The player detail shows identifiers, character name, job, cash and bank, health and armour, position, Discord user and roles, first and last seen, playtime, and tabs for warns, bans, notes and the history timeline (the player's audit entries). From there staff run the player actions, add notes and toggle the watchlist (np_admin.players.notes).

Warns ​

Warn with the Warn action, /warn <id|identifier> <reason> or the reason dialog. Warns count on the player's flags and expire after Config.Moderation.warnExpiryDays (30 days, 0 = never). Bans & warnings lists them (np_admin.bans.view).

Kicks ​

Kick or /kick <id> <reason>. The reason is shown to the player.

Bans ​

Ban dialog

The ban dialog has reason templates (Config.BanTemplates), duration presets (Config.Client.Bans.durations, longer presets than the staff member's ban.max_duration limit are hidden), a custom duration, a message shown to the player and an optional screenshot taken right before the ban.

What is banned Every known identifier of the player (license, Discord, Steam, FiveM, …) plus the hardware tokens. ip: identifiers only with Config.Moderation.banIp
Ban code Each ban gets a code like NB-7K2Q. It is shown to the player and used to unban
Expiry Temporary bans end on their own. 0 = permanent
Extension With Config.Moderation.extendBans (default on), a banned identifier or token joining with new identifiers adds them to the ban. This catches new accounts on the same PC
Offline bans The target can be any identifier. np_admin takes the stored identifiers and tokens from np_admin_players
Permanent bans Need a group limit ban.max_duration = 0. With Config.Moderation.permanentNeedsNode they also need np_admin.bans.permanent
Discord With Config.Discord.syncBans, the ban is mirrored on Discord through np_discord. Revoking unbans there too

Commands:

/ban <id|identifier> <30m|12h|7d|perm> <reason>
/unban <NB-XXXX> [reason]

A banned player who connects sees the ban card in the connection screen: server name, reason, expiry, ban code, the custom message and, when Config.Moderation.appealUrl is set, the appeal link. Active bans are matched in memory, so the check needs no query.

Bans & warnings (np_admin.bans.view) lists active and past bans with search. Revoking needs np_admin.bans.revoke and a reason.

Bans & warnings

Reports ​

Reports

Players ​

Command
/report [text] With np_menu, opens a dialog with category, subject and text. Without np_menu, sends the text as category Other
/rr <text> Reply to your open report

The player gets a notification when staff claim the report, reply, or close it. Limits: one report per Config.Reports.cooldown seconds (60) and at most Config.Reports.maxOpen open reports (2).

Staff ​

  • A new report shows a staff toast to everyone on duty. Y claims the report from the last toast (for Config.Client.Reports.toastDuration, 12 s).
  • The Reports view (np_admin.reports.view) has the queues Open, Mine and Closed and a chat with the reporter. Claiming, replying, handing over and resolving need np_admin.reports.handle.
  • Hand over gives the report to another staff member; without a target it releases the claim and the report goes back to Open.
  • Every report carries context: the reporter's position when it was sent, their log entries from the last Config.Reports.contextSeconds (30 s) and the players within Config.Reports.nearbyRadius (40 m).
  • The sidebar badge shows the number of open reports.

Report categories come from Config.Reports.categories (server) and Config.Client.Reports.categories (the /report dialog). The server list is also editable under Resource settings → np_admin → Reports.

Staff chat and announcements ​

Command Node
/sc <text> np_admin.panel Staff chat to everyone on duty
/announce <text> np_admin.world.announce Server-wide announcement (np_hud style when it runs)

Duty ​

With Config.Duty.enabled (default), staff tools stay locked until a staff member goes on duty with the duty pill in the panel, the quick menu or /duty [on|off] (np_admin.duty). Duty time is tracked and the dashboard lists who is on duty. Player(src).state.npAdminDuty holds the state for other resources.