mcvcli is a command-line tool for managing Minecraft server versions. It allows you to easily download, install, and switch between different versions of the Minecraft server software.
- Download and install Minecraft server versions with a single command
- List available server versions
- Switch between installed server versions
- Automatically handle server configuration files
- Automatically handle java installation
- Make sure you have Node.js installed on your system.
- Install mcvcli globally by running the following command:
npm install -g mcvcli
To setup your Minecraft server version, use the init
command
mcvcli init ./server
cd server
mcvcli version # view installed version, auto updates with your jar
mcvcli update # update build or minecraft version of your jar (only newer)
mcvcli install # force install any other version
mcvcli lookup {user} # lookup a user on your server or globally
mcvcli start # start the server
mcvcli profile list # list server profiles
mcvcli profile create {name} # create a new profile
mcvcli profile use {name} # switch to another profile
mcvcli profile delete {name} # nuke a profile from existance
mcvcli backup list # list created server backups
mcvcli backup create # create a new server backup
mcvcli backup delete # delete a server backup
mcvcli backup restore # restore a previously created server backup
mcvcli mods list # list installed mods
mcvcli mods update # update installed mods
mcvcli mods install # install a new mod
mcvcli mods uninstall # remove installed mods
mcvcli cache view # get mcvcli cache size
mcvcli cache clear # clear mcvcli kv cache
To Develop on this tool, you need to install all required dependencies
git clone https://github.com/mcjars/mcvcli.git mcjars-mcvcli
cd mcjars-mcvcli
# make sure to have nodejs installed already
npm i -g pnpm
pnpm i
pnpm install:dev
# mcvcli is now globally available
mcvcli
Note
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.