VelocityWakeUp 图标

VelocityWakeUp

作者:rebot | 分类:模组

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

Minecraft 版本: 26.1.2

平台: velocity

标签: technology utility

资源介绍

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 ```
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
OMORaft

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

查看详情
Better Potato

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

查看详情
Meka-PMMO

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

查看详情
Elytra Auto Jump

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

查看详情