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!
This commit is contained in:
parent
e616667c78
commit
01d8c3a2e7
34 changed files with 2650 additions and 1563 deletions
|
|
@ -30,6 +30,8 @@ public final class LoChat extends JavaPlugin {
|
|||
private GradientModule gradientModule;
|
||||
private LibertyBansHook libertyBansHook;
|
||||
private MuteManager muteManager;
|
||||
private HeadEmojiManager headEmojiManager;
|
||||
private com.loki.lochat.integrations.SkinsRestorerHook skinsRestorerHook;
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
|
|
@ -52,6 +54,10 @@ public final class LoChat extends JavaPlugin {
|
|||
chatManager = new ChatManager(this);
|
||||
autoMessageManager = new AutoMessageManager(this);
|
||||
|
||||
// Инициализация интеграций
|
||||
skinsRestorerHook = new com.loki.lochat.integrations.SkinsRestorerHook(this);
|
||||
headEmojiManager = new com.loki.lochat.managers.HeadEmojiManager(this);
|
||||
|
||||
// Инициализация модуля градиентов (интегрированный LoPreff)
|
||||
gradientModule = new GradientModule(this);
|
||||
if (gradientModule.init()) {
|
||||
|
|
@ -130,6 +136,14 @@ public final class LoChat extends JavaPlugin {
|
|||
MuteBlameCommand muteBlameCommand = new MuteBlameCommand(this);
|
||||
getCommand("lmuteblame").setExecutor(muteBlameCommand);
|
||||
getCommand("lmuteblame").setTabCompleter(muteBlameCommand);
|
||||
|
||||
// Команда настройки очистки чата
|
||||
ClearChatConfigCommand clearChatConfigCommand = new ClearChatConfigCommand(this);
|
||||
getCommand("clearchatconfig").setExecutor(clearChatConfigCommand);
|
||||
getCommand("clearchatconfig").setTabCompleter(clearChatConfigCommand);
|
||||
|
||||
// Внутренняя команда для информации об игроке
|
||||
getCommand("lochat").setExecutor(new PlayerInfoCommand(this));
|
||||
}
|
||||
|
||||
public void reload() {
|
||||
|
|
@ -211,4 +225,12 @@ public final class LoChat extends JavaPlugin {
|
|||
return muteManager;
|
||||
}
|
||||
|
||||
public HeadEmojiManager getHeadEmojiManager() {
|
||||
return headEmojiManager;
|
||||
}
|
||||
|
||||
public com.loki.lochat.integrations.SkinsRestorerHook getSkinsRestorerHook() {
|
||||
return skinsRestorerHook;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue