Class BungeePlatform

java.lang.Object
me.lucyy.squirtgun.bungee.BungeePlatform
All Implemented Interfaces:
me.lucyy.squirtgun.platform.Platform

public class BungeePlatform extends Object implements me.lucyy.squirtgun.platform.Platform
A Platform implementation for BungeeCord.
  • Constructor Details

    • BungeePlatform

      public BungeePlatform(net.md_5.bungee.api.plugin.Plugin plugin)
  • Method Details

    • getBungeePlugin

      public net.md_5.bungee.api.plugin.Plugin getBungeePlugin()
    • name

      public String name()
      Specified by:
      name in interface me.lucyy.squirtgun.platform.Platform
    • getLogger

      public Logger getLogger()
      Specified by:
      getLogger in interface me.lucyy.squirtgun.platform.Platform
    • log

      public void log(net.kyori.adventure.text.Component component)
      Specified by:
      log in interface me.lucyy.squirtgun.platform.Platform
    • getAuthMode

      public me.lucyy.squirtgun.platform.AuthMode getAuthMode()
      Specified by:
      getAuthMode in interface me.lucyy.squirtgun.platform.Platform
    • getTaskScheduler

      public me.lucyy.squirtgun.platform.scheduler.TaskScheduler getTaskScheduler()
      Specified by:
      getTaskScheduler in interface me.lucyy.squirtgun.platform.Platform
    • registerEventListener

      public void registerEventListener(me.lucyy.squirtgun.platform.EventListener listener)
      Specified by:
      registerEventListener in interface me.lucyy.squirtgun.platform.Platform
    • unregisterEventListener

      public void unregisterEventListener(me.lucyy.squirtgun.platform.EventListener listener)
      Specified by:
      unregisterEventListener in interface me.lucyy.squirtgun.platform.Platform
    • getConsole

      public me.lucyy.squirtgun.platform.audience.SquirtgunUser getConsole()
      Specified by:
      getConsole in interface me.lucyy.squirtgun.platform.Platform
    • getPlayer

      public me.lucyy.squirtgun.platform.audience.SquirtgunPlayer getPlayer(UUID uuid)
      Specified by:
      getPlayer in interface me.lucyy.squirtgun.platform.Platform
    • getPlayer

      public me.lucyy.squirtgun.platform.audience.SquirtgunPlayer getPlayer(String name)
      Specified by:
      getPlayer in interface me.lucyy.squirtgun.platform.Platform
    • getOnlinePlayers

      public List<me.lucyy.squirtgun.platform.audience.SquirtgunPlayer> getOnlinePlayers()
      Specified by:
      getOnlinePlayers in interface me.lucyy.squirtgun.platform.Platform
    • getUser

      public me.lucyy.squirtgun.platform.audience.SquirtgunUser getUser(net.md_5.bungee.api.CommandSender sender)
      Gets a SquirtgunUser from a command sender.
      Parameters:
      sender - the command sender
    • getConfigPath

      public Path getConfigPath(me.lucyy.squirtgun.plugin.SquirtgunPlugin<?> plugin)
      Specified by:
      getConfigPath in interface me.lucyy.squirtgun.platform.Platform