
64
0
Список изменений
Internal refactoring: Migrated the final four Java command classes to Kotlin.
Kotlin Conversions
-
RRCommand.kt - Migrated from Java (467 → 444 lines, 5% reduction)
- Multi-page help system with
whenexpressions - String templates for dynamic prefix interpolation
- Tab completion with filtered list operations
- Multi-page help system with
-
RetrieveCommand.kt - Migrated from Java (37 → 28 lines, 24% reduction)
- Kotlin smart cast for Player type check
- Property access for plugin managers
-
RemoveCommand.kt - Migrated from Java (132 → 124 lines, 6% reduction)
buildString {}instead of StringBuilder- Null-safe property access with
?.let {} - World-aware region parsing preserved
-
ReloadCommand.kt - Migrated from Java (27 → 20 lines, 26% reduction)
- Simple command with idiomatic Kotlin patterns
- Property access for config manager
Technical Notes
- All commands now in Kotlin - Zero Java command classes remain
- Total line reduction: 663 lines Java → 616 lines Kotlin (7% reduction)
- No user-facing changes - all commands work identically
src/main/java/com/zonerental/commands/directory is now empty
Файлы
ZoneRental-3.0.4.jar(2.13 MiB)
ОсновнойМетаданные
Канал релиза
Alpha
Номер версии
3.0.4
Загрузчики
BukkitPaperPurpurSpigot
Версии игры
1.21–1.21.11
Загрузок
3
Дата публикации
28.12.2025
