Interface PlayerAdapter<T>

Type Parameters:
T - the player type

public interface PlayerAdapter<T>
A utility class for adapting platform Player instances to LuckPerms Users.

Note: this class will only work for online players.

The "player type" parameter must be equal to the class or interface used by the server platform to represent players.

Specifically:

  • org.bukkit.entity.Player
  • net.md_5.bungee.api.connection.ProxiedPlayer
  • org.spongepowered.api/entity.living.player.Player
  • cn.nukkit.Player
  • com.velocitypowered.api.proxy.Player
Since:
5.1