Compatibility
Minecraft: Java Edition
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
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)
2.Copy or move the downloaded plugin file into the Velocity "plugins" folder
3.(Re)start the Velocity server
4.Done!
Configuration File
When you (re)start the Velocity server, a "HubCommandPlugin" folder will be generated in the "plugins" folder.
In the HubCommandPlugin folder, there is a config.toml file.
Open the config.toml file.
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.
Development environment: IntelliJ IDEA
日本語
このプラグインの概要
1510tyが作った、/hubコマンドを追加するVelocityプラグインです。
何が追加されるか
・/hub コマンドが追加されます。 設定: config.toml で設定されたサーバーにコマンドを実行したプレイヤーを転送します。
テスト環境
Velocity 3.4.0-SNAPSHOT 463 バックエンドサーバー: Paper 1.21.4 126
インストール方法
- プラグイン ファイル (.jar) をダウンロード
- ダウンロードしたプラグインファイルをVelocityの「plugins」フォルダーにコピーまたは移動
- Velocity サーバーを(再)起動
- 完了!
configについて
Velocityサーバーを(再)起動すると、「plugins」フォルダーに「HubCommandPlugin」フォルダーが生成されます。
HubCommandPluginフォルダー内に、"config.toml"ファイルがあります。
config.tomlファイルを開きます。
初期状態では、内容は次のようになっています。
hub-server = "hub"
たとえば、/hubを実行したした際に、"hubserver"というサーバーに転送したい場合は、
hub-server = "hubserver"
こんな感じです。 言語を変更することもできます。 (デフォルト: 英語)
language = "en"
日本語に変更するには
language = "ja"
みたいな感じです。
##その他
ソースコードはGithubで公開してあります。
開発環境: IntelliJ IDEA