A Paper plugin that automatically stops your server when no one is on it.
日本語版は下へ!
Automatically shuts down a server if there are no players on it.
You can set how long the server will remain idle before closing.
Automatically stopping a server if there are no players.
When you (re)start the server, a "AdvertisingPlugin" folder will be generated in the "plugins" folder.
In the AdvertisingPlugin folder, there is a config.yml file.
Open the config.yml file.
In the initial state, the contents look like this.
stop-seconds: 60
[stop-seconds:] specifies how many seconds after a player leaves or after the server starts that the server should stop.
The source code is available on Github. Development environment: IntelliJ IDEA
サーバーにプレイヤーがいない場合に、自動的にサーバーを停止します。
プレイヤーがいなくなってからサーバーが閉じるまでの期間は、設定できます。
プレイヤーがいない場合のサーバーの自動停止。
サーバーを(再)起動すると、「plugins」フォルダ内に「AutoStopPlugin」フォルダが生成されます。
AutoStopPluginフォルダ内にconfig.ymlファイルがあります。
config.ymlファイルを開いてください。 初期状態では、内容は以下のようになっています。
stop-seconds: 60
[stop-seconds:]で、プレイヤーがいなくなってから/サーバーが起動してから、何秒後にサーバーを停止するか指定します。
ソースコードはGithubで公開してあります。 開発環境: IntelliJ IDEA