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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a31571ad5d141943ef619cdef0a10f114f4fe45d86d5f48c50a58fae7f06563f |
|
MD5 | 9a45f84594206d350bb14f29d8c904c2 |
|
BLAKE2b-256 | c6687478bd25ca81ecb039b2d5a76d29b931f147db7a042817d6b738569fca7b |
Close
Hashes for auto_build_minecraft-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e77fe37f78639d06cc59cfa561bd479fec2750157f8a7d0e2265d952f07b9ee |
|
MD5 | 433d24e700815bc93ee7e0cd3e2759ee |
|
BLAKE2b-256 | 66e58b669dda28b39ef162aaa3d45405e2d3a5d6b70fdeca2186cd7ef62095ae |