No project description provided
Project description
マイクラサーバー自動ビルドツール
バージョン情報
以下のバージョンで実行可能です。
Python 3.7.3
ansible [core 2.14.4]
インストール
以下のコマンドでインストールできます。
pip install auto-build-minecraft
セットアップ
ansible 実行環境
GCP 用の Ansible プラグインをインストールします。
pip install google-auth google-auth-oauthlib google-auth-httplib2 google-cloud-sdk
Ansible のコレクションをインストールします。
ansible-galaxy collection install google.cloud
GCP の認証
GCP のサービスアカウントを作成し、サービスアカウントの認証ファイルをコマンド実行ディレクトリに入れます。
設定ファイル
コマンド実行ディレクトリに msab.yml
ファイルを作成し、以下のパラメータを記述してください。
project_name: example
hostname: survival-map
user_name: nerianighthawk
zone: asia-northeast1-b
実行
以下で実行できます。
msab {exec_type}
コマンド実行時の exec_type
には以下を参考に指定してください。
create
の場合、サーバーの構築とインスタンスの作成を行うstop
の場合、サーバーとインスタンスの停止を行うstart
の場合、サーバーとインスタンスの起動を行うdelete
の場合、サーバーとインスタンスの削除を行うdownload
の場合、サーバーからワールドデータのダウンロードを行う
開発者向け
以下のコマンドで、ローカルのソースコードを実行コマンドとして登録できます。
pip install -e .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for auto_build_minecraft-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 070456c00e634ea4253a44194961dfb7d482c87a39ea8db293385b87e65d4aba |
|
MD5 | e94c459fbfdd4fa5173e10cd8e5f8e23 |
|
BLAKE2b-256 | 54f517f2346339b0f10a44ad9953b199b52c9bb5ce589868534f9b5d5b4fd059 |
Close
Hashes for auto_build_minecraft-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6130c864b477c386b6171f2d56ee2e0fd2f48358d171bcb80bfb4f89d462d68 |
|
MD5 | 21f62db1d90e937ceadd6be1480cbb56 |
|
BLAKE2b-256 | 27ede9412ae696495ee2b3dea31162f57c15fd7e44505f1511af8ca3881b1c95 |