SC
3.0latestUpdate 3.0: fren_gorSep 22, 2018 Note I have to admit, in the past month, I have been neglecting my Spigot projects, including this Sidebar API. I am therefore delighted that another member of the Spigot community, @fren_gor, has continuously contributed to this project; this update was prepared completely by him. Regardless, this is the latest version of the Sidebar API. If you have questions or concerns about the new API (there should be no breaking changes AFAIK), please contact fren_gor directly, as I shall no longer (except in a very specific subset of cases) be providing support with regards to this plugin (at least for the foreseeable future; I might "revive" this project myself sometime). I will still be hosting the old version under the permanent link https://voidev.info/files/permanent/SidebarAPI-v2.9.jar.2.9Update 2.9: Anti-flicker by fren_gorMay 31, 2018 This update adds an anti-flicker mechanism courtesy of fren_gor. Please note that this feature is still somewhat experimental. Should you encounter any issues, please feel free to create an issue.2.8Update 2.8: STEPS! Different "animation rates" for SidebarStringsApr 22, 2016 Changelog: - Added methods SidebarString#setStep(int) and #getStep() which handle the step stuff - Removed anti-flickering since it had been causing some strange issues .SpoilerTarget">Spoiler: How steps work Since version 2.8, the SidebarString class now has a property named "step". It defines how many times the method SidebarString#getNext() needs to be run before the actual new variation will be returned. By default, step will be set to 1 so always when SidebarString#getNext() is called, the next variation is returned. This system allows for different "animation rates" of individual SidebarStrings. What I mean by that is e.g. one SidebarString returns the next variation every second while the other SidebarString returns the next variation every other second. Now that you're done reading that, here are the methods and constructors dealing with steps: Code (Text): // Construct a new SidebarString with step set to 2 SidebarString line1 = new SidebarString(2, "variation 1", "variation 2", "etc."); // Construct a new SidebarString with step set to 2 and the placeholder player set to player1 SidebarString line2 = new SidebarString(player1, 2, "var 1", "var 2"); // Get the step of line1 int step = line1.getStep(); // Set the step of line2 to 4 // This method is also chainable (returns it's SidebarString Object) line2.setStep(4); Also one last thing to mention; the step data IS handled by configuration stuff.2.7Update 2.7: Half-decent anti-flickeringApr 16, 2016 Changelog: - some internal code changes to prevent flickering. Still work in progress, please report any bugs.2.6Update 2.6 - Auto-updater!Apr 6, 2016 Changelog: - Added auto-updater - Added config.yml for the auto-updater - Bugfixes2.5Update 2.5: Sidebar PlaceholdersApr 5, 2016 Changelog: - Added the following PlaceholderAPI placeholders: - "%sidebar_title%" - "%sidebar_linenextvar_n%" - "%sidebar_line_n_var_n%" .SpoilerTarget">Spoiler: Tutorial .SpoilerTarget">Spoiler: %sidebar_title% This placeholder will return the title of the Sidebar shown to the specified player, and "" if no Sidebar was found. .SpoilerTarget">Spoiler: %sidebar_linenextvar_n% Replace 'n' with any integer above or equal to 0. This placeholder will return the next variation of the SidebarString line n of the Sidebar shown to the specified player, and "" if any errors occur (for example invalid syntax). .SpoilerTarget">Spoiler: %sidebar_line_n_var_n% Replace n with any integer above or equal to 0. This placeholder will return the variation 2nd n of the SidebarString line 1st n of the Sidebar shown to the specified player, and "" if any errors occur (for example invalid syntax).2.4Update 2.4: PlaceholderAPI HookApr 4, 2016 Changelog: - Added support for PlaceholderAPI (NOT required)2.3Update 2.3: ANIMATION GENERATIONApr 3, 2016 Changelog: - Added scrolling animation generation: SidebarString.generateScrollingAnimation(String text, int displayWidth);2.2Update 2.2Apr 2, 2016 Changelog: - Bugfixes - Finally: no need to copy the class files into your project; plugin.yml and Main class implemented2.1Scoreboard Sidebar API - UPDATE 2.1Apr 1, 2016 Changelog: - Bug fixed: Adding and removing variations doesn't work2.0Apr 1, 2016
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta