Code Monkey home page Code Monkey logo

mpm's Introduction

MPM - Minecraft Package Manager

MPM is a package manager for Minecraft's ComputerCraft (CC:Tweaked) mod. Designed to work on CraftOS, it allows you to easily install, update and execute scripts and utilities.

Installation

Run the following command to install MPM on your in-game computer:

wget run https://shelfwood-mpm.netlify.app/install.lua

Usage

Once MPM is installed, you can use the following commands:

  • mpm install <package>: Install a module containing lua scripts
  • mpm update [package]: Update a specific module or all modules if no package name is provided.
  • mpm remove <package>: Remove a specific module.
  • mpm startup: Setup a module package script as startup script
  • mpm list: List all installed modules.
  • mpm run <package>: Run a specific module.
  • mpm self_update: Update MPM

For instance, to install a package named my_package, you would use:

mpm install tools

You could then run a script from the recently installed tools module using:

mpm run tools/inspect_peripheral

Some modules might have dependencies, you can install multiple modules at once:

mpm install views displays utils peripherals

For example you could set-up multiple monitors to show information from peripherals in your network by running the displays/setup script:

mpm run displays/setup

Features in development

  • Tapping your own GitHub repository for modules to install
  • Automatically installing any dependencies for modules you are installing

Contributing

Contributions to MPM are welcomed. Feel free to submit a Pull Request or open an issue if you have any ideas or encounter any problems.

mpm's People

Contributors

j-shelfwood avatar djquinten avatar

Stargazers

Mehdi El Khallouki 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.