HubCommandPlugin

Add the /hub command. When you run /hub, you will be taken to the server you set in the config.

448

HubCommandPlugin

HubCommandPlugin

日本語版は下の方にあります。

English

Overview of this Plugin

This is a Velocity plugin created by 1510ty that adds the /hub command.

what is added

・/hub command will be added. Action: A connection will be made to the server configured in config.toml.

Test environment

Velocity 3.4.0-SNAPSHOT 463.jar Backend server: Paper 1.21.4 126

How to install

1.Download the Plugin file (.jar)<br> 2.Copy or move the downloaded plugin file into the Velocity "plugins" folder<br> 3.(Re)start the Velocity server<br> 4.Done!<br>

Configuration File

When you (re)start the Velocity server, a "HubCommandPlugin" folder will be generated in the "plugins" folder.<br> In the HubCommandPlugin folder, there is a config.toml file.<br> Open the config.toml file.<br> In the initial state, the contents look like this. ``` hub-server = "hub" ``` For example: /server hubserver, then ``` hub-server = "hubserver". ``` It looks like this. You can also change the language. (default: English) ``` language = "en" ``` To change to Japanese ``` language = "ja" ``` It looks like this.

others

The source code is available on Github.<br> Development environment: IntelliJ IDEA

日本語

このプラグインの概要

1510tyが作った、/hubコマンドを追加するVelocityプラグインです。

何が追加されるか

・/hub コマンドが追加されます。 設定: config.toml で設定されたサーバーにコマンドを実行したプレイヤーを転送します。

テスト環境

Velocity 3.4.0-SNAPSHOT 463 バックエンドサーバー: Paper 1.21.4 126

インストール方法

1. プラグイン ファイル (.jar) をダウンロード<br> 2. ダウンロードしたプラグインファイルをVelocityの「plugins」フォルダーにコピーまたは移動<br> 3. Velocity サーバーを(再)起動<br> 4. 完了!<br>

configについて

Velocityサーバーを(再)起動すると、「plugins」フォルダーに「HubCommandPlugin」フォルダーが生成されます。<br> HubCommandPluginフォルダー内に、"config.toml"ファイルがあります。<br> config.tomlファイルを開きます。<br> 初期状態では、内容は次のようになっています。 ``` hub-server = "hub" ``` たとえば、/hubを実行したした際に、"hubserver"というサーバーに転送したい場合は、 ``` hub-server = "hubserver" ``` こんな感じです。 言語を変更することもできます。 (デフォルト: 英語) ``` language = "en" ``` 日本語に変更するには ``` language = "ja" ``` みたいな感じです。 ##その他 ソースコードはGithubで公開してあります。<br> 開発環境: IntelliJ IDEA

ADS