You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+46Lines changed: 46 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -216,6 +216,52 @@ public class MyPlugin extends JavaPlugin {
216
216
217
217
---
218
218
219
+
## Maven / Gradle Installation
220
+
221
+
To include Command Framework to the project, add the following repository and dependency to your build configuration. Replace `${version}` with the desired version tag.
222
+
223
+
### Maven
224
+
225
+
Add the repository and dependency to your `pom.xml`:
226
+
227
+
```xml
228
+
<repositories>
229
+
<repository>
230
+
<id>croabeast-repo</id>
231
+
<url>https://croabeast.github.io/repo/</url>
232
+
</repository>
233
+
</repositories>
234
+
235
+
<dependencies>
236
+
<dependency>
237
+
<groupId>me.croabeast</groupId>
238
+
<artifactId>CommandFramework</artifactId>
239
+
<version>${version}</version>
240
+
<scope>compile</scope>
241
+
</dependency>
242
+
</dependencies>
243
+
```
244
+
245
+
### Gradle
246
+
247
+
Add the repository and dependency to your `build.gradle`:
Replace `${version}` with the appropriate module version.
262
+
263
+
---
264
+
219
265
## Conclusion
220
266
221
267
**Command Framework** (the collection of classes in the `me.croabeast.command` package) is designed to streamline command development for Minecraft plugins, particularly on Paper forks where runtime registration can be challenging. Its modular design, support for sub-commands, dynamic tab completion, and robust permission checks make it an ideal choice for modern plugin development.
0 commit comments