Commit graph

20 commits

Author SHA1 Message Date
542a4c8ef9 fix: Enable Folia support in plugin.yml 2026-02-23 13:32:27 +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
4f7b792633 Adapt LoChat for Minecraft 1.20.1 Paper
- Changed dependency from Folia API 1.21.4 to Paper API 1.20.1
- Updated plugin.yml: api-version to 1.20, folia-supported to false
- Replaced Folia-specific scheduler calls with FoliaUtil for compatibility
- Updated version to 1.5.5-1.20.1
- Fixed enum switch warning in ChatListener
- Removed unused imports
- All tests pass successfully
2026-01-23 21:46:26 +01:00
b74fa21272 Major mute system overhaul
Commands:
- /mute <nick> [time] [-s] [reason] - mute player
- /unmute <nick> [-s] - unmute player
- /mutelist - list active mutes
- /mutehistory <nick> - player mute history
- /muteblame <moderator> - mutes issued by moderator

Features:
- Configurable messages with placeholders (%player%, %operator%, %duration%, %reason%)
- Duration permissions: lochat.mute.dur.<time> (10m, 30m, 1h, 6h, 12h, 1d, 3d, 7d, 14d, 30d, perm)
- Silent mute: -s flag (requires lochat.mute.silent)
- See silent mutes: lochat.mute.see-silent
- Default reason configurable (default: Нету.)
- Auto-use max allowed duration if not specified
- All settings in config.yml under 'mute' section
2026-01-03 12:34:32 +01:00
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
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
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
d8721138d9 Remove ChatColor system - unified all color handling in GradientModule + fix color formats 2025-12-31 14:29:49 +01:00
c4d2768423 feat: add mute/unmute commands with MuteManager 2025-12-30 21:19:07 +01:00
d49261988e Исправлены баги: zip file closed в кастомных командах, рандомные цвета в GUI, обновлена версия до 1.5.4, добавлена инструкция по кастомным командам в README 2025-12-30 20:40:09 +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
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