Commit graph

50 commits

Author SHA1 Message Date
d92799613e Add /lmutelist and /lmutehistory commands
- /lmutelist - shows all active mutes with remaining time
- /lmutehistory <player> - shows mute history for a player
- Added mute history tracking (mute-history.json)
- History includes: who muted, when, duration, reason, unmute info
- Permissions: lochat.mutelist, lochat.mutehistory
2026-01-03 12:29:24 +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
ef1a6320cb Remove mute/unmute commands from plugin.yml 2026-01-01 23:48:12 +01:00
8ac304cc07 Fix &#RRGGBB color format support with lowercase normalization 2026-01-01 23:43:22 +01:00
712a8a3353 Remove TextDisplay, display name updates, mute system, and filter/censorship 2026-01-01 23:40:02 +01:00
a87a942b28 Remove unnecessary comments from all Java files 2026-01-01 23:24:24 +01:00
20c90b6ef9 Fix TextDisplayManager: Add hide/show methods for sneak functionality 2026-01-01 23:21:36 +01:00
798e52eff9 v1.5.5: Add &b&l formatting support, fix teleport issue, add display settings to config, hide TextDisplay on sneak 2026-01-01 23:14:16 +01:00
000f1962e0 Add support for legacy color formats &#RRGGBB and #RRGGBB in YAML configs 2025-12-31 14:52:42 +01:00
4494c457a4 Fix prefix showing colors when disabled + add customizable TextDisplay format with placeholders 2025-12-31 14:47:58 +01:00
8712a98a87 Fix TextDisplay height + visibility settings + fix PM placeholders showing gradient names 2025-12-31 14:37:14 +01:00
d8721138d9 Remove ChatColor system - unified all color handling in GradientModule + fix color formats 2025-12-31 14:29:49 +01:00
dbb6a61351 Add TextDisplay system for floating gradient names above players (1.19.4+) 2025-12-30 23:28:10 +01:00
64c672c02e Fix prefix display logic and add updateall admin command for display names 2025-12-30 23:20:36 +01:00
cc8f4b0f92 Fix gradient display names - convert &#RRGGBB to §x format for player names above heads 2025-12-30 23:13:54 +01:00
7b76f75e36 Fix gradient colors in chat - convert &#RRGGBB to MiniMessage <#RRGGBB> format 2025-12-30 23:00:43 +01:00
30d2c97e4f Fix Folia chat colors - use Component API properly - ChatListener: use MessageConfig.getComponent() for error messages - ChatManager: build format string then parse with MiniMessage.deserialize() - ChatFormatter.convertAllColors: made idempotent (skip if already has <color:#>) - Removed old formatGlobalMessage/formatLocalMessage methods - All chat messages now properly rendered with colors 2025-12-30 22:46:58 +01:00
2bc9cfd761 Fix Folia chat colors - use Component API properly - ChatListener: use MessageConfig.getComponent() for error messages - ChatManager: build format string then parse with MiniMessage.deserialize() - ChatFormatter.convertAllColors: made idempotent (skip if already has <color:#>) - Removed old formatGlobalMessage/formatLocalMessage methods - All chat messages now properly rendered with colors 2025-12-30 22:34:25 +01:00
8c6fb2c92e Fix Folia chat colors - use Component API properly - ChatListener: use MessageConfig.getComponent() for error messages - ChatManager: build format string then parse with MiniMessage.deserialize() - ChatFormatter.convertAllColors: made idempotent (skip if already has <color:#>) - Removed old formatGlobalMessage/formatLocalMessage methods - All chat messages now properly rendered with colors 2025-12-30 22:17:45 +01:00
8824ccd60f Fix MiniMessage HEX format - use <color:#rrggbb> instead of <#rrggbb> 2025-12-30 22:04:07 +01:00
f4752000c8 Fix HEX color parsing - normalize to lowercase - Added normalizeMiniMessageHex to convert existing <#RRGGBB> tags to lowercase - convertHexColors now outputs lowercase hex codes - Added send/getComponent methods to MessageConfig 2025-12-30 22:01:48 +01:00
d2c45b3f0c Fix MiniMessage color parsing in commands - Added send() method to GradientMessages for proper Component parsing - Updated all gradient commands to use msg.send() instead of player.sendMessage(msg.get()) - Now <#RRGGBB> tags are properly converted to colors in chat 2025-12-30 21:59:33 +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
036382b71a feat: add color support (&#RRGGBB and #RRGGBB) to all configs 2025-12-30 21:47:02 +01:00
76f3c480ad fix: gradient messages now properly process colors through ChatFormatter 2025-12-30 21:43:20 +01:00
3fddf48cb3 style: replace remaining MiniMessage tags with &#RRGGBB format 2025-12-30 21:34:29 +01:00
7f2c384d8a style: replace MiniMessage colors with &#RRGGBB format 2025-12-30 21:30:09 +01:00
c4d2768423 feat: add mute/unmute commands with MuteManager 2025-12-30 21:19:07 +01:00
55c965603f Исправлен баг с отображением градиента в GUI: теперь используется MiniMessage формат для правильного отображения градиента 2025-12-30 21:08:27 +01:00
cb60c29e91 Переделал фильтр чата: слова теперь в JSON, добавлен поиск по фрагментам, улучшена защита от обхода фильтра 2025-12-30 20:55:46 +01:00
2292137986 Исправлен фильтр чата: добавлена нормализация сообщений, защита от обхода фильтра, точный поиск слов с word boundaries 2025-12-30 20:48:29 +01:00
d49261988e Исправлены баги: zip file closed в кастомных командах, рандомные цвета в GUI, обновлена версия до 1.5.4, добавлена инструкция по кастомным командам в README 2025-12-30 20:40:09 +01:00
1d75327a4d Добавлен DisplayNameListener: префикс и цвет ника теперь отображаются возле ника в игре 2025-12-30 20:38:08 +01:00
ee67dcc12a Переделал настройки цветов: /chatcolor теперь принимает &b формат, добавлена поддержка #RRGGBB в конфигах 2025-12-30 20:35:10 +01:00
c6442bc88f fix: chatcolor now works when player doesn't use color codes 2025-12-30 13:48:47 +01:00
5c1230bc16 fix: TAB hex format and chat color codes support 2025-12-30 13:43:12 +01:00
ed796a4264 v1.5.3: Улучшена обработка цветовых кодов 2025-12-30 13:05:16 +01:00
4f88f09d21 v1.5.3: Улучшена обработка цветовых кодов 2025-12-30 12:52:51 +01:00
821a65e15a v1.5.2: Исправлена ошибка с legacy кодами в MiniMessage
- Исправлена ошибка парсинга MiniMessage с legacy кодами (§f)
- Добавлена автоматическая конвертация legacy кодов в MessageConfig
- Команды /ьып и другие русские алиасы теперь работают корректно
2025-12-30 12:50:27 +01:00
fb8c1539e6 v1.5.1: Обновление версии для релиза с русскими алиасами 2025-12-30 12:37:10 +01:00
d3542a5837 Добавлены русские алиасы для всех команд (русская раскладка)
- /msg → /ьып, /ееддж, /цж, /зьж, /ьж
- /reply → /кузду, /к
- /ignore → /шптщку
- /unignore → /гтшптщку
- /announce → /фттщгтсу
- /chatspy → /срфезуж, /зуж
- /clearchat → /сдуфксрфе, /сс
- /chatcolor → /сrfnсщдщк, /сrfnсщдщгк
- /lochat → /дщсрфе
- /color → /сщдщк
- /gradient → /пкфвшуте
- /prefix → /зкуашч
- /aprefix → /азкуашч
- /gradientadmin → /пкфвшуетефвьшт
- /globalchat → /пдщифдсрфе
- Добавлены короткие алиасы: /g → /п, /l → /д, /r → /к
2025-12-30 12:35:29 +01:00
f52bd29e7d v1.5.0: Добавлены кастомные команды, алиасы, цвета чата, многоядерная сборка
- Система кастомных команд с алиасами (custom-commands.yml)
- Команда /chatcolor для установки цвета сообщений
- Исправлена ошибка с legacy кодами в PM
- Настройки объявлений (title, actionbar)
- Автообновление конфигов
- Отображение префикса над игроком
- Многоядерная сборка Gradle
- Добавлены алиасы для команд (русские и английские)
- Права на использование цветовых кодов
2025-12-30 12:29:39 +01:00
dfc1c901ab Remove mute system and add PM format editor with gradient support 2025-12-29 22:38:07 +01:00
c09a3a399f lol 2025-12-29 21:59:15 +01:00
daba669833 Fix: continuous gradient from prefix start to nick end 2025-12-29 16:32:13 +01:00
df06da900a Add gradient on LuckPerms prefix option 2025-12-29 15:52:01 +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