[API]  Title, Tablist, ActionBar, BossBar, Holo, Ping, Scoreboard API ★ 1.7 - 1.19 ★ TTA icon

[API] Title, Tablist, ActionBar, BossBar, Holo, Ping, Scoreboard API ★ 1.7 - 1.19 ★ TTA -----

Perfect and easy API for every developer who like shiny things!




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

BukkitVersion:
  • Added functions to directly get the major, minor and patch version of the servers MC version
----------, Jun 19, 2022

General:
  • This version does now support Minecraft 1.19
  • 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
----------, Jun 10, 2022

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

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

The new methods can be found on the corresponding wiki page: https://github.com/herby2212/TTA/wiki/Scoreboards

More informations can be found here: https://github.com/herby2212/TTA/releases/tag/5.3
----------, Apr 5, 2022

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
----------, Apr 4, 2022

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 can be found on the corresponding wiki page: https://github.com/herby2212/TTA/wiki/BukkitVersion

More informations can be found here: https://github.com/herby2212/TTA/releases/tag/5.1
----------, Apr 4, 2022

BossBar:
+ Updated the wiki entry: https://herbystar.eu/wiki/bossbar/
+ Does now also work for all 1.8 versions!
+ TTA_Methods.setBossBar(Player p, String text, float health, boolean fixViewDirectionUpdater) - create a bossbar for the specified player
  • p = player
  • text = message shown above bossbar
  • health = 0-100 bossbar indication
  • fixViewDirectionUpdater = if true, the bossbar will be updated every 2 seconds to fix not showing at some view directions (set this to false if you use this method multiple times in 2 seconds else to true)

  • 1.8 only method! Use TTA_Methods.createBossBar(..) for a 1.9+ bossbar
+ TTA_Methods.hasBossBar(Player player) = check if the player has a bossbar (works for both the 1.8 & 1.9+ bossbar)
+ TTA_Methods.removeBossBar(Player player) = remove the player's bossbar (works for both the 1.8 & 1.9+ bossbar)

Utils:
- Two new classes are now static accessible (de.Herbystar.TTA.Utils package)
+ Position class = two functions for player compass position & coordinates equivalent
+ Reflection class = several utilities for easier use of NMS / reflections to bypass MC version imports
----------, Sep 16, 2018

General:
- Updated debugger
- Updated server version chooser
- This is a exception to regular updates, as normal and following updates will only be published over at Marketplace: https://herbystar.eu/resources/api-title-tablist-actionbar-bossbar-holo-ping-glow-api-tta.12/updates

Methods:
Down below is a overview of all methods and if they support 1.13
General:
- getEngine: true

Title:
- sendTitle: true

Tablist:
- sendTablist: true

ActionBar:
- sendActionBar: true

EntityGlow:
- addEntityGlow: true

- removeEntityGlow: true
Holo:
- createHolo: false

- setHoloPlayers: false
- removeHoloPlayers: false
Head:
- spawnHead: true

TTA_Sounds:
- GetSoundByName: partial (sound libary yet not updated to include 1.13 sounds)

BossBar:
- createBossBar: false

- setBarTitle: false
- setBarColor: false
- setBarStyle: false
- addBarFlag: false
- setBarVisibility: false
- removeBarFlag: false
- removeBossBar: false
ItemGlow:
- createItemGlow: false
----------, Aug 29, 2018

NEW: Updater:
* Updated Spigot updater to new mechanic
* Removed Spigot Update Support!
* Implemented Marketplace Updater
=> As of now new updates will only be released here:
http://herbystar.eu/resources/api-t...r-bossbar-holo-ping-glow-api-1-7-1-12-tta.12/

Debug:
* Added engine
* Added running version

ServerVersion:
* Added engine notification (Spigot, Paper, Bukkit)

NEW! HoloAPI V2:
* TTA_Methods() methods still work as usual
* HoloAPI class can now be accessed directly to create multiple holo's:

Usage Example:

Code (Text):
TTA_HoloAPI holo = new TTA_HoloAPI();

holo.createHolo(l, lines);
holo.displayHolo(p);

Location l = new Location(e.getPlayer().getWorld(), -172, 85, 227);
ArrayList<String> lines = new ArrayList<String>();

* Updated Wiki Entry: http://herbystar.eu/wiki/hologramm/

NEW! PaperSpigot:
* TTA does now support all PaperSpigot version for MC 1.8 or higher

