XGlow 1.0.5

No permission to download
Simple ProtocolLib based API to create glow on your entities.
Supported software
Supported versions
Tags
Tags
api glow
jK3qS5oMc30.jpg

(I noticed that the GlowAPI from the
inventivetalent has been abandoned, has not been updated for a long time, has bad reviews and bugs, as well as a rather low-quality code - so I decided to make and publish my own version of the api for the glow)

XGlow - is a simple, easy-to-use API to create glow on your entities. Its also supports animation for glow out of the box.

Usage
First you need to create a Glow object:
(You can use a builder for this)
Java:
/*
 * If you specify several colors,
 * you will also need to pass the main plugin class to the builder,
 * the animation refresh time in ticks, and,
 * optionally, whether the animation should be performed asynchronously
 */
Glow glow = Glow.builder()
                .animatedColor(ChatColor.GREEN)
                .name("test")
                .build();

You can add entity to glow object holders,
to make this entity glow with glow object colors.
The glow of the entity will be seen by all viewers
which the glow object contains:
Java:
glow.addHolders(entity);

To remove the glow of an entity,
you can remove it from the glow object holders.
The entity's glow will disappear for all viewers of the glow object:
Java:
glow.removeHolders(entity);

You can add a viewer to the glow object so that he immediately sees the glow of all holders of the glow object:
Java:
glow.display(player);

When the viewer is removed from the glow object,
all holders of the glow object will
no longer glow for removed viewer:
Java:
glow.hideFrom(player);

For more features check out XGlow wiki page on github: https://github.com/Xezard/XGlow/wiki

For any errors or suggestions, write to the discussion section.
If you use XGlow and you like it, please rate and leave a review about it!

Latest updates

  1. XGlow v.1.0.5

    Fix (#3).

Author

Xezard

Owner
Author
Xezard
Downloads
4
Views
86
First release
Last update
Rating
0.00 star(s) 0 ratings
Top
You need to upgrade!
Our dark style is reserved for our Premium members. Upgrade here.