Sueta
[A

[API] GlowAPI

1.5.7-SNAPSHOT

Control the color players & entities glow in

·Plugin

This API allows you to change the glow-color of entities and players.

Depends on PacketListenerAPI

Note about 1.13
Version 1.4.7 is intended for 1.13+ only. For older MC versions, please use 1.4.6.

Usage

@EventHandler
public void onJoin(final PlayerJoinEvent event) {
    //Delay the update by a few ticks until the player is actually on the server
    Bukkit.getScheduler().runTaskLater(this, new Runnable() {
        @Override
        public void run() {
            //Set the event's player glowing in DARK_AQUA for all online players
            GlowAPI.setGlowing(event.getPlayer(), GlowAPI.Color.DARK_AQUA, Bukkit.getOnlinePlayers());
        }
    }, 10);
}

Maven
https://jitpack.io/#InventivetalentDev/GlowAPI

Example Video (French):
YouTube

Links

Please leave a rating if you like this resource.
Donations to support me or this resource are also very much appreciated.

Similar projects

Plugin →