NEW! Engine method:
* TTA_Methods.getEngine()
-> return "engine_name"
-> return "Unknown Engine!" if no engine is found.

* Wiki Entry: http://herbystar.eu/wiki/engine/
----------, Oct 22, 2017

General:
* Updated maven file
* Updated server version hook
* Updated debug mode

1.12 Support:
  • All versions will work on 1.12
    • BossBar
    • Titles
    • Tablist
    • ActionBar
    • Hologramm
    • TPS
    • Ping
    • ItemGlow
    • EntityGlow
    • SpawnHead

Hologramm:
* Fixed 1.11 error
* Added support for 1.12
----------, Jun 9, 2017

General:
* Fixed file generation

EntityGlowMethods:
+ New Method: TTA_Methods.addEntityGlow(Entity entity, Color color); -> Option to set color for entities (Placeholder Method - No function at the moment)
* Expanded "removeEntityGlow" method to work also with the new method

Update:
* Prevented snapshots from trying to update
* Option to disable update check (Not recommended)
----------, Apr 10, 2017

EntityGlowMethods:
* "addEntityGlow" method is now marked as deprecated (relevant for upcoming updates)

ActionBar:
* Fixed duration value (int ticks)

Maven Repository:
* You will now find dev builds & releases under this adresses:
* You can now add TTA as a dependencie for your maven projects

Maven-Repo-Releases.jpg Maven-Repo-Snapshots.jpg
----------, Mar 3, 2017

Entity Glow Methods:
* Fixed static EntityGlow methods for v1_9_R2.

ActionBarAPI:
* Recoded some parts of the actionbar to support ALL 1.8 version
* Marked old Actionbar method as deprecated

TablistAPI:
* The method does now support ALL 1.8 versions
* Marked old Tablist method as deprecated

Maven:
* Rebuild to Maven project
* Planning to create a repository for TTA
----------, Feb 10, 2017

General:
* Updated the debug mode for the new methods

CTSNC+:
* CTSNC does now also support these new BossBar feautures( https://www.spigotmc.org/resources/...-nametag-chat-★-1-8-1-11-protocol-hack.11212/)

BossBar:
* Re-implemented bossbar functions for version between 1.9 - 1.11:

/* Need to be used first */
+ TTA_Methods.createBossBar(Player player, String text, Double progress, BarStyle barstyle, BarColor barcolor, BarFlag barflag, boolean visible);

/* Methods to edit the created bar in detail afterwards */
+ TTA_Methods.setBarTitle(String text);
+ TTA_Methods.setBarProgress(Double progress); - The double need to be between 0.0 and 1.0!
+ TTA_Methods.setBarColor(BarColor color);
+ TTA_Methods.setBarStyle(BarStyle style);
+ TTA_Methods.addBarFlag(BarFlag flag);
+ TTA_Methods.setBarVisibility(boolean visible);
+ TTA_Methods.removeBarFlag(BarFlag flag);
+ TTA_Methods.removeBossBar(Player player);

Developer Comment: It lasted long to re-implement those methods, but now
where there are back with more details and secure checks I am looking forward
to implement them for most of my plugins and also I will take a look for full 1.8 support.
Also I need to apologize to everyone that it taked much longer then I promised.
----------, Jan 8, 2017

General:
* Correct version number on Spigot
* Updated debug mode
* Updated the following Methods especially to 1.11:
  • TTA_Methods.spawnHead(Location location, String owner);
  • TTA_Methods.addEntityGlow(CraftEntity entity);
  • TTA_Methods.removeEntityGlow(CraftEntity entity);
* All other methods should also work without any problems with 1.11
----------, Nov 20, 2016

General:
+ Updated the methods list.
* Version 3.2

ActionBar:

+ New: TTA_Methods.sendActionBar(Player player, String message, int duration);
-> Allows you to set a ActionBar for a specific player for a special amount of time.
For example: Broadcast messages via the actionbar that are not disappearing.
----------, Sep 25, 2016

General:
* Updated the debug mode!

New Method:
* TTA_Methods.getTPS(int ticks); -> Return the TPS value from the server as double

Examples:
* String.replace("[TPS]", String.format("%.2f", (double) TPS.getTPS(100)));
* TTA_Methods.getTPS(100);
----------, Sep 21, 2016

Classes:
* Version classes updated & cleaned
* New Ping class (performence improvements & code cleaning)
----------, Sep 15, 2016

General:
+ Server version message for versions between 1.9.2 - 1.10!

Debug Mode:
+ New config.yml!
+ Option to enable Debug Mode!
+ Debug Mode show you all working methods for your server version!
----------, Aug 7, 2016

General:
+ Fixed chest command problem! (Now working with 1.8 without problems)

Methods:
+ Improved createItemGlow method!
----------, Aug 4, 2016

Holo:
+ Support for 1.10!
----------, Jun 19, 2016

TTA:
+ Improved/fixed 1.10 support.
+ Recoded a lot of classes to improve performence!
+ Easier use for coming minecraft version!
----------, Jun 12, 2016

1.10:
+ 1.10 support for all methods!
----------, Jun 11, 2016

Holo Methods:
+ Check for Holo methods!
Holo methods are now not working anymore with 1.7!

+
Error fix for holo class initialize!
----------, Jun 4, 2016

Methods:
+ New Method: TTA_Methods.createItemGlow(ItemMeta itemmeta);

Example:
ItemStack i = new ItemStack(Material.APPLE);
ItemMeta m = i.getItemMeta();
m = TTA_Methods.createItemGlow(m);
i.setItemMeta(m);
p.setItemInHand(i);

General:
+ Code update!
----------, Jun 3, 2016

Methods:
+ New Method: TTA_Methods.spawnHead(Location location, String owner);

EntityGlow:
+ The removeEntityGlow method does now use a Entity instead of an CraftEntity!
----------, May 29, 2016

EntityGlow:
+ Method does now also work with 1.9.4!
+ You can now use it on every Entity you like without problems ;)

