Git Product home page Git Product logo

minetest's Introduction

minetest

minetest の mod や worlds、サーバ設定などを保存するリポジトリ。

セットアップ

クライアントのインストール方法

Downloads ページ に従ってインストールを行う。

Mac OS の場合は /usr/local/opt/minetest/minetest.app にアプリケーションがインストールされる。

サーバのセットアップ方法

make deploy で k8s の現在のクラスタの minetest namespace にサーバがデプロイされる。

データディレクトリは compute-2 node の /data/minetest ディレクトリを利用する前提になっているので、 あらかじめノード上にディレクトリを作成して所有者を minetest ユーザ (30000) に変更しておく。

サーバの設定

サーバ設定は server/deployment/config.yml で定義される ConfigMap で管理している。 変更した場合はデプロイし直してサーバを再起動すると設定が反映される。

mods のインストール

サーバの /var/lib/minetest/.minetest/mods ディレクトリに mods のディレクトリを入れると mods を利用できるようになる。 mods の有効化は /var/lib/minetest/.minetest/worlds/world/world.mt を編集して load_mod_* の該当の行を true に書き換えてサーバを再起動する。

サーバ上で直接編集できない場合は手元にファイルをコピーして書き換えた後、書き戻すとよい。

kubectl cp $(pod名):/var/lib/minetest/.minetest/worlds/world/world.mt world.mt
kubectl cp world.mt $(pod名):/var/lib/minetest/.minetest/worlds/world/world.mt

games のインストール

サーバの /var/lib/minetest/.minetest/games ディレクトリに games のディレクトリを入れると追加した games を利用できるようになる。 起動するゲームは server/deployment/deploy.yml の command で指定する。

その他

データフォルダ

Mac OS の場合は以下のディレクトリにデータが格納される。

~/Library/Application Support/minetest

minetest's People

Contributors

gymnasty avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.