PMonitor

插件

· 作者 clre20

录制指定玩家的游戏画面

0 本站下载 0 关注 更新于 2 天前

最新 1.1.1 · 26.3 · Paper / Purpur

一键开服(送7天)

PMonitor

PMonitor 在伺服器端錄下指定玩家收到的所有畫面資料,存成 Flashback 的回放檔。被錄的玩家不需要安裝任何東西,也不會察覺(預設不通知)。管理員把檔案放進自己電腦的 Flashback,就能用自由鏡頭從任何角度查看、慢動作播放,或直接輸出影片。

適合用來調查作弊、還原糾紛現場、錄製活動或宣傳影片。

功能特色

完整的回放

  • 玩家動作、手持物品與裝備、挖掘裂痕、方塊變化、聊天、生物、盔甲座與名牌、天氣與時間、標題、王者血條、計分板、Tab 列表、藥水效果、地圖畫
  • 死亡重生、切換維度、跨世界傳送(支援 Multiverse 等多世界插件)都不會中斷
  • 每 5 分鐘自動建立快照,Flashback 可以快速跳到任何時間點

隨時開始錄製

  • 玩家已經在線上也能立即開始,不需要重新進服
  • 離線玩家可以設定「下次進服錄製」(只錄一次)或「每次進服自動錄製」
  • 多位玩家可以同時錄製,各自產生獨立的檔案

箱子介面

  • /cpm 開啟管理介面:玩家列表(含離線玩家,線上排前面)、搜尋、篩選
  • 點選玩家即可開始/停止錄製、設定自動錄製、查看該玩家的錄製檔
  • 錄製檔列表依時間排序,顯示長度、大小、版本、狀態,可在介面中刪除
  • 只接受左鍵,防止誤觸與物品被拿走;Esc 回上一層

安全存檔

  • 單一檔案超過 2 小時或 1 GB 自動切成新檔,錄製不中斷
  • 正常關服時會等所有錄製存檔完成才關閉伺服器
  • 當機或強制終止後,下次啟動自動修復未完成的錄製(通常只遺失最後約 1 秒)

容量管理

  • 兩段式容量上限:超過提醒值(預設 5 GB)通知 OP 等級 2 以上的管理員並照常錄製;超過強停值(預設 10 GB)時所有錄製正確存檔後停止
  • 刪除舊檔讓容量降回上限以下後,自動恢復錄製原本被停止的玩家
  • 超過保留天數(預設 30 天)的錄製檔自動刪除

效能

  • 實測 15 人同時錄製,主執行緒每 tick 約 0.2~0.4 ms(每位玩家約 0.02 ms)
  • 快照分散在數個 tick 內完成,不會造成單次明顯卡頓
  • 存檔、壓縮都在背景執行緒進行

相容性

  • 一個 jar 支援 Paper 1.21.11、26.1、26.2、26.3
  • 已測試:ViaVersion/ViaBackwards、Geyser/Floodgate(基岩版玩家)、Velocity、Multiverse-Core、PacketEvents、Paper 反礦透視
  • 不需要任何前置插件

其他

  • 下載連結(預設關閉):開啟後可用 /cpm download 取得下載網址(預設 10 分鐘內有效)
  • 啟動、/cpm help、/cpm reload 時自動檢查 GitHub 新版本(只提示,不自動下載)
  • 所有訊息、介面文字都可在 messages.yml 修改;設定檔更新時自動保留原本的值並備份

指令與權限

主指令 /pmonitor,縮寫 /cpm。所有權限預設只有 OP 擁有。

指令 說明 權限
/cpm 開啟管理介面 pmonitor.use
/cpm help 版本、檢查更新、指令說明 pmonitor.help
/cpm start <玩家> 開始錄製;玩家離線時改為下次進服錄製 pmonitor.start
/cpm stop <玩家> 停止錄製並存檔;沒在錄時取消待命或關閉自動錄製 pmonitor.stop
/cpm status 錄製中與待命的玩家、目前容量 pmonitor.status
/cpm list [玩家] 錄製檔列表 pmonitor.list
/cpm download <檔名> 取得下載連結(需在設定中開啟) pmonitor.download
/cpm delete <檔名> 刪除錄製檔(玩家需在 30 秒內再輸入一次確認) pmonitor.delete
/cpm reload 重新載入設定並檢查更新 pmonitor.reload
其他權限 說明
pmonitor.admin 以上全部權限
pmonitor.status 同時接收錄製相關通知(開始失敗、自動分段等)
pmonitor.update 進服時收到新版本通知

使用方式

錄製一位玩家

  1. 輸入 /cpm,點選玩家的頭顱
  2. 點「開始錄製」,要結束時再點一次「停止錄製」
  3. 錄製檔存在 plugins/PMonitor/recordings/<玩家 UUID>/<玩家>_<日期時間>.zip

持續監看可疑玩家

  1. /cpm → 點選玩家 → 開啟「每次進服自動錄製」
  2. 之後該玩家每次上線都會自動錄製,離線時自動存檔

用 Flashback 觀看並輸出 mp4

  1. 在電腦上安裝 Fabric,Minecraft 版本要和伺服器相同
  2. 把 Flashback 和 Fabric API 放進 .minecraft/mods/
  3. 把錄製檔(.zip,不用解壓縮)放進 .minecraft/flashback/replays/
  4. 啟動遊戲 → 標題畫面的 Flashback 按鈕 → 選擇回放
  5. 自由飛行、調整速度、設定鏡頭關鍵幀,用 Flashback 的匯出功能輸出 mp4

設定

設定 預設 說明
recording.notify-player false 開始/停止錄製時是否通知被錄的玩家
recording.max-duration-minutes 120 單檔最長時間,超過自動切檔
recording.max-file-size-mb 1024 單檔最大容量(未壓縮),超過自動切檔
storage.warn-size-gb 5 總容量提醒值
storage.stop-size-gb 10 總容量強停值
storage.retention-days 30 保留天數
storage.warn-op-level 2 收到容量提醒的 OP 等級
download.enabled false 是否開啟下載連結
update-checker.enabled true 是否檢查更新

數值設 0 代表不限制。修改後執行 /cpm reload。

需求與注意事項

  • Paper 1.21.11(Java 21 以上)或 Paper 26.1~26.3(Java 25)
  • 回放檔需用與伺服器相同 Minecraft 版本的 Flashback 開啟
  • 錄製檔壓縮後一般約每人每分鐘 0.6~1.1 MB;錄製中的檔案是未壓縮的,請預留暫存空間
  • 被錄玩家自己的腳步聲、吃東西等音效不會出現在回放中(伺服器不會送給本人)
  • 伺服器 TPS 低於 20 時,回放長度會比實際時間短
  • 基岩版玩家在回放中顯示預設皮膚

PMonitor records, on the server side, everything a chosen player receives and saves it as a Flashback replay. The recorded player needs nothing installed and is not notified by default. Drop the file into Flashback on your own PC to watch from any angle with a free camera, play in slow motion, or export a video.

Great for investigating cheaters, reconstructing disputes, and capturing events or trailers.

The in-game interface and messages are in Traditional Chinese. Every message can be translated in messages.yml.

Features

Complete replays

  • Player movement, held items and armor, block-breaking progress, block changes, chat, mobs, armor stands and name tags, weather and time, titles, boss bars, scoreboards, tab list, potion effects, maps
  • Survives death and respawn, dimension changes and cross-world teleports (works with Multiverse and similar plugins)
  • A snapshot every 5 minutes lets Flashback jump to any point quickly

Start any time

  • Start recording a player who is already online, no rejoin needed
  • For offline players: "record next join" (once) or "auto-record every join"
  • Record several players at once, each to its own file

Chest GUI

  • /cpm opens the manager: player list including offline players, search and filter
  • Click a player to start/stop recording, toggle auto-record, or browse their recordings
  • Recordings are listed by time with length, size, version and status, and can be deleted from the GUI
  • Left-click only to prevent misclicks and item theft; Esc goes back

Safe saving

  • Files longer than 2 hours or larger than 1 GB are split automatically without interrupting the recording
  • On a normal shutdown the server waits until every recording is saved
  • After a crash or forced kill, unfinished recordings are repaired on the next start (usually losing only the last second)

Storage management

  • Two-tier limit: above the warning size (default 5 GB) OPs of level 2+ are notified and recording continues; above the stop size (default 10 GB) all recordings are saved properly and stopped
  • Once old files are deleted and usage drops below the limit, the stopped players are recorded again automatically
  • Recordings older than the retention period (default 30 days) are deleted automatically

Performance

  • Measured with 15 players recorded at once: about 0.2–0.4 ms per tick on the main thread (about 0.02 ms per player)
  • Snapshots are spread over several ticks to avoid lag spikes
  • Saving and compression run on background threads

兼容性

  • 一个 jar 包适用于 Paper 1.21.11、26.1、26.2 和 26.3
  • 已测试 ViaVersion/ViaBackwards、Geyser/Floodgate(基岩版玩家)、Velocity、Multiverse-Core、PacketEvents 和 Paper anti-xray
  • 无依赖项

更多功能

  • 下载链接(默认关闭):/cpm download 默认生成一个有效期为 10 分钟的 URL
  • 启动时检查 GitHub 新版本,支持 /cpm help 和 /cpm reload(仅通知)
  • 所有消息和 GUI 文本均可在 messages.yml 中编辑;配置更新会保留您的自定义值并创建备份

命令与权限

主命令 /pmonitor,别名 /cpm。所有权限默认仅限 OP 使用。

命令 说明 权限
/cpm 打开管理器图形界面 pmonitor.use
/cpm help 查看版本、检查更新、显示命令列表 pmonitor.help
/cpm start <player> 开始录制;对于离线玩家,将在其下次加入时开始录制 pmonitor.start
/cpm stop <player> 停止并保存;如果未处于录制状态,则取消待处理或自动录制的任务 pmonitor.stop
/cpm status 查看正在录制或待处理的玩家,以及当前存储使用情况 pmonitor.status
/cpm list [player] 列出所有录制文件 pmonitor.list
/cpm download <file> 获取下载链接(需在配置中启用) pmonitor.download
/cpm delete <file> 删除录制文件(玩家必须在 30 秒内再次输入此命令以确认) pmonitor.delete
/cpm reload 重新加载配置文件并检查更新 pmonitor.reload
其他权限 说明
pmonitor.admin 拥有以上所有权限
pmonitor.status 同时接收录制通知(启动失败、自动分割等)
pmonitor.update 加入时获取新版本通知

使用方法

记录玩家行为

  1. 运行 /cpm 并点击目标玩家的头像
  2. 点击“开始录制”;再次点击以停止
  3. 录制文件保存至 plugins/PMonitor/recordings/<玩家 UUID>/<玩家名>_<日期-时间>.zip

持续观察可疑玩家

  1. /cpm → 点击该玩家 → 开启“自动记录每次加入”
  2. 该玩家每次加入时都会被记录,并在离开时保存文件

通过 Flashback 回放并导出 mp4

  1. 在电脑上安装 Fabric —— 需与服务器相同的 Minecraft 版本
  2. 将 Flashback 和 Fabric API 放入 .minecraft/mods/ 目录
  3. 将录制文件(.zip 格式,无需解压)放入 .minecraft/flashback/replays/ 目录
  4. 启动游戏 → 在主菜单点击 Flashback 按钮 → 选择回放文件
  5. 自由飞行、调整速度、设置摄像机关键帧,并使用 Flashback 导出 mp4

配置说明

键 默认值 描述
recording.notify-player false 在开始/停止录制时通知被录制的玩家
recording.max-duration-minutes 120 单个文件最大时长(分钟),超出则分割
recording.max-file-size-mb 1024 单个文件最大未压缩大小(MB),超出则分割
storage.warn-size-gb 5 总存储空间警告阈值(GB)
storage.stop-size-gb 10 总存储空间停止录制阈值(GB)
storage.retention-days 30 保留录制文件的天数
storage.warn-op-level 2 接收存储警告的操作员权限等级
download.enabled false 启用下载链接
update-checker.enabled true 检查更新

0 表示无限制。编辑配置文件后请运行 /cpm reload。

要求与注意事项

  • Paper 1.21.11(需要 Java 21+)或 Paper 26.1–26.3(需要 Java 25)
  • 使用 Flashback 打开回放时,Minecraft 版本必须与服务器一致
  • 压缩后的录播文件通常每位玩家每分钟占用 0.6–1.1 MB;正在进行的录制未压缩,因此请预留足够的空闲空间
  • 被录制玩家自身的脚步声和进食音效不会出现在回放中(因为这些声音从未由服务器发送给该玩家)
  • 如果服务器运行帧率低于 20 TPS,回放的时长会比实际时间更短
  • Bedrock 版玩家在回放中会使用默认皮肤显示

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源