Home›Java›Mods›MineCICD
ModsJava

MineCICD

Java mod listed for Minecraft 1.8–1.19. Download on the author's site.

⬇ Download on Spigot
MineCICD 2.0 has been released!
Version 2.0 is a complete rewrite of the plugin, focussed on:
Version 2.0 Changelog:
Updating from MineCICD 1.* to 2.0 will reset the config! See Migration steps below
------------------------------------------------------------------------------------------------------------------------

MineCICD 2.1.2
Minecraft Versions [Paper / Spigot] 1.8.* - 1.21.*
Continuous Integration, Continuous Delivery - Now for Minecraft Servers
What is MineCICD?

MineCICD is a tool used for Minecraft Server and Network development, which can massively speed up all setup- and configuration processes. It tracks all changes with Version Control System Integration, allows for fast and safe reverts, rollbacks, insight into changes / bug tracking and much more.

Developers can use their personal IDE to edit files on their own Machine, push changes to the Repository, which automatically applies the changes on the server and performs arbitrarily defined actions / commands / scripts, with support for server shell commands.

Networks may make use of MineCICD to manage multiple servers, plugins, and configurations across all servers simultaneously, with the ability to track changes and apply them to all servers at once!

Installation & Setup
  1. Download the plugin from the latest release on GitHub (https://github.com/Konstanius/MineCICD/releases)
  2. Add the plugin into your plugins folder
  3. Restart the Minecraft server
  4. Create a Git repository (For example on GitHub at https://github.com/new or similar)
  5. Link the repository and your access credentials in the config
    • For GitHub, you must use a Personal Access Token
    • Other Git providers may require different credentials
      • Set them in the config.yml under git.user and git.pass accordingly
  6. Reload the config with /minecicd reload
  7. Load the repository with /minecicd pull
Now you are all set! - Time to start syncing
Which files should be tracked?
Instant commit propagation setup
  1. Create a webhook for your repository (Repo settings -> Webhooks -> Add webhook)
    • Payload URL: http://<your server ip>:8080/minecicd (Port / Path configurable in config.yml)
    • Content type: application/json
    • Set it to trigger only for The push event
  2. You're all set! Now you can also use commit actions
Commit Actions
Commit Actions are actions that are performed when a commit is pushed to the repository.
They can range from restarting / reloading the server or individual plugins to executing game commands or defined scripts containing game commands or shell commands.
You can define commit actions as follows:
upload_2024-7-16_7-58-44.png

Secrets
Secrets are a way of storing sensitive information, such as passwords or API keys, in a dedicated, untracked file.
They are defined in the /secrets.yml directory, following the following format:
upload_2024-7-15_19-10-49.png
After modifying this file, make sure to reload the plugin with /minecicd reload to apply the changes.
These secrets will never be visible in the repository, but will be only be contained in the local server files.
Since Windows does not come with the sed command, MineCICD ships with a custom implementation for Windows: minecicd_tools/windows-replace.exe.
If your Linux installation does not have sed, MineCICD will use another custom implementation: minecicd_tools/linux-replace.exe.

Scripts
Scripts are a way of storing procedures of Minecraft commands and system shell commands.
They are defined in the plugins/MineCICD/scripts directory as <script_name>.sh files.
For a detailed description about the syntax, see the plugins/MineCICD/scripts/example_script.sh file.

Version Tracking for jar files
Tracking plugin jarfiles with Git is currently only experimentally supported and can cause issues.
This is due to issues with File Locks and the way Java handles jar files, but is being worked on.
This feature is disabled by default, to enable it, do the following:

This will unload and load plugins if their jarfiles change, are removed. or new ones are added

Commands
Permissions
Migrating from MineCICD 1.* to 2.0
  1. Push any changes made on your server to the repository!
  2. Install the new version of MineCICD
  3. Copy the existing token from the old config and save them somewhere
  4. The entire plugin directory of MineCICD will reset (No server files are affected)
  5. Set up the new config with the token, repository url, branch name and other settings
  6. Run /minecicd pull to clone the repository
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

MineCICD is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 998 times (via Spigot). Download it and open it directly in the game.

Explore more