
Forward commands from backend to proxy!
Forward commands from backend to proxy!
Very simple, download both Velocity and Paper plugin and upload to their designed servers (proxy/backend).
plugins folder./skin./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 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.
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.
Proxy server.
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}'
Java 17 and Paper plugin is Java 21.