This plugin adds the /leave , /lobby and /hub commands.
These are all settings:
Here the target server is set as from velocity.toml, to which the player is directed when one of the commands is executed.
Here you can set the servers on which the commands (/hub, /leave, /lobby) are disabled.
This setting exists three times for each of the three commands. It is set to true by default. If you set it to false, the specific command can also be used on the disabled servers.
- hideBlockedCommandsFromTabCompletion
Is set to false by default. If it is set to false, the command is still displayed. But if you then send it, an error message appears saying that the command was not found.
- rewriteCommandsOnBackendServers
If set to true (default), the setting "hideBlockedCommandsFromTabCompletion" must be set to false. If the player then executes /hub /lobby or /leave on one of the blocked servers, the command set (without "/") in the "rewriteCommand" setting is automatically executed (by the player).
Note: The “block” settings for the specific command do NOT need to be false for this to work.