mirror of
https://github.com/plexusorg/Plex.git
synced 2025-06-29 06:46:43 +00:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user