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.
Run the following command to install MPM on your in-game computer:
wget run https://shelfwood-mpm.netlify.app/install.lua
Once MPM is installed, you can use the following commands:
mpm install <package>
: Install a module containing lua scriptsmpm 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 scriptmpm 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
- Tapping your own GitHub repository for modules to install
- Automatically installing any dependencies for modules you are installing
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.