Major changes

- Convert prefixes to Component
- Styling improvements to the list command
- Fix tab completing on plex command
- Allow console to check ranks of other players
- Add coloring in tab for admins
- Add color field to ranks and titles
- Fix debug logging not working
This commit is contained in:
2022-03-17 20:18:35 -05:00
parent 3c0b79ba06
commit 06e51926be
18 changed files with 155 additions and 74 deletions

View File

@ -11,6 +11,7 @@ import java.util.UUID;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.serializer.plain.PlainTextComponentSerializer;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
@ -34,7 +35,7 @@ public class PlexPlayer
private Player player;
private String loginMessage;
private String prefix;
private Component prefix;
private boolean vanished;
private boolean commandSpy;
@ -59,7 +60,7 @@ public class PlexPlayer
this.player = Bukkit.getPlayer(name);
this.loginMessage = "";
this.prefix = "";
this.prefix = null;
this.vanished = false;
this.commandSpy = false;