Files
bbassieandClaude Opus 5.5 44ae3a5f0e Add a watch list and read state to exp_reports
Players on the watch list are announced to every online admin on every
instance when they join, and the join is posted to the Discord and JSON
webhooks. The Reports page has a second table for the watch list with an
Add button and a Delete button per row.

Reports can be marked read or unread from the web interface. Each report
row also has an Add to watch list button which opens the add form filled
in with the player and reason. Setting exp_reports.watch_unread_reports
treats players with unread reports as watched.

Reports now store created_at_ms because marking them read changes
updated_at_ms. Old reports.json files migrate on load with updated_at_ms
as the creation time. The report webhook moved from the datastore update
listener to the create handler so reading a report is not posted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 18:36:22 +00:00

26 lines
1.3 KiB
INI

[exp-reports]
created=__1__ was reported for __2__.
created-admin=__1__ was reported by __2__ for __3__.
list-title=__1__ has __2__ __plural_for_parameter__2__{1=report|rest=reports}__ against them:
list-entry=__1__: __2__
list-all-title=The following players have reports against them:
list-all-entry=__1__: __2__ __plural_for_parameter__2__{1=report|rest=reports}__
list-all-none=No players have reports against them.
deleted=__1__ had __2__ __plural_for_parameter__2__{1=report|rest=reports}__ removed by __3__.
deleted-none=__1__ has no reports against them.
watched-joined=__1__ joined __2__ and is being watched.
watched-entry=Watch list, added by __1__: __2__
watched-report=Unread report by __1__: __2__
[exp-reports_commands]
description-create=Reports a player and notifies moderators
description-get=Gets a list of all reports that a player has on them. If no player then lists all players and the number of reports on them.
description-clear=Clears all reports from a player or just the report from one player.
arg-player-create=Player you want to report.
arg-player-get=Player to get the reports of.
arg-player-clear=Player to clear the reports of.
arg-reason=Reason you want to report this player.
arg-from-player=Only remove the report from this player.
player-immune=This player can not be reported.
self-report=You cannot report yourself.