PterodactylPowerAction
一款节省资源的 Velocity 插件,通过按需启动 Minecraft 服务器并在空闲时自动关闭它们来管理你的服务器,支持使用 Pterodactyl API 或 shell 命令。
⚠️ 重要提示:
由于我目前不再在生产环境中使用本项目,因此对该项目的支持有限。
社区与支持
如果你有任何问题或建议,请加入 Discord 服务器!
✨ 主要功能
-
? 节能与资源节省 - 在可配置的空闲时间后(默认:1 小时)自动关闭空载服务器
-
? 按需启动服务器 - 仅在玩家需要时才启动服务器,优化资源使用
-
? 无缝的玩家体验:
- 在启动期间将玩家重定向到轻量级的等待服务器
- 当目标服务器准备就绪时自动转移玩家
- 在整个过程中通过状态消息保持玩家知情
-
?️ 踢出保护 - 可选地将被踢出的玩家重定向到你的等待服务器,而不是直接断开连接
-
? 灵活的实现方式:
- 适用于托管环境的 Pterodactyl Panel API
- 支持自托管环境下的直接 shell 命令
-
⚙️ 高度可配置:
- 自定义关机延迟
- 多种服务器状态检查方法
- 代理重启时的可配置关机行为
-
? 多语言支持 - 根据客户端语言自动翻译消息(英语、德语、法语)
-
? 诊断工具 - 内置 doctor 命令用于验证配置和排查问题
工作原理
当玩家尝试连接到已停止的服务器时,他们会被临时发送到你的等待服务器,同时 PterodactylPowerAction 会启动他们所请求的目标服务器。一旦服务器准备就绪,玩家将被自动转移。该插件监控玩家活动,并智能地关闭空载服务器以节省资源。
光影为 Photon。
文档
文档可在 此 GitHub 仓库的 wiki 上查看。
PterodactylPowerAction
A resource-saving Velocity plugin that automatically manages your Minecraft servers by starting them on demand and
shutting them down when idle, using either the Pterodactyl API or shell commands.
⚠️ Important:
Support for this project is limited as I don't use it in production anymore.
Community & Support
If you have any questions or suggestions, join the Discord server!
✨ Key Features
-
? Energy & Resource Saving - Automatically shuts down empty servers after a configurable idle period (default: 1
hour)
-
? On-Demand Server Startup - Starts servers only when players need them, optimizing resource usage
-
? Seamless Player Experience:
- Redirects players to a lightweight waiting server during startup
- Automatically transfers players when their destination server is ready
- Keeps players informed with status messages throughout the process
-
?️ Kick Protection - Optionally redirects kicked players to your waiting server instead of disconnecting them
-
? Flexible Implementation:
- Works with Pterodactyl Panel API for managed hosting
- Supports direct shell commands for self-hosted environments
-
⚙️ Highly Configurable:
- Customizable shutdown delay
- Multiple server status checking methods
- Configurable shutdown behavior on proxy restart
-
? Multilingual Support - Automatically translates messages based on the client's language (English, German,
French)
-
? Diagnostic Tools - Built-in doctor command to validate your configuration and troubleshoot issues
How it Works
When a player tries to connect to a stopped server, they're temporarily sent to your waiting server while
PterodactylPowerAction starts their requested destination. Once the server is ready, they're automatically transferred.
The plugin monitors player activity and intelligently shuts down empty servers to save resources.
Shader is Photon.
Documentation
The documentation is available on the wiki of this GitHub repository.
评论 0
登录后参与评分
还没有评论,来抢沙发吧