🎨 Config Redesign: - Unified style for all config files with beautiful headers - Consistent color scheme using gradients throughout - Improved readability with proper sections and comments - Fixed color formatting issues ✨ New Features: - SkinsRestorer integration for custom skins support - Head emoji system (:head_nickname: and @head nickname) - Clear chat message configuration command (/clearchatconfig) - Enhanced custom commands with more examples - Improved emoji system with 200+ emojis 📝 Documentation: - Completely rewritten README.md with modern styling - Added comprehensive feature descriptions - Detailed command and permission tables - Configuration examples and usage guides - Professional formatting and structure 🔧 Technical Improvements: - Fixed compilation errors - Improved code organization - Better error handling - Enhanced compatibility All configs now follow consistent MiniMessage gradient styling!
53 lines
1.6 KiB
Groovy
53 lines
1.6 KiB
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.loki'
|
|
version = '1.5.5-1.20.1'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url = 'https://repo.papermc.io/repository/maven-public/' }
|
|
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
|
|
maven { url = 'https://repo.rosewooddev.io/repository/public/' }
|
|
maven { url = 'https://jitpack.io' }
|
|
maven { url = 'https://nexus.skinsrestorer.net/repository/maven-public/' }
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT'
|
|
compileOnly 'me.clip:placeholderapi:2.11.6'
|
|
compileOnly 'org.black_ixx:playerpoints:3.2.7'
|
|
compileOnly 'net.luckperms:api:5.4'
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.10.0'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.10.0'
|
|
}
|
|
|
|
java {
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.encoding = 'UTF-8'
|
|
// Параллельная компиляция
|
|
options.fork = true
|
|
options.forkOptions.jvmArgs += ['-XX:+UseParallelGC']
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
// Параллельное выполнение тестов
|
|
maxParallelForks = Runtime.runtime.availableProcessors()
|
|
forkEvery = 100
|
|
}
|
|
|
|
jar {
|
|
archiveFileName = 'LoChat-1.5.5-1.20.1.jar'
|
|
from {
|
|
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
}
|