ServerSleepingPill 插件
描述:
厌倦了在没有人在线时还要让 Minecraft 服务器一直运行? ServerSleepingPill 插件确保在服务器空闲时让它“入睡”。配置不活动超时时间,当没有玩家在线时,该插件会自动关闭你的服务器,从而节省资源和能源。
功能:
- 可配置的不活动超时时间。
- 服务器空闲时自动关机。
- 如果在超时前有玩家加入,则取消关机操作。
- 使用 ServerAlarmClock 在玩家尝试加入时启动服务器!
工作原理:
- 在
config.yml中设置所需的空闲时间。 - 插件监控玩家活动。
- 如果配置的时长内没有玩家在线,服务器将关闭。
- 玩家加入会取消任何待处理的关机任务。
使用 ServerSleepingPill,让你的服务器既高效又环保!
ServerSleepingPill Plugin
Description:
Tired of leaving your Minecraft server running when no one's online? The ServerSleepingPill plugin ensures your server goes to sleep when it's idle. Configure the inactivity timeout, and when no players are around, the plugin will automatically shut down your server, saving resources and energy.
Features:
- Configurable inactivity timeout.
- Automatically shuts down the server when idle.
- Cancels shutdown if players join before the timeout.
- Use ServerAlarmClock to start server when player try to join!
How It Works:
- Set your desired idle time in the
config.yml. - The plugin monitors player activity.
- If no players are online for the configured time, the server shuts down.
- Player joins will cancel any pending shutdown tasks.
Keep your server efficient and eco-friendly with ServerSleepingPill!
下载 ServerSleepingPill
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ServerSleepingPill
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ServerSleepingPill
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ServerSleepingPill
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ServerSleepingPill
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
重写插件配置
如果你更新了你的插件,你应该删除旧的配置文件。
# 如果玩家数量少于最低玩家数,服务器将停止运行
minimum-player: 1
idle-times:
# 当最后一名玩家离开且未达到最低玩家数时开始倒计时。
# 如果在倒计时期间没有玩家加入,服务器将关闭。
player-quit: 20
startup:
# 服务器启动后,如果在线玩家数量未达到最低要求,会在开始倒计时前等待一段时间。
online-wait: 20
# 如果倒计时结束且仍未达到最低玩家数,服务器将关闭。
countdown: 60
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