chore: clean up documentation and rebuild with badwords filter
- Remove outdated CODE_REVIEW_RU.md and REFACTORING_SERVICES.md documentation - Add badwords.txt resource file for swear filter functionality - Rebuild compiled classes with updated filter and configuration logic - Update all configuration files (appearance, discord, filters, messages) - Rebuild core components: ConfigManager, PluginInitializer, SwearFilter, GradientModule, PrefixService, PlayerEventListener, EnhancedChatRenderer - Consolidate build artifacts with source changes for consistency
This commit is contained in:
parent
bba480002f
commit
4f6eaf35e9
28 changed files with 1152 additions and 1364 deletions
|
|
@ -275,4 +275,38 @@ public class ConfigManager {
|
|||
public boolean useCustomPrefix() {
|
||||
return config.getBoolean("lopreff.use-custom-prefix", true);
|
||||
}
|
||||
|
||||
// ========== Кастомные сообщения ==========
|
||||
|
||||
public boolean isJoinMessageEnabled() {
|
||||
return config.getBoolean("messages.join.enabled", true);
|
||||
}
|
||||
|
||||
public String getJoinMessageFormat() {
|
||||
return config.getString("messages.join.format", "⚖C9✦ &#B798A8{player} ẲE9зашел на сервер");
|
||||
}
|
||||
|
||||
public boolean isQuitMessageEnabled() {
|
||||
return config.getBoolean("messages.quit.enabled", true);
|
||||
}
|
||||
|
||||
public String getQuitMessageFormat() {
|
||||
return config.getString("messages.quit.format", "⚖C9✦ &#B798A8{player} ẲE9вышел с сервера");
|
||||
}
|
||||
|
||||
public boolean isDeathMessageEnabled() {
|
||||
return config.getBoolean("messages.death.enabled", true);
|
||||
}
|
||||
|
||||
public String getDeathPlayerKillFormat() {
|
||||
return config.getString("messages.death.player_kill", "&#CF6679☠ &#B798A8{player} ẲE9был убит игроком &#B798A8{killer} ⚖C9({weapon})");
|
||||
}
|
||||
|
||||
public String getDeathMobKillFormat() {
|
||||
return config.getString("messages.death.mob_kill", "&#CF6679☠ &#B798A8{player} ẲE9был убит мобом &#B798A8{killer}");
|
||||
}
|
||||
|
||||
public String getDeathDefaultFormat() {
|
||||
return config.getString("messages.death.default", "&#CF6679☠ &#B798A8{player} ẲE9{death_message}");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue