Releases: herby2212/TTA
Releases · herby2212/TTA
5.5 AnimatedTablist + BukkitVersion methods update
General
- Added version structure information(major, minor & patch) to the debug message on startup
AnimatedTablist
-
Added method to the
TTA_Methods
class to send a animated tablist (header & footer) to a player -
TTA_Methods.sendAnimatedTablist(Player player, List<String> headers, List<String> footers, int refreshRateInTicks);
- the
refreshRateInTicks
affects both the header and footer
- the
-
The wiki entry for the tablist got updated (https://github.com/herby2212/TTA/wiki/Tablist#sendanimatedtablist)
BukkitVersion
- Added functions to directly get the
major
,minor
andpatch
version of the servers MC version
- The new methods can be found in the wiki: https://github.com/herby2212/TTA/wiki/BukkitVersion
5.4 MC 1.19 Support + Scoreboard Methods Update
General
- This version does now support Minecraft 1.19
- Implements #4
- Some methods received a Javadoc (this represents the first iteration and is not final)
ScoreboardAPI
- The API now checks if the player has a existing scoreboard and use this one then
- If the existing scoreboard is set to the
SIDEBAR
DisplaySlot it will get overridden - This allows the use of other scoreboard plugins e.g. a NameTag plugin
- If the existing scoreboard is set to the
Following methods got added:
TTA_Scoreboards.hide();
- hides the scoreboard for the corresponding player- This function clears the scoreboard and a new scoreboard can be assigned e.g. from another plugin
- The scoreboard instance still exists and can be reassigned to the player by using the .show() function explained next
TTA_Scoreboards.show();
- shows the scoreboard for the correponding player
5.3 ScoreboardAPI + MC 1.18 Support Update
General
- Optimized use of functions
- Fixed ItemEnchant class for newer MC versions
- Added support for all MC 1.18 versions
- For all functions and classes except Glow and the HoloAPI
- Updated debugger for newly supported version
- Implements #3
ActionBar
- Switched to 1.17+ internal classes for creating the ActionBar for MC 1.17 and above
Title
- When title and subtitle timings are the same the native and non NMS function is used
- This is to be in-line with the newer development approaches introduced in 1.17
ScoreboardAPI
- New class called
TTA_Scoreboards
which features several new API calls for creating and managing a scoreboard
- This scoreboard has the following features:
- Anti-Flicker
- Full support for all MC versions between 1.8 and 1.18
- A animated title with a 1s refresh interval
- The updating is handled by TTA only a
List<String>
needs to be provided for the several title iterations
- The updating is handled by TTA only a
- 48 Character support for pre 1.13.2 MC versions
- Content can easily be provided via
List<String>
for the several rows - The content can be updated on a per row basis
- Content can easily be provided via
A new scoreboard gets created the following way:
new TTA_Scoreboards(Player player, List<String> headerContent, List<String> content);
The new methods are the following:
TTA_Scoreboards.getPlayer();
- returns the set player of the scoreboardTTA_Scoreboards.updateTitle();
- updates title to the next iteration in the list- gets automatically executed by TTA every second
TTA_Scoreboards.updateTitleData(List<String> newTitle);
- updates the current list of titles- animated title gets stopped while updating and the continues with the first element of the updated list
TTA_Scoreboards.updateRow(int row, String content);
- updates a selected row of the scoreboard- The counting is, if looking on the scoreboard, downwards starting at 0 for the first row and 15 for the last row
TTA_Scoreboards.updateContent(List<String> rowContents);
- updates all rows at once with the provided list of contents- if not enough rows are provided the left ones retain their value
- if provided with null all rows get refreshed with their existing value
TTA_Scoreboards.remove();
- deletes the scoreboard and removes it from the player- should be executed on PlayerQuitEvent
The new static methods are the following:
TTA_Scoreboards.getScoreboards();
- returns a collection of all created TTA_ScoreboardsTTA_Scoreboards.getScoreboardByPlayer(Player player);
- returns the TTA_Scoreboard for this player
- More informations including examples and recommendations can be found on the corresponding wiki page: https://github.com/herby2212/TTA/wiki/Scoreboards
5.2 Major Refactor + 1.17 Support Update
General
- Nearly all parts of the API got refactored to reduce function calls, improve code style and allow support for newer versions
- No changes are required if you use any of the TTA classes compared to version 5.1
- Added support for MC 1.17
- ActionBar
- BossBar
- Tablist
- Title
- Sounds
- Updated debugger for newly supported version
5.1 Git + Optimization Update
General
- Cleaned up structure and removed obfuscation for GitHub publishment
- You may need to change/update the import of some classes when updating to this version
- The branches will be pushed at a later point (when the migration has advanced further)
- Optimized internal version checks to reduce amount of calls
- Check for unsupported versions
- If there is a fully unsupported version the plugin will now shutdown to prevent errors
- Currently 1.17 & 1.18
- If there is a fully unsupported version the plugin will now shutdown to prevent errors
- This version now fully support 1.15, 1.15.2 & 1.16 - 1.16.5
- This version includes the official release of TTA 5.0 so there will be no dedicated 5.0 release
Engine
- Moved the getEngine method from the
TTA_Methods
toTTA_BukkitVersion
class
BukkitVersion
- New class called
TTA_BukkitVersion
which features several new API calls for easier version checking and management
The new methods are the following:
TTA_BukkitVersion.getVersion();
- returns the bukkit version of the server e.g. 1.16.5-R0.1-SNAPSHOTTTA_BukkitVersion.getVersion(boolean split, int parts);
- split disabled: returns the full server version e.g. 1.16.5-R0.1-SNAPSHOT
- split enabled: returns the version indication e.g. 1.16.5
- The options parts allows to select the amount of numbers to return when split is enabled
- e.g. parts = 2 -> 1.16; parts = 3 -> 1.16.5
TTA_BukkitVersion.getVersionAsInt();
- returns the version as int e.g. 1.16 -> 116TTA_BukkitVersion.getVersionAsInt(int parts);
- returns the version as int while allowing to specify the amount of parts of the version indication for the integerTTA_BukkitVersion.isVersion(String version);
- check a string against the version indication of the server e.g. 1.16.5 == 1.16.5TTA_BukkitVersion.isVersion(String version, int parts);
- same as before while allowing to specify the amount of parts (can be useful if you only want to check for the major version e.g. 1.16)TTA_BukkitVersion.matchVersion(List<String> versions);
- checks a list of versions (e.g. 1.16.5, 1.14.4) against the server versionTTA_BukkitVersion.matchVersion(List<String> versions, int parts);
- allows to set the amount of parts to check for a match (e.g. 1.16, 1.14 when parts = 2)
- More informations can be found on the corresponding wiki page: https://github.com/herby2212/TTA/wiki/BukkitVersion
5.0 1.15 & 1.16 Update
General
- This version now fully support 1.15, 1.15.2 & 1.16
4.9 1.14 Update
General
- Fixed a error which could appear when using TTA 4.8 on plugin loading
- Updated debug
- Updated all functions to 1.14 (except Glow)
4.8 API Update
Glow
- Fixed color property (still work in progress)
- Changed
addEntityGlow(Entity entity, Color color)
method toaddEntityGlow(Entity entity, ChatColor color)
- Updated wiki entry: https://herbystar.eu/wiki/entity-glow/
Sound
- Support for MC 1.13 & 1.13.2
4.7 Legacy Update
General
- Updated debug mode & startup information for Minecraft 1.6, 1.7 & Protocol Hack (1.7.10/1.8)
- Updated wiki entry: https://herbystar.eu/wiki/bossbar/
BossBar
- Re-build the 1.8 bossbar to prevent viewing problems, glitches and a general bad behaviour
- this version now runs much more stable and is immune to most influences that a player could have
- the health parameter is currently locked at 100%
- The BossBar now supports 1.6, 1.7 & Protocol Hack (1.7.10/1.8)
- health parameter is enabled
- fixed viewing problems
- all 1.8 BossBar parameters are supported
- support for 1.6 & 1.7 is experimental
4.6 Marketplace Update
Marketplace
- Fixed updater to prevent errors with coming SSL encryption
(https://herbystar.eu/threads/ssl-marketplace-api-update.89/)