▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/VelocityWakeUp
VelocityWakeUp

VelocityWakeUp

Automatically starts your backend servers when a player tries to connect

Оцените первым
30
1

VelocityWakeUp

EN: Automatically starts your backend servers when a player tries to connect - no more manual startups. Inspired by ServerAlarmClock by silvervoid. Since the original only supports Bungeecord, this plugin brings the same idea natively to Velocity.

Works great alongside ServerSleepingPill - let it put servers to sleep, and VelocityWakeUp will wake them back up on demand.

How it works: When a player connects to an offline server, the plugin creates a flag file. Your startup script detects it and launches the server. Once it's online, the player is connected automatically.

RU: Автоматически запускает ваши бэкенд-серверы, когда игрок пытается подключиться - больше не нужно запускать их вручную. Создан по мотивам ServerAlarmClock от silvervoid. Поскольку оригинал поддерживает только Bungeecord, этот плагин реализует ту же идею непосредственно в Velocity.

Отлично работает в сочетании с ServerSleepingPill - пусть он переводит серверы в спящий режим, а VelocityWakeUp разбудит их по требованию.

Как это работает: Когда игрок подключается к офлайн-серверу, плагин создает файл-флаг. Ваш скрипт запуска обнаруживает его и запускает сервер. Как только сервер становится онлайн, игрок подключается автоматически.

Made with claude.ai

Command to restart your config
/wakeup reload
config.yml
# VelocityWakeUp v1.1.1
# Automatically starts backend servers when a player tries to connect.
#
# The key under 'servers' must exactly match the server name in velocity.toml.
#
# flag-file: path to a file your startup script monitors.
#   The plugin CREATES this file when a player connects to an offline server.
#   Your script detects it, starts the server, then the plugin connects the player.

messages:
  starting: "&eThe server is waking up, please wait..."
  failed:   "&cCould not signal server start. Contact an admin."
  timeout:  "&cServer took too long to start. Try again later."
  # Message shown when player successfully cancels the wait
  cancelled: "&aYou have cancelled waiting for the server."
  # Text of the clickable [Cancel] button appended to the starting message
  # Supports & color codes
  cancel-button: "&c[Cancel]"
  # Hover tooltip shown on the cancel button
  cancel-button-hover: "&7Click to cancel waiting and return to the hub."

timing:
  startup-timeout-seconds: 60
  message-interval-seconds: 5

cancel:
  # Whether the cancel button is shown at all
  enabled: true
  # Command executed when the player clicks the cancel button.
  # Use {player} placeholder for the player's name.
  # Leave empty ("") to run no command.
  # Examples:
  #   "server hub"        — send player to hub (runs as player via /server)
  #   "kick {player} Cancelled waiting" — kick via console command
  #   "warp spawn"        — run any proxy/backend command as the player
  command: "server hub"
  # Who runs the command:
  # "player"  — Velocity proxy executes the command on behalf of the player.
  #             Use this for PROXY-level commands (e.g. "server hub").
  # "console" — Velocity proxy console executes the command.
  #             Use this for proxy console commands (e.g. "kick {player} ...").
  # "backend" — The command is sent to the backend server where the player
  #             currently is, as if the player typed it in chat.
  #             Use this for BACKEND (Paper/Spigot/etc.) commands (e.g. "restorepack", "spawn").
  executor: "player"

servers:
  # Example — replace with your actual server name from velocity.toml
  survival:
    flag-file: "D:/mc/survival/start.flag"
start command example
@echo off
chcp 65001 > nul
set FLAG_FILE=C:\YOUR DIRECTORY HERE\start.flag

cd /d C:\YOUR DIRECTORY HERE

:loop
if exist "%FLAG_FILE%" (
    del /f "%FLAG_FILE%"
    STARTUP COMMAND HERE
)
ping -n 3 127.0.0.1 > nul
goto loop

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.1.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:
Опубликован:3 недели назад
Обновлён:2 недели назад
Главная