LoChat/bin/main/config.yml
loki5512344 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

66 lines
1.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# LoChat Configuration v1.5.5
config-version: 4
prefix: "&#00D4FF[LoChat]"
# Базовые настройки чата
# Детальные настройки (префиксы, цвета, форматы) в config/*.yml
chat:
# Режим чата:
# - Оба включены = локальный (по умолчанию) + глобальный (с "!")
# - Только global = единый чат без префиксов для всех
global:
enabled: true
cooldown: 3
local:
enabled: true
cooldown: 1
pm:
enabled: true
cooldown: 2
# Hub команда
hub_command:
enabled: true
server: "hub"
# Градиентные ники
lopreff:
enabled: true
use-gradient-name: true
use-custom-prefix: true
display:
update-display-name: true
update-tab-list: true
# Градиенты (детали в config/gradient.yml)
gradient:
storage-type: "file"
min-colors: 1
max-colors: 7
price-per-color: 50
prefix-price: 500
prefix-one-time-purchase: true
use-permission-instead-of-cost: false
max-prefix-length: 16
color-cooldown: 60
prefix-cooldown: 120
prefix-format: "[{prefix}] "
gradient-on-prefix: true
gradient-on-luckperms-prefix: true
continuous-gradient: true
use-legacy-rgb-format: true
# RP команды (детали в config/rp.yml)
rp:
radius: 100
cooldowns:
me: 3
try: 5
do: 3
roll: 2
# Модерация: после /lmute выполнить команду от консоли (SimpleVoiceChat: voice mute {player})
moderation:
voice-mute-console-command: ""