Class ScoreboardLibraryImpl
java.lang.Object
net.megavex.scoreboardlibrary.implementation.ScoreboardLibraryImpl
- All Implemented Interfaces:
net.megavex.scoreboardlibrary.api.ScoreboardLibrary
public class ScoreboardLibraryImpl
extends Object
implements net.megavex.scoreboardlibrary.api.ScoreboardLibrary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanclosed()@NotNull net.megavex.scoreboardlibrary.api.objective.ObjectiveManager@NotNull net.megavex.scoreboardlibrary.api.sidebar.SidebarcreateSidebar(int maxLines, @Nullable Locale locale, @NotNull String objectiveName) @NotNull TeamManagerImpl@NotNull ScoreboardLibraryPlayergetOrCreatePlayer(@NotNull org.bukkit.entity.Player player) @Nullable ScoreboardLibraryPlayergetPlayer(@NotNull org.bukkit.entity.Player player) @NotNull net.megavex.scoreboardlibrary.implementation.packetAdapter.PacketAdapterProvider@NotNull org.bukkit.plugin.Pluginplugin()sidebars()@NotNull TaskSchedulerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.megavex.scoreboardlibrary.api.ScoreboardLibrary
createSidebar, createSidebar, createSidebar
-
Constructor Details
-
ScoreboardLibraryImpl
public ScoreboardLibraryImpl(@NotNull @NotNull org.bukkit.plugin.Plugin plugin) throws net.megavex.scoreboardlibrary.api.exception.NoPacketAdapterAvailableException - Throws:
net.megavex.scoreboardlibrary.api.exception.NoPacketAdapterAvailableException
-
-
Method Details
-
plugin
@NotNull public @NotNull org.bukkit.plugin.Plugin plugin() -
packetAdapter
@NotNull public @NotNull net.megavex.scoreboardlibrary.implementation.packetAdapter.PacketAdapterProvider packetAdapter() -
taskScheduler
-
createSidebar
@NotNull public @NotNull net.megavex.scoreboardlibrary.api.sidebar.Sidebar createSidebar(int maxLines, @Nullable @Nullable Locale locale, @NotNull @NotNull String objectiveName) - Specified by:
createSidebarin interfacenet.megavex.scoreboardlibrary.api.ScoreboardLibrary
-
createTeamManager
- Specified by:
createTeamManagerin interfacenet.megavex.scoreboardlibrary.api.ScoreboardLibrary
-
createObjectiveManager
@NotNull public @NotNull net.megavex.scoreboardlibrary.api.objective.ObjectiveManager createObjectiveManager()- Specified by:
createObjectiveManagerin interfacenet.megavex.scoreboardlibrary.api.ScoreboardLibrary
-
close
public void close()- Specified by:
closein interfacenet.megavex.scoreboardlibrary.api.ScoreboardLibrary
-
closed
public boolean closed()- Specified by:
closedin interfacenet.megavex.scoreboardlibrary.api.ScoreboardLibrary
-
teamManagers
-
objectiveManagers
-
sidebars
-
getOrCreatePlayer
@NotNull public @NotNull ScoreboardLibraryPlayer getOrCreatePlayer(@NotNull @NotNull org.bukkit.entity.Player player) -
getPlayer
@Nullable public @Nullable ScoreboardLibraryPlayer getPlayer(@NotNull @NotNull org.bukkit.entity.Player player)
-