是否厌倦了仅仅为了启动、停止或重启托管在 Pterodactyl 上的游戏服务器,而频繁切换(Alt-Tab)到网页浏览器?PteroControl 就是解决方案!
这款强大的客户端实用模组将你的 Pterodactyl 面板无缝集成至 Minecraft 的多玩家列表界面,让你能在需要的地方直接获得必要的服务器控制功能。
请观看画廊中的简短视频以了解其功能。
✨ 主要功能
- 游戏内服务器控制: 在多玩家列表中为你的服务器条目直接添加启动、停止和重启按钮。
- 智能显示: 按钮仅在与可配置节点地址匹配的服务器上显示,保持服务器列表整洁。
- 动态状态: 这些按钮非常智能!它们会根据 Minecraft 中服务器的实时 Ping 状态(在线、离线或正在连接)自动启用或禁用,以防止误操作。
- 离线? 仅“启动”按钮处于激活状态。
- 在线? 仅“重启”和“停止”按钮处于激活状态。
- 正在连接? 所有按钮暂时禁用。
- 自动刷新: 发送指令后,按钮会暂时禁用,并在几秒后自动更新以反映服务器的新状态。
- 易于配置: 通过 Mod Menu 提供的简单游戏内设置屏幕,你可以在几秒钟内设置好 Pterodactyl 面板 URL、API 密钥和节点地址。
⚙️ 设置方法
- 安装该模组以及所有必需的依赖项(见下文)。
- 启动 Minecraft,并从主菜单进入模组菜单。
- 在列表中找到 PteroControl 并点击齿轮图标 (⚙️)。
- 输入你的 Pterodactyl 面板 URL(例如
https://panel.yourdomain.com)。
- 输入你的 客户端 API 密钥。这必须从面板上用户账户的“API 凭据”页面生成,通常以
ptlc_ 开头。
- 输入你服务器的节点地址(例如
node.yourdomain.com)。按钮仅会在与此地址匹配的服务器上出现。
- 点击保存,即可大功告成!
⚠️ 要求
本模组适用于 Fabric 加载器。需要安装以下模组:
? 许可证
PteroControl 采用 CC0-1.0 Universal 许可证。它属于公共领域,意味着你可以自由使用、修改和分发它。
Tired of alt-tabbing to a web browser just to start, stop, or restart your Pterodactyl-hosted game server? PteroControl is the solution!
This powerful, client-side utility mod seamlessly integrates your Pterodactyl panel directly into Minecraft's multiplayer screen, giving you essential server controls right where you need them.
Watch a short video about the features in the gallery.
✨ Key Features
- In-Game Server Controls: Adds Start, Stop, and Restart buttons directly to your server entries in the multiplayer list.
- Smart Display: Buttons only appear for servers that match the configurable node address, keeping your server list clean.
- Dynamic Status: The buttons are intelligent! They automatically enable or disable based on the server's live ping status in Minecraft (Online, Offline, or Pinging) to prevent mistakes.
- Offline? Only the "Start" button is active.
- Online? Only "Restart" and "Stop" are active.
- Pinging? All buttons are temporarily disabled.
- Automatic Refresh: After sending a command, the buttons will temporarily disable and then automatically update to reflect the server's new state after a few seconds.
- Easy Configuration: A simple in-game settings screen (via Mod Menu) lets you set up your Pterodactyl panel URL, API key, and node address in seconds.
⚙️ How to Set Up
- Install the mod and all required dependencies (see below).
- Launch Minecraft and go to the Mods menu from the main screen.
- Find PteroControl in the list and click the gear icon (⚙️).
- Enter your Pterodactyl Panel URL (e.g.,
https://panel.yourdomain.com).
- Enter your Client API Key. This must be generated from your user account's "API Credentials" page on the panel and usually starts with
ptlc_.
- Enter the Node Address of your servers (e.g.,
node.yourdomain.com). The buttons will only appear for servers matching this address.
- Click Save, and you're all set!
⚠️ Requirements
This mod is for the Fabric modloader. It requires the following mods to be installed:
? License
PteroControl is licensed under CC0-1.0 Universal. It is in the public domain, meaning you are free to use, modify, and distribute it as you see fit.
评论 0
登录后参与评分
还没有评论,来抢沙发吧