個人的に利用しているBatファイルとシェルスクリプトの置き場です。Windows環境とLinux環境で利用するスクリプトを管理しています。
- 言語: Batch script, Bash shell script
- 対応OS: Windows 11, Ubuntu
Windows版(Batファイル)
- Windows 11環境
Linux版(Shファイル)
- Ubuntu環境
- bash のインストール
git clone https://github.com/rainbow0210/bat-and-sh-files.git
cd bat-and-sh-files各スクリプトファイルは対応するディレクトリに配置されています。
- Batファイル:
bat files/ディレクトリ内のファイルをコマンドプロンプトで実行 - Shファイル:
sh files/ディレクトリ内のファイルをbashで実行
ディレクトリ1から15までを一括作成するスクリプトです。
mkdir.batMinecraftサーバーの自動起動・停止を行うシェルスクリプトです。サーバーの管理を自動化することができます。
start.sh- サーバーを起動stop.sh- サーバーを停止
詳細については、以下のリファレンスサイトを参照してください。
Minecraft サーバー管理スクリプト参考資料
各スクリプトは、使用環境に応じてカスタマイズが必要な場合があります。スクリプトファイルの先頭や設定セクションに記載されたコメントを参照し、必要なパスやパラメータを変更してください。
A personal repository of Batch files and shell scripts used in different environments. This repository manages scripts for Windows and Linux environments.
- Languages: Batch script, Bash shell script
- Supported OS: Windows 11, Ubuntu
Windows Version (Batch files)
- Windows 11 environment
Linux Version (Shell scripts)
- Ubuntu environment
- bash installed
git clone https://github.com/rainbow0210/bat-and-sh-files.git
cd bat-and-sh-filesEach script file is placed in its corresponding directory.
- Batch files: Execute files in the
bat files/directory from Command Prompt - Shell scripts: Execute files in the
sh files/directory with bash
A script that creates directories numbered 1 through 15 in batch.
mkdir.batShell scripts for automated start and stop operations of a Minecraft server. Enables automated server management.
start.sh- Start the serverstop.sh- Stop the server
Please refer to the reference site below for more details.
Minecraft Server Management Script References
Some scripts may require customization depending on your environment. Please refer to the comments at the beginning of the script files or in the configuration sections and modify necessary paths and parameters as needed.