Remove TextDisplay, display name updates, mute system, and filter/censorship
This commit is contained in:
parent
a87a942b28
commit
712a8a3353
15 changed files with 2 additions and 1064 deletions
|
|
@ -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" -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue