NotABackdoor 将实用的服务器面板集成到了你的 Paper 服务器中。当主机商的面板让一些基本操作变得不必要地复杂时,它非常有用:例如查看 Paper 实际记录的日志、更改配置文件、运行命令或在更新前进行备份。
概览页面显示进程 CPU 占用、TPS(每秒刻数)、每刻毫秒数、Java 堆内存使用情况以及在线玩家数量。你可以实时跟踪最近 60 秒的数据,或回溯从一分钟到一周的历史记录。分钟级别的历史数据在重启后依然保留。控制台读取 Minecraft 的 logs/latest.log 文件,包括启动信息和插件消息,并允许你以服务器控制台的身份运行命令。
在“文件”功能中,你可以浏览、编辑、上传、移动、压缩为 ZIP 和解压文件。可以选择多个文件或文件夹,将它们打包成一个 ZIP 文件,下载为一个 TAR 文件,或在确认后删除它们。编辑器会检测你在打开文件后所做的更改。备份在后台运行,进度涵盖世界保存、文件扫描和归档过程。你还可以按玩家名称管理操作员(operator)、封禁名单(ban list)和白名单(whitelist)的状态。
入门指南
- 将 JAR 文件安装到 已验证的 Paper 版本 上并启动服务器。经过测试的 Linux 文件系统提供了此面板所需的 secure directory(安全目录句柄)。默认的 Windows JDK 文件系统提供程序不支持该功能,因此插件会在 Windows 上拒绝启动。
- 在直接连接且
online-mode=true 的服务器上,拥有 notabackdoor.admin 权限的操作员会收到私人提醒,并可以运行 /nab 获取库存设置指南。该指南涵盖了面板访问、首次运行代码、浏览器设置以及连接检查。仅在浏览器中输入密码。
- 在离线模式服务器或 Velocity 后端上,请在服务器控制台中使用
nab setup 生成首次运行代码。游戏内指南仍会解释设置步骤并显示诊断信息,但无法在此处生成代码或更改访问权限。密码重置始终通过控制台进行。
- 面板默认在
http://127.0.0.1:8127 启动。如果你拥有 SSH 访问权限,请使用 ssh -L 8127:127.0.0.1:8127 user@your-server 进行端口转发,然后在你的电脑上打开 http://localhost:8127。
只有在确认警告并提供确切的 http://host:port 地址后,才能启用公共 HTTP 访问。纯 HTTP 协议会将密码、会话、命令和文件暴露给任何能够观察网络流量的人。 登录之后,面板将获得服务器的完全控制权。当需要私密连接时,请使用 localhost 或 SSH 隧道。浏览器连接检查仅证明打开其链接的浏览器成功连接到了面板。
实时备份覆盖的是 正在运行的服务器的进程文件夹,这是在 Paper 保存已加载的世界之后进行的。在复制过程中文件可能会发生变化,且存储在该文件夹之外的世界将被排除在外。为了获得严格一致的完整服务器备份,请停止 Paper 并使用主机商的快照或备份工具。
打包好的出站中继仍处于实验阶段,不属于本支持的配置的一部分。请参阅 README 以了解设置方法、限制条件以及精确 JAR 版本的测试证据。
NotABackdoor puts a practical server panel inside your Paper server. It is useful when your host's panel makes basic jobs harder than they need to be: checking what Paper actually logged, changing a config file, running a command, or taking a backup before an update.
The overview shows process CPU, TPS, milliseconds per tick, Java heap use, and online players. You can follow the last 60 seconds live or look back from one minute to one week. Minute-level history survives restarts. The console reads Minecraft's logs/latest.log, including startup and plugin messages, and lets you run commands as the server console.
In Files, you can browse, edit, upload, move, ZIP, and extract. Select multiple files or folders to create one ZIP, download one TAR, or delete them after reviewing the selection. The editor detects changes made after you opened a file. Backups run in the background with progress through world saving, file scanning, and archiving. You can also manage operator, ban, and whitelist state by player name.
Getting started
- Install the JAR on a verified Paper version and start the server. The tested Linux filesystem provides the secure directory handles this panel requires. The default Windows JDK filesystem provider does not, so the plugin refuses to start there.
- On a direct
online-mode=true server, an operator with notabackdoor.admin gets a private reminder and can run /nab for the inventory setup guide. It covers panel access, the first-run code, browser setup, and a connection check. Enter the password only in the browser.
- On an offline-mode server or Velocity backend, issue the first-run code with
nab setup in the server console. The in-game guide still explains the setup and shows diagnostics, but cannot issue codes or change access there. Password resets always use the console.
- The panel starts on
http://127.0.0.1:8127. With SSH access, forward it using ssh -L 8127:127.0.0.1:8127 user@your-server and open http://localhost:8127 on your computer.
Public HTTP can be enabled only after confirming the warning and supplying an exact http://host:port address. Plain HTTP exposes passwords, sessions, commands, and files to anyone who can observe network traffic. The panel grants full server authority after sign-in. Use localhost or an SSH tunnel when you need a private connection. The browser connection check proves only that the browser opening its link reached the panel.
A live backup covers the running server's process folder after Paper saves loaded worlds. Files may change during copying, and worlds stored outside that folder are excluded. For a strictly consistent full-server backup, stop Paper and use your host's snapshot or backup tool.
The packaged outbound relay remains experimental and is not part of this supported setup. See the README for setup, limits, and exact-JAR test evidence.
评论 0
登录后参与评分
还没有评论,来抢沙发吧