Package me.lucyy.squirtgun.bungee
Class BungeePlatform
java.lang.Object
me.lucyy.squirtgun.bungee.BungeePlatform
- All Implemented Interfaces:
me.lucyy.squirtgun.platform.Platform
A Platform implementation for BungeeCord.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionme.lucyy.squirtgun.platform.AuthModenet.md_5.bungee.api.plugin.PlugingetConfigPath(me.lucyy.squirtgun.plugin.SquirtgunPlugin<?> plugin)me.lucyy.squirtgun.platform.audience.SquirtgunUserList<me.lucyy.squirtgun.platform.audience.SquirtgunPlayer>me.lucyy.squirtgun.platform.audience.SquirtgunPlayerme.lucyy.squirtgun.platform.audience.SquirtgunPlayerme.lucyy.squirtgun.platform.scheduler.TaskSchedulerme.lucyy.squirtgun.platform.audience.SquirtgunUsergetUser(net.md_5.bungee.api.CommandSender sender)Gets a SquirtgunUser from a command sender.voidlog(net.kyori.adventure.text.Component component)name()voidregisterEventListener(me.lucyy.squirtgun.platform.EventListener listener)voidunregisterEventListener(me.lucyy.squirtgun.platform.EventListener listener)
-
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
- Specified by:
namein interfaceme.lucyy.squirtgun.platform.Platform
-
getLogger
- Specified by:
getLoggerin interfaceme.lucyy.squirtgun.platform.Platform
-
log
public void log(net.kyori.adventure.text.Component component)- Specified by:
login interfaceme.lucyy.squirtgun.platform.Platform
-
getAuthMode
public me.lucyy.squirtgun.platform.AuthMode getAuthMode()- Specified by:
getAuthModein interfaceme.lucyy.squirtgun.platform.Platform
-
getTaskScheduler
public me.lucyy.squirtgun.platform.scheduler.TaskScheduler getTaskScheduler()- Specified by:
getTaskSchedulerin interfaceme.lucyy.squirtgun.platform.Platform
-
registerEventListener
public void registerEventListener(me.lucyy.squirtgun.platform.EventListener listener)- Specified by:
registerEventListenerin interfaceme.lucyy.squirtgun.platform.Platform
-
unregisterEventListener
public void unregisterEventListener(me.lucyy.squirtgun.platform.EventListener listener)- Specified by:
unregisterEventListenerin interfaceme.lucyy.squirtgun.platform.Platform
-
getConsole
public me.lucyy.squirtgun.platform.audience.SquirtgunUser getConsole()- Specified by:
getConsolein interfaceme.lucyy.squirtgun.platform.Platform
-
getPlayer
- Specified by:
getPlayerin interfaceme.lucyy.squirtgun.platform.Platform
-
getPlayer
- Specified by:
getPlayerin interfaceme.lucyy.squirtgun.platform.Platform
-
getOnlinePlayers
- Specified by:
getOnlinePlayersin interfaceme.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
- Specified by:
getConfigPathin interfaceme.lucyy.squirtgun.platform.Platform
-