A modern, interactive CLI to scaffold Minecraft plugin projects instantly.
pnpm add -g create-mc-pluginOr use directly without installing:
pnpx create-mc-plugincreate-mc-plugin createYou'll be guided through an interactive prompt:
✔ Project name: · MyPlugin
✔ Build tool: · maven
✔ Language: · kotlin
✔ Platform: · purpurmc
✔ Minecraft version: · 1.21.11
✔ IDE: · intellij
✔ Group ID: · com.example
✔ Artifact ID: · myplugin
✔ Description: · A modern Minecraft plugin
✔ Authors: · YourName
A preview is shown before anything is written to disk. You confirm, and the project is generated.
| Flag | Description | Default |
|---|---|---|
-n, --name |
Pre-fill the project name | — |
-d, --dir |
Output directory | . |
| Build Tool | Supported |
|---|---|
| Maven | ✅ |
| Gradle | 🔜 |
| Language | Supported |
|---|---|
| Kotlin | ✅ |
| Java | 🔜 |
| Platform | Supported |
|---|---|
| PurpurMC | ✅ |
| PaperMC | 🔜 |
| Spigot | 🔜 |
| Bukkit | 🔜 |
| Version | Supported |
|---|---|
| 1.21.11 | ✅ |
| 1.21.10 | 🔜 |
| IDE | Supported |
|---|---|
| IntelliJ | ✅ |
| VS Code | 🔜 |
| None | ✅ |
Example for maven / kotlin / purpurmc / 1.21.11 / intellij:
MyPlugin/
├── .idea/
│ ├── .gitignore
│ └── runConfigurations/
│ └── Package.xml
├── src/
│ └── main/
│ ├── kotlin/
│ │ └── com/example/
│ │ └── MyPlugin.kt
│ └── resources/
│ └── plugin.yml
├── .gitignore
├── MyPlugin.iml
└── pom.xml
Templates use {{PLACEHOLDER}} syntax. Available placeholders:
| Placeholder | Value |
|---|---|
{{NAME}} |
Project name (as-is) |
{{name}} |
Project name (lowercased) |
{{GROUP ID}} |
Maven group ID |
{{groupId}} |
Maven group ID |
{{ARTIFACT ID}} |
Maven artifact ID |
{{artifactId}} |
Maven artifact ID |
{{DESCRIPTION}} |
Project description |
{{AUTHORS}} |
Authors (comma-separated) |
{{VERSION}} |
Minecraft version |
MIT