PteroBackupRestorer
PteroBackupRestorer 是一款 Minecraft Velocity 插件,允许服务器管理员通过 Pterodactyl API 恢复其网络中特定或所有服务器的备份。该插件提供了一种直接从游戏内或控制台管理服务器备份的简便高效方式。
如需更多帮助,请在 Discord 上联系我,我的用户名是 Terrorhelmut
功能
- 已测试的 Minecraft 版本: 1.21
- 恢复特定或全部服务器: 使用
/pbackuprestore <server-name/all> 命令来恢复插件中配置的单个服务器或所有服务器的备份。
- 可配置的权限: 分配权限以控制哪些用户可以为不同服务器恢复备份,确保操作的安全性和授权性。
- 详细反馈: 接收来自游戏内或控制台的确认消息,告知备份是否成功恢复,并提供清晰的成功与错误通知。
- 可自定义的配置: 在
config.yml 文件中轻松配置多个服务器 ID、备份 ID 及相关权限,以便根据你网络的需求定制插件。
- Pterodactyl API 集成: 无缝集成到 Pterodactyl 面板,利用其 API 高效地管理和恢复服务器备份。
- 调试模式: 在配置中启用调试模式,可在命令执行期间获取详细的日志和信息,有助于故障排除和监控。
配置
如果不存在,插件会自动生成一个 config.yml 文件。你可以在该文件中指定你的 Pterodactyl API 密钥、基础 URL,并配置你要管理的服务器和备份。
apiKey: your-api-key-here
baseUrl: https://your-pterodactyl-instance.com
debug: false
servers:
example-server1:
backupId: example-backup1-id
permission: pbackuprestore.example-server1
serverId: example-server1-id
example-server2:
backupId: example-backup2-id
permission: pbackuprestore.example-server2
serverId: example-server2-id
# 根据需要添加更多服务器
要求
- Java 版本: 17
- Pterodactyl Panel: 一个具有 API 访问权限且正常运行的 Pterodactyl 实例。
安装
- 下载该插件的最新发行版。
- 将 JAR 文件放入你的
plugins 目录。
- 启动你的 Velocity 代理以生成
config.yml。
- 编辑
config.yml 以包含你的 Pterodactyl API 详细信息和服务器配置。
- 重新加载或重启你的代理以应用更改。
用法
- 要恢复特定服务器,请使用命令:
/pbackuprestore <server-name>
- 要恢复所有已配置服务器的备份,请使用命令:
/pbackuprestore all
PteroBackupRestorer
PteroBackupRestorer is a Minecraft Velocity plugin that allows server administrators to restore backups for specific or all servers within their network using the Pterodactyl API. This plugin provides a streamlined and efficient way to manage server backups directly from the game or console.
For further help contact me on discord my username is Terrorhelmut
Features
- Tested Minecraft Version: 1.21
- Restore Specific or All Servers: Use the
/pbackuprestore <server-name/all> command to restore backups for individual servers or all servers configured in the plugin.
- Configurable Permissions: Assign permissions to control which users can restore backups for different servers, ensuring secure and authorized operations.
- Detailed Feedback: Receive in-game or console messages confirming whether a backup was successfully restored, with clear success and error notifications.
- Customizable Configuration: Easily configure multiple server IDs, backup IDs, and associated permissions in the
config.yml file to tailor the plugin to your network’s needs.
- Pterodactyl API Integration: Seamlessly integrates with the Pterodactyl panel, leveraging its API to manage and restore server backups efficiently.
- Debug Mode: Enable debug mode in the configuration to get detailed logs and information during command execution, helping in troubleshooting and monitoring.
Configuration
The plugin automatically generates a config.yml file if it doesn't exist. This file is where you specify your Pterodactyl API key, base URL, and configure the servers and backups you want to manage.
apiKey: your-api-key-here
baseUrl: https://your-pterodactyl-instance.com
debug: false
servers:
example-server1:
backupId: example-backup1-id
permission: pbackuprestore.example-server1
serverId: example-server1-id
example-server2:
backupId: example-backup2-id
permission: pbackuprestore.example-server2
serverId: example-server2-id
# Add more servers as needed
Requirements
- Java Version: 17
- Pterodactyl Panel: A working Pterodactyl instance with API access.
Installation
- Download the latest release of the plugin.
- Place the JAR file in your
plugins directory.
- Start your Velocity proxy to generate the
config.yml.
- Edit the
config.yml to include your Pterodactyl API details and server configurations.
- Reload or restart your proxy to apply the changes.
Usage
- To restore a specific server, use the command:
/pbackuprestore <server-name>
- To restore backups for all configured servers, use the command:
/pbackuprestore all
评论 0
登录后参与评分
还没有评论,来抢沙发吧