bd39118b14
chore: add PMD 7.8.0 and fix warnings/antipatterns
...
- build.gradle.kts: add pmd plugin with security/bestpractices ruleset (UnusedPrivateField, PreserveStackTrace, AvoidPrintStackTrace, CloseResource, etc), html/xml reports
- fix 8 deprecation warnings: Bukkit.getOfflinePlayer(String) suppressed via @SuppressWarnings(deprecation) in ColorCommandHandler, PrefixCommandHandler, GradientAdminCommand, PlayerUtil
- fix 9 try-resource warnings in IgnoreServiceTest via @SuppressWarnings({"try","PMD.UnusedLocalVariable"})
- PMD fixes: AvoidPrintStackTrace -> logger.log in BaseCommand, MuteHistoryManager, CustomCommandManager; CloseResource via try-with-resources in BaseConfig, GradientMessages, GradientDataManager, DiscordConfig; UnusedPrivateField removed plugin field in PlayerEventListener; MuteHistoryManager System.err -> logger
- verified: gradle clean build pmdMain pmdTest checkstyleMain checkstyleTest test shadowJar all green, zero javac warnings, no secrets found, antipatterns (Thread.sleep in async webhook/rate-limiter kept isolated, printStackTrace removed)
2026-09-20 16:56:02 +02:00
dd725ad255
port: build for spigot 1.20.1 (universal jar)
...
- replace paper-api with spigot-api 1.20.1, add spigot snapshots repo
- bundle Adventure 4.17.0 + platform-bukkit 4.3.4 via shadowJar with relocate to com.loki.lochat.libs.kyori/gson and mergeServiceFiles
- version 1.5.5-1.20.1, api-version 1.20, remove folia-supported, run-paper
- single universal jar loads on Spigot/Mohist 1.20.1 and Paper 1.20.x-1.21.x (Paper is superset)
- CI: add spigot-1.20.1 branch
2026-09-20 16:18:00 +02:00
103c982f87
chore: unify checkstyle, fix violations, cleanup bin/
2026-07-12 00:59:08 +02:00
dd0fb0f10d
fix: zero checkstyle warnings, exclude test sources, fix LineLength
2026-07-05 13:51:48 +02:00
90c3cac5cf
refactor: split god classes, fix OCP/ISP/SRP, migrate commands to BaseCommand hierarchy
2026-07-05 13:22:48 +02:00
d3d87c34e0
chore: cleanup configs, docs, checkstyle, remove dead deps
2026-07-05 11:38:24 +02:00
812517513f
build: rebuild artifacts and update CI workflows
2026-04-07 13:45:25 +02:00
2d79d2a91d
chore: update .gitignore and build.gradle.kts for local server testing
...
- Added entries to .gitignore for local Paper test server and API documentation.
- Included the run-paper plugin in build.gradle.kts for local server execution.
- Configured runServer task with Minecraft version 1.21.4 for testing.
2026-04-01 16:09:15 +02:00
6b6605a2b0
fix
2026-03-11 14:35:00 +01:00
e78d8a2de4
Update to Minecraft 1.21.8, add checkstyle, fix compilation errors
...
- Update Paper API: 1.20.1 -> 1.21.4
- Update plugin version: 1.5.5-1.20.1 -> 1.5.5-1.21.8
- Add checkstyle plugin with reasonable rules
- Fix Enchantment.LUCK -> Enchantment.UNBREAKING
- Fix EntityType.FIREWORK -> EntityType.FIREWORK_ROCKET
- Remove unused imports
- Add temp_*/ to .gitignore
- 118 files changed, 1633 insertions(+), 1301 deletions(-)
2026-02-24 00:04:03 +01:00
6a4c8a7886
feat: LoHub Action system + Join system implementation
2026-02-23 17:27:34 +01:00