VelocityCommandForward 图标

VelocityCommandForward

作者:rebot | 分类:模组

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

Minecraft 版本: 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2

平台: paper

标签: utility

资源介绍

VelocityCommandForward

Forward commands from backend to proxy!

✨ Features

  • Custom command.
  • Custom message.
  • Customize commands to be sent silently (without sending messages or console logs).
  • Players and console can execute proxy commands (sends a packet to the proxy to execute either as player or console).

? How to install? / Installation / Setup

Very simple, download both Velocity and Paper plugin and upload to their designed servers (proxy/backend).

  1. Turn off your proxy (Velocity) and backend (Paper) server.
  2. Download Velocity and Paper version plugin.
  3. Drop both plugin files (for your server version) into the plugins folder.
  4. Start your server.

? Notes

  • Configuration only generates for backend server!

❓ Use case for this?

  • My use case was very niche, I have a discord command that can run minecraft commands (if player is online) and
    the issue was that the discord bot was running on backend server, and so I decided to make a plugin to run proxy
    commands, such as /skin.
  • Another common use case is when you install the TAB plugin on Velocity and need to send commands from the backend server to the proxy server, such as /btab scoreboard to toggle TAB's scoreboard. While executing it manually works fine, if you use custom items from other plugins that are bound to this command, the command may fail to execute. In such cases, simply relying on this plugin's commands can resolve the issue of TAB commands not working.

?️ Command usage

Command name can be changed in the backend plugin configuration:

custom-command: proxyexec
command description permission
/proxyexec reload Used to reload plugin config. Changing custom-command requires a server restart. velocitycommandforward.admin (op)
/proxyexec <command> Forward commands to the proxy. Example: /proxyexec tab reload executes /tab reload on the proxy. velocitycommandforward.send

In the examples I changed the command to proxy, I didn't set it as default because I was worried that some other plugin could use this command already.

PixPin_2025-08-11_01-42-47

Executing in console

If you execute the command in the console, you won't get any output, and instead it's going to show up in the proxy server logs.
There must be at least one online player to be able to send command packet to the proxy (that's how plugin messaging channels work between backend and proxy).

Backend server.

PixPin_2025-08-11_01-43-40

Proxy server.

PixPin_2025-08-11_01-44-22

? Default configuration

Changing custom-command requires a server restart.

# VelocityCommandForward

# Command for forwarding commands to proxy.
# You need to restart the server for the changes to apply.
custom-command: proxyexec

# Here you can specify root commands that will not send log and message.
filtered-commands:
  - example_command

# {command} = The command that was sent by the sender
# {sender} = The player who sent the command
# If set to '', no message will be sent.
messages:
  reload: '&aPlugin messages and filters have been reloaded!'
  command-sent-as-player: '&2Command sent to proxy &7=> &a/{command}'
  command-sent-as-console: '&2Command sent as console to proxy &7=> &a/{command}'
  no-online-player: '&cThere must be at least 1 online player to be able to execute proxy console commands!'
  console-log: '[{sender}] Sending command packet to proxy => /{command}'
  velocity-log: '[{sender}] Received proxy command packet => /{command}'

✅ Requirements

  • Velocity plugin was built with Java 17 and Paper plugin is Java 21.
  • Compatible with versions 1.20.6 and above. Since the plugin uses Brigadier (added in 1.20.6) to build commands, servers running lower versions will encounter errors.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Small Crosshair

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

查看详情
Recoraled Reef

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

查看详情
MineMania

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

查看详情
Elegant Embellishments CIT pack

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

查看详情