Remove TextDisplay, display name updates, mute system, and filter/censorship

This commit is contained in:
loki5512344 2026-01-01 23:40:02 +01:00
parent a87a942b28
commit 712a8a3353
15 changed files with 2 additions and 1064 deletions

View file

@ -57,17 +57,6 @@ public class PlaceholderAPIHook extends PlaceholderExpansion {
}
case "spy_enabled" -> String.valueOf(plugin.getSpyManager().isSpying(uuid));
// Mute placeholders
case "muted" -> String.valueOf(plugin.getMuteManager().isMuted(uuid));
case "mute_time" -> {
if (!plugin.getMuteManager().isMuted(uuid)) yield "";
yield plugin.getMuteManager().formatRemainingTime(uuid);
}
case "mute_reason" -> {
var muteData = plugin.getMuteManager().getMuteData(uuid);
yield muteData != null ? muteData.reason : "";
}
// Gradient placeholders (совместимость с LoPreff)
// Используем TAB формат §x§R§R§G§G§B§B для совместимости с TAB плагином
case "gradient_full", "full" -> {