Рефакторинг: KISS принципы, разбиение god-классов, реорганизация
- Создан RatConfig.java с централизованными константами - MuteServiceImpl: 261→170 строк (Strategy pattern) - MessagingServiceImpl: 219→124 строк (3 отдельных сервиса) - ServiceFactory для создания сервисов - Реорганизованы директории: utils/, commands/moderation/, commands/admin/ - Все директории теперь ≤6 файлов
This commit is contained in:
parent
6119feafcf
commit
f45786c6af
83 changed files with 747 additions and 514 deletions
|
|
@ -1,10 +1,14 @@
|
|||
package com.loki.lochat.commands;
|
||||
|
||||
import com.loki.lochat.LoChat;
|
||||
import com.loki.lochat.commands.admin.*;
|
||||
import com.loki.lochat.commands.admin.chat.*;
|
||||
import com.loki.lochat.commands.admin.system.*;
|
||||
import com.loki.lochat.commands.admin.broadcast.*;
|
||||
import com.loki.lochat.commands.chat.*;
|
||||
import com.loki.lochat.commands.messaging.*;
|
||||
import com.loki.lochat.commands.moderation.*;
|
||||
import com.loki.lochat.commands.moderation.ban.*;
|
||||
import com.loki.lochat.commands.moderation.mute.*;
|
||||
import com.loki.lochat.commands.moderation.warn.*;
|
||||
import com.loki.lochat.commands.nick.*;
|
||||
import com.loki.lochat.commands.rp.*;
|
||||
import org.bukkit.command.PluginCommand;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue