mirror of
https://github.com/xHyroM/lighteco.git
synced 2024-11-10 01:18:07 +01:00
Jozef Steinhübl
23e73cb5da
* feat: better command abstraction * feat: OfflineUserArgument type * feat: balance, balance other cmds in common & double, integer arg * feat: command manager, better arguments abstraction * feat: map args * feat: some things * feat(better command abstraction)!: switch to brigadier (#8) * feat: switch to brigadier * some updates * feat: make suggestion provider work * supress warnings * feat: pay & set command * feat: give & take command, better suggestions, permissions * refactor: cleanup * fix: dont register pay if currency is not payable * fix: send commands only if you have perms * make second test currency not payable * feat: use command's description & name * refactor: cleanup, rename bukkit to paper * refactor: cleanup, rename bukkit to paper * feat: add built-in info command * ci: build paper, not bukkit * refactor: better test organization * refactor: better test organization * feat: locks * feat: finish locking * feat: handle missing user * refactor: move methods to CommandHelper * refactor: change minimum api version * feat: console support
32 lines
No EOL
773 B
Text
32 lines
No EOL
773 B
Text
import lol.koblizek.serverloader.plugin.server
|
|
|
|
plugins {
|
|
id("lighteco.platform-logic")
|
|
id("lol.koblizek.serverloader") version "1.2"
|
|
}
|
|
|
|
server {
|
|
version = "1.20.6"
|
|
type = "purpur"
|
|
|
|
// Minecraft 1.20.6 requires java 21
|
|
java {
|
|
targetCompatibility = JavaVersion.VERSION_21
|
|
sourceCompatibility = JavaVersion.VERSION_21
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(21))
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":lighteco-api"))
|
|
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
|
|
|
|
compileOnly("org.projectlombok:lombok:1.18.28")
|
|
annotationProcessor("org.projectlombok:lombok:1.18.28")
|
|
} |