Holo Methods:

+ Renamed "TTA_Methods.removeHolo(Player players)" to "TTA_Methods.removeHoloPlayers(Player players)"!
----------, May 16, 2016

General:
+ 1.9.4 Support!
- No 1.9.4 Support for EntityGlow!
----------, May 10, 2016

HoloAPI:
+ Function to remove the holo you created before!
+ Performence improvements!

TTA_Methods.removeHolo(Player players);
----------, May 5, 2016

Updater:
+ Updated update informations!

GlowAPI:
+ Additional Checks to prevent errors!

HoloAPI:

+ New Methods to create a hologramm and show it special players!

TTA_Methods.createHolo(Location location, List<String> lines);
TTA_Methods.setHoloPlayers(Player players);
----------, Apr 29, 2016

BossBar:
+ Removed BossBar methods in this version!

EntityGlow:
+ PlayerGlow methods are now called EntityGlowMethods!
+ You can now use the glow on every entity!
----------, Apr 28, 2016

1.7.9/Protocol Hack Title & Ping API:
+ Following Methods now work for 1.7.9!

+ TTA_Methods.sendTitle(Player, Title, Fadeint, Stayt, Fadeoutt, Subtitle, Fadeinst, Stayst, Fadeoutst);
+ TTA_Methods.getPing(Player);


1.7.2 Ping API:
+ Following Methods now work for 1.7.2!

+ TTA_Methods.getPing(Player);
----------, Apr 16, 2016

Terms:
+ You are now automatically accept the Terms if you use the plugin!
----------, Apr 10, 2016

PlayerGlow API! [1.9 Only!]:
+ Add/Remove Glow for Players! - Make it possible to see players behind walls and more...

TTA_Methods.addPlayerGlow(Player player);
TTA_Methods.removePlayerGlow(Player player);​
----------, Mar 29, 2016

BossBar:
+ New API method for the 1.9 BossBar! ( This method does only work on 1.9 servers!)
+ You can set BarStyle, BarFlag, BarColor with the method!

TTA_Methods.sendBossBar(Server server, Player player, String text, Double barprogress, BarColor barcolor, BarStyle barstyle, BarFlag barflag);​

General:

+ Updated automatic version check!
----------, Mar 28, 2016

AutoUpdater:
+ Updated informations for the AutoUpdater!

JAVA:

+ Java 7 Support!
+ Fix Java minor version error!
----------, Mar 11, 2016

API:
+ Every Method will now automatically use the matching version for your server!

+ To invoke the new API you just need to use: TTA_Methods.
For example:
TTA_Methods.sendTablist(Player, header, footer);

- The old Methods (For example "Methods1_9.") will not work anymore!
----------, Mar 7, 2016

Resource Information
Author:
----------
Total Downloads: 70,985
First Release: Mar 6, 2016
Last Update: Jun 19, 2022
Category: ---------------
All-Time Rating:
35 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings