Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teamkun/commandlib
https://github.com/teamkun/commandlib
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/teamkun/commandlib
- Owner: TeamKun
- License: gpl-3.0
- Created: 2022-03-18T18:55:58.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T03:37:11.000Z (2 months ago)
- Last Synced: 2024-10-17T17:58:14.517Z (2 months ago)
- Language: Java
- Size: 3.7 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![](https://jitpack.io/v/TeamKun/CommandLib.svg)](https://jitpack.io/#TeamKun/CommandLib)
## Getting Started
### Installation(Gradle Settings)
Bukkit
```groovy
plugins {
id "com.github.johnrengelman.shadow" version "6.1.0"
}repositories {
maven { url 'https://jitpack.io' }
}dependencies {
implementation "com.github.TeamKun.CommandLib:bukkit:latest.release"
}shadowJar {
mergeServiceFiles()
archiveFileName = "${rootProject.name}-${project.version}.jar"
relocate "net.kunmc.lab.commandlib", "${project.group}.${project.name.toLowerCase()}.commandlib"
}
tasks.build.dependsOn tasks.shadowJar
```Forge
```groovy
plugins {
id "com.github.johnrengelman.shadow" version "6.1.0"
}repositories {
maven { url 'https://jitpack.io' }
}dependencies {
implementation "com.github.TeamKun.CommandLib:forge:latest.release"
}shadowJar {
mergeServiceFiles()
archiveFileName = "${rootProject.name}-${project.version}.jar"
dependencies {
include(dependency("com.github.TeamKun.CommandLib:forge:.*"))
}
relocate "net.kunmc.lab.commandlib", "${project.group}.${project.name.toLowerCase()}.commandlib"
finalizedBy("reobfShadowJar")
}reobf {
shadowJar {
}
}
```### Sample Code
[Bukkit](/sample/bukkit/src/main/java/net/kunmc/lab/sampleplugin)
[Forge](/sample/forge/src/main/java/net/kunmc/lab/samplemod)