Skip to content

Releases: herby2212/TTA

5.5 AnimatedTablist + BukkitVersion methods update

19 Jun 11:59
Compare
Choose a tag to compare

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 wiki entry for the tablist got updated (https://github.com/herby2212/TTA/wiki/Tablist#sendanimatedtablist)

BukkitVersion

  • Added functions to directly get the major, minor and patch version of the servers MC version

5.4 MC 1.19 Support + Scoreboard Methods Update

10 Jun 20:00
Compare
Choose a tag to compare

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

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

05 Apr 10:45
Compare
Choose a tag to compare

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
    • 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

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 scoreboard
  • TTA_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_Scoreboards
  • TTA_Scoreboards.getScoreboardByPlayer(Player player); - returns the TTA_Scoreboard for this player

5.2 Major Refactor + 1.17 Support Update

02 Apr 14:30
Compare
Choose a tag to compare

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

02 Apr 14:30
Compare
Choose a tag to compare

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
  • 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 to TTA_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-SNAPSHOT
  • TTA_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 -> 116
  • TTA_BukkitVersion.getVersionAsInt(int parts); - returns the version as int while allowing to specify the amount of parts of the version indication for the integer
  • TTA_BukkitVersion.isVersion(String version); - check a string against the version indication of the server e.g. 1.16.5 == 1.16.5
  • TTA_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 version
  • TTA_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)

5.0 1.15 & 1.16 Update

01 Apr 06:44
3366309
Compare
Choose a tag to compare
Pre-release

General

  • This version now fully support 1.15, 1.15.2 & 1.16

4.9 1.14 Update

31 Mar 15:33
3366309
Compare
Choose a tag to compare

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

31 Mar 15:34
3366309
Compare
Choose a tag to compare

Glow

  • Fixed color property (still work in progress)
  • Changed addEntityGlow(Entity entity, Color color) method to addEntityGlow(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

31 Mar 15:34
3366309
Compare
Choose a tag to compare

General

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

31 Mar 15:35
3366309
Compare
Choose a tag to compare

Marketplace