Giter Site home page Giter Site logo

minecraft-launcher's Introduction

launcher

Установка и запуск

  • docker-compose run node npm install && docker-compose run node npm run build установить зависимости и собрать приложение
  • docker-compose run node npm start запустить приложение

Сборка

  • docker-compose run node npm run package сборка под все платформы
  • docker-compose run node npm run package-windows сборка под Windows
  • docker-compose run node npm run package-linux сборка под Linux
  • docker-compose run node npm run package-mac сборка под Mac

API версий

Существует три типа версий (поле type):

  • ванильная (0)
  • сервер без собственного клиента (1)
  • сервер с собственным клиентом (2)

Пример ответа:

[
    {
        "id": 1,
        "isActive": true,
        "name": "1.13.2",
        "slug": "1.13.2",
        "type": 0,
        "clientUrl": "http://5-187-10790-3.b.cdn12.com/versions/1.13.2",
        "version": null,
        "arguments": {
            "game": [],
            "jvm": []
        }
    },
    {
        "id": 2,
        "isActive": false,
        "name": "Lotmine",
        "slug": "lotmine",
        "type": 2,
        "clientUrl": "https://google.com",
        "version": null,
        "arguments": {
            "game": [],
            "jvm": []
        }
    },
    {
        "id": 3,
        "isActive": false,
        "name": "ForsCraft МиниИгры 1.8-1.12.2",
        "slug": "forscraft",
        "type": 1,
        "clientUrl": null,
        "version": {
            "id": 1,
            "isActive": true,
            "name": "1.13.2",
            "slug": "1.13.2",
            "type": 0,
            "clientUrl": "https://google.com",
            "version": null,
            "arguments": {
                "game": [],
                "jvm": []
            }
        },
        "arguments": {
            "game": [],
            "jvm": []
        }
    },
    {
        "id": 4,
        "isActive": true,
        "name": "MineLegacy 1.8-1.13.2 Survival",
        "slug": "minelegacy",
        "type": 1,
        "clientUrl": null,
        "version": {
            "id": 1,
            "isActive": true,
            "name": "1.13.2",
            "slug": "1.13.2",
            "type": 0,
            "clientUrl": "https://google.com",
            "version": null,
            "arguments": {
                "game": [],
                "jvm": []
            }
        },
        "arguments": {
            "game": [],
            "jvm": []
        }
    }
]

Notes

https://wiki.vg/Game_files https://launchermeta.mojang.com/mc/game/version_manifest.json

minecraft-launcher's People

Contributors

ek0t0v avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

i-are-me

minecraft-launcher's Issues

Не собирается образ

После установки всех зависимостей. Не собирается образ. Выдаёт следующее:

Creating minecraft-launcher_node_run ... done Error: EACCES: permission denied, scandir '/app'

Пробовал запускать докер с рута/без. Результат один и тот же

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.