Uses of Class
com.andrei1058.spigot.sidebar.PlaceholderProvider
-
Uses of PlaceholderProvider in com.andrei1058.spigot.sidebar
Modifier and TypeMethodDescriptionSidebar.getPlaceholders()
Get placeholder providers list.@NotNull Collection<PlaceholderProvider>
TabHeaderFooter.getPlaceholders()
WrappedSidebar.getPlaceholders()
Modifier and TypeMethodDescriptionvoid
Sidebar.addPlaceholder
(PlaceholderProvider placeholderProvider) Add a new placeholder provider for sidebar lines.void
WrappedSidebar.addPlaceholder
(PlaceholderProvider placeholderProvider) Modifier and TypeMethodDescriptionabstract VersionedTabGroup
SidebarProvider.createPlayerTab
(WrappedSidebar sidebar, String identifier, SidebarLine prefix, SidebarLine suffix, PlayerTab.PushingRule pushingRule, PlayerTab.NameTagVisibility nameTagVisibility, @Nullable Collection<PlaceholderProvider> placeholders) SidebarLine.getTrimReplacePlaceholders
(@Nullable org.bukkit.entity.Player papiSubject, @Nullable Integer limit, Collection<PlaceholderProvider> placeholders) Use this for tab prefix-suffix or scoreboard title.static @NotNull String
SidebarLine.getTrimReplacePlaceholders
(String scope, @Nullable org.bukkit.entity.Player papiSubject, @Nullable Integer limit, Collection<PlaceholderProvider> placeholders) SidebarLine.getTrimReplacePlaceholdersScore
(@Nullable org.bukkit.entity.Player papiSubject, @Nullable Integer limit, Collection<PlaceholderProvider> placeholders) static void
SidebarLine.markHasPlaceholders
(@NotNull SidebarLine text, Collection<PlaceholderProvider> placeholders) Search for placeholders and mark line as placeholder dependent.Sidebar.playerTabCreate
(String identifier, @Nullable org.bukkit.entity.Player player, SidebarLine prefix, SidebarLine suffix, PlayerTab.PushingRule pushingRule, @Nullable Collection<PlaceholderProvider> placeholders) Create a new tab list layout group.WrappedSidebar.playerTabCreate
(@NotNull String identifier, @Nullable org.bukkit.entity.Player player, SidebarLine prefix, SidebarLine suffix, PlayerTab.PushingRule pushingRule, @Nullable Collection<PlaceholderProvider> placeholders) void
TabHeaderFooter.setPlaceholders
(@Nullable Collection<PlaceholderProvider> placeholders) ModifierConstructorDescriptionTabHeaderFooter
(LinkedList<SidebarLine> header, LinkedList<SidebarLine> footer, @Nullable Collection<PlaceholderProvider> placeholders) Create a new tab context.