7f513a7104
port: replace Paper component APIs, chat pipeline, events and schedulers
...
- Msg.send/broadcast/actionBar/title/legacy/plain for all 58 files sendMessage replacements (plan step 3)
- ChatEventListener: AsyncChatEvent->AsyncPlayerChatEvent, getRecipients filtering, manual render+Msg.send loop, HIGHEST|ignoreCancelled, nobodyHeard via Bukkit scheduler (step 4)
- EnhancedChatRenderer: remove ChatRenderer/Audience, render(Player,Component,Component,Player), getLocale String, Msg.actionBar
- PlayerEventListener: join/quit/death String API, getCustomName/getDisplayName legacy, Msg.broadcast
- FoliaUtil: IS_FOLIA false, Bukkit scheduler only; AutoMessageManager BukkitTask
- CustomCommandManager: reflective getCommandMap; other mechanical fixes (displayName, kick, inventory titles)
- single universal jar (variant A) - loads on Spigot 1.20.1 and Paper
2026-09-20 16:38:37 +02:00
b1b0c9082b
fix: critical fixes from code review — async translation, atomic persistence, unified chat pipeline, config key alignment
2026-08-09 21:04:07 +02:00
42ebac890c
feat: persistence util, PM DRY, Discord rate limiter, missing permissions in plugin.yml
2026-07-05 15:17:15 +02:00
4efccd3968
fix: encapsulation, star imports, checkstyle warnings (520→41), remove casts
2026-07-05 13:38:47 +02:00
90c3cac5cf
refactor: split god classes, fix OCP/ISP/SRP, migrate commands to BaseCommand hierarchy
2026-07-05 13:22:48 +02:00
f45786c6af
Рефакторинг: KISS принципы, разбиение god-классов, реорганизация
...
- Создан RatConfig.java с централизованными константами
- MuteServiceImpl: 261→170 строк (Strategy pattern)
- MessagingServiceImpl: 219→124 строк (3 отдельных сервиса)
- ServiceFactory для создания сервисов
- Реорганизованы директории: utils/, commands/moderation/, commands/admin/
- Все директории теперь ≤6 файлов
2026-04-07 12:48:23 +02:00
bba480002f
refactor: restructure services and filters architecture
...
- Remove deprecated service interfaces (CooldownService, IgnoreService, PMService, PlayerDataService, SpyService)
- Add new unified service interfaces (MessagingService, PlayerService, PunishmentService)
- Extract FilterResult as standalone class from AdvancedMessageFilter
- Implement individual filter classes (CharacterFilter, FloodFilter, SpamFilter, SwearFilter, UrlFilter)
- Add moderation commands (BanCommand, WarnCommand, SilentWarnCommand, UnbanCommand)
- Introduce data models for punishment tracking (BanRecord, WarnEntry)
- Refactor messaging service with new MessagingServiceImpl implementation
- Add mute service utilities (MuteDataStorage, MutePermissionChecker)
- Implement PunishmentServiceImpl with snapshot tracking
- Add Discord integration components (DiscordConfig, DiscordMessageService)
- Introduce command handlers for gradient module (ColorCommandHandler, PrefixCommandHandler)
- Add renderer components (EmojiComponent, GradientBuilder, UrlProcessor)
- Add utility classes (ColorConverter, MessageSender, PlaceholderProcessor)
- Update configuration files and plugin metadata
- Add documentation files (CODE_REVIEW_RU.md, REFACTORING_SERVICES.md)
- Consolidate service architecture for improved maintainability and separation of concerns
2026-04-06 00:18: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
d1d2b93742
fix all
2026-03-16 12:43:52 +01:00
5088e3ad1c
fix color
2026-03-13 15:51:47 +01:00
6b6605a2b0
fix
2026-03-11 14:35:00 +01:00
5ece2192a2
add fiscord webhook
2026-03-11 14:21:43 +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
69cae99476
feat: Add Paper Chat API with hover/click/mentions/emojis/URLs + custom nicknames
2026-02-23 15:40:48 +01:00
74482851aa
refactor: Remove emoji system and chat filters, implement SOLID architecture
2026-02-23 12:10:51 +01:00
01d8c3a2e7
Complete config redesign and feature additions
...
🎨 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!
2026-01-23 22:06:46 +01:00
c6175d9d61
Add built-in mute system with /lmute and /lunmute commands
...
- Added MuteManager for handling mutes with persistence (mutes.json)
- Added /lmute <nick> <time> [-s] [reason] command
- Added /lunmute <nick> [-s] command
- Time formats: 1d, 2h, 30m, 60s, 0 for permanent
- -s flag for silent mute/unmute (no broadcast)
- Mute check integrated into ChatListener
- Removed LibertyBans API dependency (using built-in system)
2026-01-03 12:20:35 +01:00
d44c5f811f
Update LibertyBans integration to compatibility mode
...
- Removed API dependency due to JitPack build issues
- Implemented event-based compatibility approach
- LibertyBans will handle mute enforcement directly
- Added proper plugin presence detection
- Simplified chat processing for better compatibility
- Build now succeeds without external API dependencies
2026-01-02 15:01:13 +01:00
ee626c8d8b
Fix color preservation when changing prefix and add LibertyBans integration
...
- Fixed issue where gradient colors were lost when changing prefix
- Updated GradientGUIListener to preserve existing colors when setting prefix
- Updated GradientPrefixCommand to pass existing colors to confirmation GUI
- Added LibertyBans integration (simple version without API dependency)
- Added LibertyBans to softdepend in plugin.yml
- LibertyBans integration detects plugin presence but relies on LibertyBans own mute handling
2026-01-02 14:52:48 +01:00
712a8a3353
Remove TextDisplay, display name updates, mute system, and filter/censorship
2026-01-01 23:40:02 +01:00
29ae373554
Fix GUI colors and TAB placeholder format - applyGradient uses &#RRGGBB for GUI (LegacyComponentSerializer) - Added applyGradientTabFormat for TAB plugin (§x§R§R§G§G§B§B) - PlaceholderAPIHook now uses TAB format for %lochat_full% - Updated tests to match new formats
2025-12-30 21:54:34 +01:00
c4d2768423
feat: add mute/unmute commands with MuteManager
2025-12-30 21:19:07 +01:00
dfc1c901ab
Remove mute system and add PM format editor with gradient support
2025-12-29 22:38:07 +01:00
4d21241150
Fix: LuckPerms prefix in placeholders, add /lochat reload
2025-12-29 15:38:27 +01:00
252b0a60db
Initial commit: LoChat v1.0.0 with Gradient module
2025-12-29 14:57:49 +01:00