Class PlexPlayer

java.lang.Object
dev.plex.player.PlexPlayer

@Entity(value="players", useDiscriminator=false) public class PlexPlayer extends Object
  • Field Details

    • id

      @Id private String id
    • uuid

      @Indexed(options=@IndexOptions(unique=true)) private UUID uuid
    • name

      @Indexed private String name
    • player

      private transient org.bukkit.entity.Player player
    • loginMessage

      private String loginMessage
    • prefix

      private String prefix
    • vanished

      private boolean vanished
    • commandSpy

      private boolean commandSpy
    • frozen

      private transient boolean frozen
    • muted

      private transient boolean muted
    • lockedUp

      private transient boolean lockedUp
    • adminActive

      private boolean adminActive
    • coins

      private long coins
    • rank

      private String rank
    • ips

      private List<String> ips
    • punishments

      private List<Punishment> punishments
    • notes

      private List<Note> notes
    • permissions

      private List<Permission> permissions
    • permissionAttachment

      private transient org.bukkit.permissions.PermissionAttachment permissionAttachment
  • Constructor Details

    • PlexPlayer

      public PlexPlayer()
    • PlexPlayer

      public PlexPlayer(UUID playerUUID)
  • Method Details

    • displayName

      public String displayName()
    • getRankFromString

      public Rank getRankFromString()
    • loadPunishments

      public void loadPunishments()
    • loadNotes

      public CompletableFuture<List<Note>> loadNotes()
    • toJSON

      public String toJSON()