Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_Vf3pK86j.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
AutoRoutine - 墨喵 Minecraft 资源
AutoRoutine 图标

AutoRoutine

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/autoroutine
资源信息

Minecraft 版本: 1.21.10

平台: paper purpur

资源介绍

AutoRoutine

AutoRoutine is a Minecraft server plugin that automates server restarts on a fixed schedule or at a manually planned time.
It helps keep your server stable by regularly restarting it while clearly notifying players in advance.

The plugin provides multiple notification methods (bossbar, actionbar), sound alerts, and full HEX color support for message customization.

Features

  • Automatic scheduled server restarts (24h format)

  • Manual restart planning via command

  • Countdown before restart

  • Bossbar and actionbar notifications

  • Sound notifications at different restart stages

  • HEX color support (#RRGGBB)

  • Fully configurable via config.yml

Commands

/autoroutine reload — reloads the plugin configuration.

/autoroutine plan <time> — plans a server restart at a specific time.
Example: /autoroutine plan 09:50

Permissions

autoroutine.reload — allows reloading the config

autoroutine.plan — allows planning restarts

Configuration Example

# AutoRoutine Configuration
# Plugin for automatic server restarts

# Times for server restart (24-hour format)
restart-times:
  - "00:00"
  - "06:00"
  - "12:00"
  - "18:00"

# Commands to execute on restart
# You can use the 'sleep' command to add delays between commands (e.g., "sleep 5" for 5 seconds)
restart-commands:
  - "say Server is restarting!"
  - "sleep 5"
  - "kickall &cServer restart"

# Countdown start time (minutes before restart)
countdown-start-minutes: 30

# Notifications
notifications:
  bossbar:
    enabled: true
    text: "#C7A3D1Server restart in #FFFF55%time%"
    # Available colors: PINK, BLUE, RED, GREEN, YELLOW, PURPLE, WHITE
    # Available styles: SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20
    # You can also use HEX colors in the text (e.g., #FF5555)
    color: "WHITE"
    style: "SEGMENTED_20"
  actionbar:
    enabled: true
    text: "#C7A3D1Restart in #FFFF55%time%"
  chat:
    enabled: true
    text: "#FF5555Server will restart in #FFFF55%time%"
    interval-minutes: 10

# Messages
messages:
  usage: "#FF5555Usage: /autoroutine reload|plan <time>"
  usage-example: "#AAAAAAExample: /autoroutine plan 9:50"
  plan-usage: "#FF5555Usage: /autoroutine plan <time>"
  plan-usage-example: "#AAAAAAExample: /autoroutine plan 9:50 or /autoroutine plan 09:50"
  restart-planned: "#55FF55Restart planned for %time%"
  no-permission-reload: "#FF5555You don't have permission to reload the config!"
  no-permission-plan: "#FF5555You don't have permission to plan a restart!"
  config-reloaded: "#C7A3D1AutoRoutine config reloaded!"

# Sounds
sounds:
  start:
    sound: "ENTITY_EXPERIENCE_ORB_PICKUP"
    enabled: true
  notify:
    sound: "BLOCK_NOTE_BLOCK_PLING"
    enabled: true
  ten-seconds:
    sound: "ENTITY_PLAYER_LEVELUP"
    enabled: true
  restart:
    sound: "ENTITY_ENDER_DRAGON_GROWL"
    enabled: true
  volume: 1.0
  pitch: 1.0
下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
HidePlugins

价格:0 墨喵币
下载量:0

查看详情
ShulkerLocator

价格:0 墨喵币
下载量:0

查看详情
Seed Packages

价格:0 墨喵币
下载量:0

查看详情
Trivia

价格:0 墨喵币
下载量:0

查看详情