
Git Craft | Use Git On Minecraft v1.0.1
An Git Client In Minecraft Server
GitCraft is a fully functional in-game Git client built into your Minecraft server.
It allows server administrators to commit, push, pull, fetch, and manage Git repositories without ever leaving the game.
Compatible with:
- PaperMC 1.21.4
- Java 21
- Works with both local and self-hosted Git servers (Gitea, Forgejo, etc.)
Features
- In-game Git commands (init, add, commit, push, pull, etc.)
- Secure credential storage using H2 database and AES encryption
- Per-user Git commits using in-game name & custom email
- Warns users when using public Git hosts (GitHub, GitLab)
- Repository path selector via flags
- Optional permission restrictions for each command
- Help command: [ICODE]/git help[/ICODE]
Configuration
disable-unsafe-warning: false
If disable-unsafe-warning is false, you cannot add public Git hosts like github.com/gitlab.com. You're encouraged to use self-hosted Git solutions such as:
Commands Overview
/git init --path=
/git add [--path=]
/git reset --hard| [--path=]
/git commit --message="Your message" [--path=]
/git remote --add|--set-url|--remove --url= [--path=]
/git push [--path=]
/git pull [--path=]
/git fetch [--path=]
/git login --username= --token=
/git whoami
/git logout
/git help
Permissions
You can control access to each Git command using permissions:
gitcraft.command.add:
default: op
gitcraft.command.commit:
default: op
gitcraft.command.reset:
default: op
gitcraft.command.init:
default: op
gitcraft.command.remote:
default: op
gitcraft.command.status:
default: op
gitcraft.command.help:
default: op
gitcraft.command.push:
default: op
gitcraft.command.fetch:
default: op
gitcraft.command.pull:
default: op
gitcraft.command.login:
default: op
gitcraft.command.whoami:
default: op
gitcraft.command.logout:
default: op
Use permission plugins like Luckperms to grant specific players or roles access to these features.
All permissions default to OPs only. Grant access explicitly for non-op users.