java.lang.Object
com.gamersafer.minecraft.auth.paper.abstraction.PaperServer
All Implemented Interfaces:
com.gamersafer.minecraft.auth.common.abstraction.IServer

public class PaperServer extends Object implements com.gamersafer.minecraft.auth.common.abstraction.IServer
  • Constructor Details

    • PaperServer

      public PaperServer(org.bukkit.Server server, GSAuthPaper plugin)
  • Method Details

    • getPlayers

      public List<com.gamersafer.minecraft.auth.common.abstraction.IPlayer> getPlayers()
      Specified by:
      getPlayers in interface com.gamersafer.minecraft.auth.common.abstraction.IServer
    • getPlayer

      public Optional<com.gamersafer.minecraft.auth.common.abstraction.IPlayer> getPlayer(UUID uuid)
      Specified by:
      getPlayer in interface com.gamersafer.minecraft.auth.common.abstraction.IServer
    • getPlayer

      public Optional<com.gamersafer.minecraft.auth.common.abstraction.IPlayer> getPlayer(String name)
      Specified by:
      getPlayer in interface com.gamersafer.minecraft.auth.common.abstraction.IServer
    • getConsole

      public com.gamersafer.minecraft.auth.common.abstraction.IConsole getConsole()
      Specified by:
      getConsole in interface com.gamersafer.minecraft.auth.common.abstraction.IServer
    • dispatchCommand

      public void dispatchCommand(com.gamersafer.minecraft.auth.common.abstraction.ISender sender, String command)
      Specified by:
      dispatchCommand in interface com.gamersafer.minecraft.auth.common.abstraction.IServer