Class BukkitPlayer

java.lang.Object
dev.magicmq.pyspigot.bukkit.util.player.BukkitPlayer
All Implemented Interfaces:
dev.magicmq.pyspigot.util.player.PlayerAdapter

public class BukkitPlayer extends Object implements dev.magicmq.pyspigot.util.player.PlayerAdapter
A wrapper for the Bukkit Player class.
  • Constructor Details

    • BukkitPlayer

      public BukkitPlayer(Player player)
      Parameters:
      player - The Bukkit Player
  • Method Details

    • hasPermission

      public boolean hasPermission(String permission)
      Specified by:
      hasPermission in interface dev.magicmq.pyspigot.util.player.PlayerAdapter
    • sendMessage

      public void sendMessage(Component message)
      Specified by:
      sendMessage in interface dev.magicmq.pyspigot.util.player.PlayerAdapter