Skip to content

Commit 634c5da

Browse files
committed
Update README.md with new features and statistics data
1 parent a2e44e0 commit 634c5da

File tree

3 files changed

+43
-7
lines changed

3 files changed

+43
-7
lines changed

README.md

+21-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# BungeePteroPower
22
![LogoArt](https://github.com/Kamesuta/BungeePteroPower/assets/16362824/e8914f79-806b-436c-a0e6-e4eaf8ad5eca)
3-
[![Spigotmc Available](https://img.shields.io/badge/Spigotmc-Download-green)](https://www.spigotmc.org/resources/%E2%9A%A1-bungeepteropower-%E2%9A%A1-start-stop-servers-when-player-join-leave.114883/)
4-
[![JitPack](https://jitpack.io/v/Kamesuta/BungeePteroPower.svg)](https://jitpack.io/#Kamesuta/BungeePteroPower)
3+
[![License: MIT](https://img.shields.io/github/license/Kamesuta/BungeePteroPower?label=License)](LICENSE)
4+
[![Spigotmc Version](https://img.shields.io/spiget/version/114883?logo=spigotmc&label=Spigotmc%20Version)](https://www.spigotmc.org/resources/%E2%9A%A1-bungeepteropower-%E2%9A%A1-start-stop-servers-when-player-join-leave.114883/)
5+
[![JitPack](https://img.shields.io/jitpack/version/com.github.Kamesuta/BungeePteroPower?logo=jitpack&label=JitPack)](https://jitpack.io/#Kamesuta/BungeePteroPower)
6+
[![Spigotmc Downloads](https://img.shields.io/spiget/downloads/114883?logo=spigotmc&label=Spigotmc%20Downloads)](https://www.spigotmc.org/resources/%E2%9A%A1-bungeepteropower-%E2%9A%A1-start-stop-servers-when-player-join-leave.114883/)
7+
[![bStats Servers](https://img.shields.io/bstats/servers/20917?label=bStats%20Servers)](https://bstats.org/plugin/bungeecord/BungeePteroPower/20917)
58

69
BungeePteroPower is a plugin that can automatically start/stop servers based on the number of players.
710
It can start and stop servers on the [Pterodactyl panel](https://pterodactyl.io/) when players join or leave the Bungeecord proxy server.
@@ -139,6 +142,9 @@ The `config.yml` file includes the following settings, but not all items need to
139142
- `timeout`: Set the maximum waiting time for players to join after server startup.
140143
- Set this value to the maximum time it takes for the server to start.
141144
- Setting it to 0 disables this feature, and players will not automatically join after startup.
145+
- `joinDelay`: Once the server is pingable, wait the specified amount of seconds before sending the player to the server
146+
- This is useful to wait for plugins like Luckperms to fully load
147+
- If you set it to 0, the player will be connected as soon as the server is pingable
142148
- `pingInterval`: Set the interval for checking the server's status.
143149
- `servers`: Configure settings for each server. Set the server ID and the time until automatic shutdown.
144150
- `timeout`: When there are no players on the server, it will stop after a certain period. The unit is seconds.
@@ -158,7 +164,11 @@ BungeePteroPower plugin allows fine-grained control over commands available to p
158164

159165
### About Language Files
160166

161-
- Upon startup, a file for the language set in `config.yml` will be generated.
167+
- You can set the language in config.yml using the language option.
168+
- Please refer to the comments in the config file for the supported languages.
169+
- Upon startup, a file for the language set in config.yml will be generated.
170+
- This file allows you to define only the messages you want to change.
171+
- Messages that are not defined will be loaded from the language file set within the plugin.
162172
- You can edit and then reload the plugin's language by using the `/ptero reload` command.
163173
- Contributions via Pull Requests for additional language files are welcome.
164174

@@ -233,3 +243,11 @@ mvn install
233243
```
234244
- This plugin needs to be built with Java 11 or higher.
235245
- After building, a `BungeePteroPower-<version>.jar` file will be generated in the `target` directory.
246+
247+
## About Statistics Data
248+
249+
BungeePteroPower collects anonymous statistical data using [bStats](https://bstats.org/).
250+
You can find the statistics data [here](https://bstats.org/plugin/bungeecord/BungeePteroPower/20917).
251+
252+
bStats is used to understand the usage of the plugin and help improve it.
253+
To disable the collection of statistical data, please set `enabled` to `false` in `plugins/bStats/config.yml`

README_ja.md

+21-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# BungeePteroPower
22
![LogoArt](https://github.com/Kamesuta/BungeePteroPower/assets/16362824/e8914f79-806b-436c-a0e6-e4eaf8ad5eca)
3-
[![Spigotmc Available](https://img.shields.io/badge/Spigotmc-ダウンロード-green)](https://www.spigotmc.org/resources/%E2%9A%A1-bungeepteropower-%E2%9A%A1-start-stop-servers-when-player-join-leave.114883/)
4-
[![JitPack](https://jitpack.io/v/Kamesuta/BungeePteroPower.svg)](https://jitpack.io/#Kamesuta/BungeePteroPower)
3+
[![License: MIT](https://img.shields.io/github/license/Kamesuta/BungeePteroPower?label=License)](LICENSE)
4+
[![Spigotmc Version](https://img.shields.io/spiget/version/114883?logo=spigotmc&label=Spigotmc%20Version)](https://www.spigotmc.org/resources/%E2%9A%A1-bungeepteropower-%E2%9A%A1-start-stop-servers-when-player-join-leave.114883/)
5+
[![JitPack](https://img.shields.io/jitpack/version/com.github.Kamesuta/BungeePteroPower?logo=jitpack&label=JitPack)](https://jitpack.io/#Kamesuta/BungeePteroPower)
6+
[![Spigotmc Downloads](https://img.shields.io/spiget/downloads/114883?logo=spigotmc&label=Spigotmc%20Downloads)](https://www.spigotmc.org/resources/%E2%9A%A1-bungeepteropower-%E2%9A%A1-start-stop-servers-when-player-join-leave.114883/)
7+
[![bStats Servers](https://img.shields.io/bstats/servers/20917?label=bStats%20Servers)](https://bstats.org/plugin/bungeecord/BungeePteroPower/20917)
58

69
BungeePteroPowerは、サーバーの人数に応じてサーバーを自動的に起動/終了することができるプラグインです。
710
プレイヤーがBungeecordプロキシサーバーに参加または退出したときに、[Pterodactylパネル](https://pterodactyl.io/)上のサーバーを起動および停止することができます。
@@ -139,6 +142,9 @@ https://github.com/Kamesuta/BungeePteroPower/assets/16362824/019fdfc5-f0fc-4532-
139142
- `timeout`: サーバー起動後、プレイヤーが参加するまでの最大待機時間を設定します。
140143
- この値をサーバーが起動するまでの最大時間を設定してください。
141144
- 0に設定すると、この機能はOFFになり、起動後にプレイヤーが自動参加することはなくなります。
145+
- `joinDelay`: サーバーがping可能になった後、プレイヤーをサーバーに送る前に指定した秒数待機します。
146+
- この遅延はLuckpermsなどのプラグインが完全に読み込まれるのを待つために役立ちます。
147+
- 0に設定すると、サーバーがping可能になるとすぐにプレイヤーが接続されます。
142148
- `pingInterval`: サーバーのステータスをチェックする間隔を設定します。
143149
- `servers`: サーバーごとの設定を行います。サーバーIDと自動停止までの時間を設定します。
144150
- `timeout`: サーバーからプレイヤーがいなくなった際、一定時間プレイヤーがいない場合にサーバーを停止します。単位は秒です。
@@ -158,7 +164,11 @@ BungeePteroPowerプラグインでは、パーミッションを使用して、
158164

159165
### 言語ファイルについて
160166

161-
- 起動すると、`config.yml`の `language` で設定した言語のファイルが生成されます。
167+
- `config.yml`の `language` で言語を設定できます。
168+
- 対応している言語は[コンフィグ内のコメント](./src/main/resources/config.yml)を参照してください。
169+
- 起動すると、コンフィグで設定した言語のファイルが生成されます。
170+
- このファイルには、変更したいメッセージのみを定義することができます。
171+
- 定義されていないメッセージはプラグイン内部の設定した言語ファイルから読み込まれます。
162172
- 編集してから `/ptero reload` コマンドで再読み込みすることで、プラグインの言語を変更できます。
163173
- Pull Requestで言語ファイルを追加していただけると嬉しいです。
164174

@@ -233,3 +243,11 @@ mvn install
233243
```
234244
- このプラグインは、Java 11 以上でビルドする必要があります。
235245
- ビルド後、`target` ディレクトリに `BungeePteroPower-<バージョン>.jar` ファイルが生成されます。
246+
247+
## 統計データについて
248+
249+
BungeePteroPowerは、[bStats](https://bstats.org/)を使用して匿名の統計データを収集しています。
250+
統計データは[こちら](https://bstats.org/plugin/bungeecord/BungeePteroPower/20917)。
251+
252+
bStatsは、プラグインの使用状況を把握するために使用され、プラグインの改善に役立てられます。
253+
統計データの収集を無効にするには、`plugins/bStats/config.yml`の `enabled` を `false` に設定してください。

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.kamesuta</groupId>
88
<artifactId>BungeePteroPower</artifactId>
9-
<version>1.2-SNAPSHOT</version>
9+
<version>1.3-SNAPSHOT</version>
1010
<packaging>jar</packaging>
1111

1212
<name>BungeePteroPower</name>

0 commit comments

Comments
 (0)