Git Product home page Git Product logo

glowapi's People

Contributors

devscyu avatar elikill58 avatar hexedhero avatar ihdeveloper avatar inventivetalentdev avatar renovate-bot avatar renovate[bot] avatar sydmontague avatar th3shadowbroker avatar theseems avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

glowapi's Issues

Console Error Spam Problem on Paper 1.15.2

What steps will reproduce the problem?

  1. Put Latest GlowAPI and PacketListenerAPI in server
  2. Start server
  3. Join Server (and console starts spamming "[PacketListenerAPI] An exception occured while trying to execute 'onSend' in plugin GlowAPI" error)

What were you expecting to happen? What happened instead?

Well, I expected no errors

What version of the plugin are you using? Type /version <Plugin Name>

GlowAPI = 1.4.11-SNAPSHOT
PacketListenerAPI = 3.7.6-SNAPSHOT

What Spigot version are you using? Type /version

Paper-226

What plugins ae you using? Type /plugins

Essentials,GlowAPI,PacketListenerAPI

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

https://pastebin.com/aU4E8wh6

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

Haven't tested other versions

Error

22:29:55] [Craft Scheduler Thread - 30/WARN]: [AquaCore] Plugin AquaCore v1.13.2 generated an exception while executing task 4830
java.lang.NoClassDefFoundError: sun/reflect/ConstructorAccessor
	at org.inventivetalent.glow.reflection.minecraft.Minecraft.newEnumInstance(Minecraft.java:213) ~[?:?]
	at org.inventivetalent.glow.reflection.minecraft.Minecraft$Version.getVersion(Minecraft.java:180) ~[?:?]
	at org.inventivetalent.glow.reflection.minecraft.Minecraft.<clinit>(Minecraft.java:33) ~[?:?]
	at org.inventivetalent.glow.reflection.resolver.minecraft.NMSClassResolver.resolve(NMSClassResolver.java:15) ~[?:?]
	at org.inventivetalent.glow.GlowAPI$Color.<init>(GlowAPI.java:426) ~[?:?]
	at org.inventivetalent.glow.GlowAPI$Color.<clinit>(GlowAPI.java:402) ~[?:?]
	at eu.aquacraft.AquaCore.Spigot.Tasks.GlowTask.getColor(GlowTask.java:28) ~[?:?]
	at eu.aquacraft.AquaCore.Spigot.Tasks.GlowTask.run(GlowTask.java:18) ~[?:?]
	at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:63) ~[patched_1.13.2.jar:git-Paper-455]
	at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) ~[patched_1.13.2.jar:git-Paper-455]
	at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.13.2.jar:git-Paper-455]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1135) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
	at java.lang.Thread.run(Thread.java:844) [?:?]
Caused by: java.lang.ClassNotFoundException: sun.reflect.ConstructorAccessor
	at java.net.URLClassLoader.findClass(URLClassLoader.java:466) ~[?:?]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:158) ~[patched_1.13.2.jar:git-Paper-455]
	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:104) ~[patched_1.13.2.jar:git-Paper-455]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:566) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:499) ~[?:?]
	... 14 more

on git-Paper-455 (MC: 1.13.2)

1.4.4 PlayerJoinEvent NPE

GlowAPI v1.4.4 - PlayerJoinEvent NPE.

[22:00:17] [Server thread/ERROR]: Could not pass event PlayerQuitEvent to GlowAPI v1.4.4
org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-90f61bc-83a9dbd]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-90f61bc-83a9dbd]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-90f61bc-83a9dbd]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-90f61bc-83a9dbd]
        at net.minecraft.server.v1_10_R1.PlayerList.disconnect(PlayerList.java:385) [server.jar:git-Spigot-90f61bc-83a9dbd]
        at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1061) [server.jar:git-Spigot-90f61bc-83a9dbd]
        at net.minecraft.server.v1_10_R1.NetworkManager.handleDisconnection(NetworkManager.java:318) [server.jar:git-Spigot-90f61bc-83a9dbd]
        at net.minecraft.server.v1_10_R1.ServerConnection.c(ServerConnection.java:174) [server.jar:git-Spigot-90f61bc-83a9dbd]
        at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:827) [server.jar:git-Spigot-90f61bc-83a9dbd]
        at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:400) [server.jar:git-Spigot-90f61bc-83a9dbd]
        at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:668) [server.jar:git-Spigot-90f61bc-83a9dbd]
        at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:567) [server.jar:git-Spigot-90f61bc-83a9dbd]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]
Caused by: java.lang.NullPointerException
        at org.inventivetalent.packetlistener.ChannelInjector.removeChannel(ChannelInjector.java:79) ~[?:?]
        at org.inventivetalent.packetlistener.PacketListenerAPI.onQuit(PacketListenerAPI.java:122) ~[?:?]
        at sun.reflect.GeneratedMethodAccessor636.invoke(Unknown Source) ~[?:?]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[server.jar:git-Spigot-90f61bc-83a9dbd]
        ... 12 more

1.4.17-SNAPSHOT conflicts with Paper 1.16.5

git-Paper-778 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
PacketListenerApi version 3.9.3-SNAPSHOT
GlowAPI version 1.4.17-SNAPSHOT

Looks like ReflectionHelper is trying to use NMS package names from MC 1.17:

[ReflectionHelper/MinecraftVersion] Version is v1_16_R3 (11603)
Could not pass event PlayerJoinEvent to GlowAPI v1.4.17-SNAPSHOT
java.lang.RuntimeException: java.lang.ClassNotFoundException: Could not resolve class for [ResolverQuery{name='net.minecraft.server.v1_16_R3.network.protocol.game.PacketPlayOutScoreboardTeam', types=[]}]
	at org.inventivetalent.glow.GlowAPI.sendTeamPacket(GlowAPI.java:490) ~[?:?]
	at org.inventivetalent.glow.GlowAPI.initTeam(GlowAPI.java:374) ~[?:?]
	at org.inventivetalent.glow.GlowAPI.initTeam(GlowAPI.java:384) ~[?:?]
	at org.inventivetalent.glow.GlowAPI.onJoin(GlowAPI.java:628) ~[?:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor68.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Paper-778]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Paper-778]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Paper-778]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.16.5.jar:git-Paper-778]
	at net.minecraft.server.v1_16_R3.PlayerList.postChunkLoadJoin(PlayerList.java:356) ~[patched_1.16.5.jar:git-Paper-778]
	at net.minecraft.server.v1_16_R3.PlayerList.lambda$a$1(PlayerList.java:303) ~[patched_1.16.5.jar:git-Paper-778]
	at net.minecraft.server.v1_16_R3.PlayerConnection.tick(PlayerConnection.java:316) ~[patched_1.16.5.jar:git-Paper-778]
	at net.minecraft.server.v1_16_R3.NetworkManager.a(NetworkManager.java:408) ~[patched_1.16.5.jar:git-Paper-778]
	at net.minecraft.server.v1_16_R3.ServerConnection.c(ServerConnection.java:168) ~[patched_1.16.5.jar:git-Paper-778]
	at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1515) ~[patched_1.16.5.jar:git-Paper-778]
	at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:436) ~[patched_1.16.5.jar:git-Paper-778]
	at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1342) ~[patched_1.16.5.jar:git-Paper-778]
	at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1130) ~[patched_1.16.5.jar:git-Paper-778]
	at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-778]
	at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ClassNotFoundException: Could not resolve class for [ResolverQuery{name='net.minecraft.server.v1_16_R3.network.protocol.game.PacketPlayOutScoreboardTeam', types=[]}]
	at org.inventivetalent.glow.reflection.resolver.ClassResolver.notFoundException(ClassResolver.java:42) ~[?:?]
	at org.inventivetalent.glow.reflection.resolver.ClassResolver.notFoundException(ClassResolver.java:9) ~[?:?]
	at org.inventivetalent.glow.reflection.resolver.ResolverAbstract.resolve(ResolverAbstract.java:63) ~[?:?]
	at org.inventivetalent.glow.reflection.resolver.ClassResolver.resolve(ClassResolver.java:29) ~[?:?]
	at org.inventivetalent.glow.reflection.resolver.minecraft.NMSClassResolver.resolve(NMSClassResolver.java:29) ~[?:?]
	at org.inventivetalent.glow.GlowAPI.sendTeamPacket(GlowAPI.java:390) ~[?:?]
	... 19 more

GlowAPI

What steps will reproduce the problem?

  1. Install GlowAPI

  2. Install TacoSpigot

What were you expecting to happen? What happened instead?

Functioned normally

What version of the plugin are you using? Type /version <Plugin Name>

1.4.13

What Spigot version are you using? Type /version

TacoSpigot-1.12.2-b114.jar

What plugins ae you using? Type /plugins

None that interfere

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

https://pastebin.com/J1Yrn4s0

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

JoinEvent Effect Not Colored.

What steps will reproduce the problem?

  1. adding this to my player join event
  2. joining with the right perms

What were you expecting to happen? What happened instead?

i expect that the player will join with colored glow effect but it is not happening

What version of the plugin are you using? Type /version <Plugin Name>

1.4.4

What Spigot version are you using? Type /version

Spigot-9797151-301db84 minecraft 1.10.2

What plugins are you using? Type /plugins

GlowAPI, PacketListenerAPI, Pex (and of course my plugin)

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

No Errors!

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No.

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

my code: http://pastebin.com/23KBST8M

Error in Spigot 1.14.3 (ClassNotFound)

What steps will reproduce the problem?

  1. Run plugin in 1.14.3

What were you expecting to happen? What happened instead?

Return a missing class IntHashMap

What Spigot version are you using? Type /version

This server is running CraftBukkit version git-Spigot-d05d3c1-087a2cf (MC: 1.14.3) (Implementing API version 1.14.3-R0.1-SNAPSHOT)

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log https://pastebin.com/5X99zjwE

The plugin is not working with 1.13

What steps will reproduce the problem?

  1. Install the plugin
  2. Run the server on 1.13

What were you expecting to happen? What happened instead?

The plugin to load given that 1.13 was supposed to have legacy plugin support

What version of the plugin are you using? Type /version <Plugin Name>

What Spigot version are you using? Type /version

This server is running CraftBukkit version git-Spigot-0b44fa0-1ef1ffd (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)

What plugins ae you using? Type /plugins

GlowAPI version 1.4.6-SNAPSHOT

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

https://pastebin.com/5axYGkT4

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

It disconnected from the server but did not crash

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

PaperSpigot vs. GlowAPI

Console:
22.06 22:28:00 [Server] WARN [ReflectionHelper] Failed to find DataWatcherObject for Entity #57 22.06 22:28:00 [Server] WARN [ReflectionHelper] Failed to find DataWatcherObject for Entity #58 22.06 22:28:00 [Server] ERROR java.lang.NullPointerException 22.06 22:28:00 [Disconnect] User CeIebrimbor has disconnected, reason: Disconnected

This was discussed on Spigot page for GlowAPI as being a conflict with PaperSpigot.

tagVisibility, push seems to not be able to change

I'm not abble to hide the nametag of a player when his glowing

What steps will reproduce the problem?

Using java in skript :
GlowAPI.setGlowing({_entity}, Color.valueOf({_color}), "never", "never", loop-value)

The problem is not from skript but if you know skript, this is my code:

import:
    org.inventivetalent.glow.GlowAPI
    org.inventivetalent.glow.GlowAPI$Color
effect make %entity% glow [with color] %string% to %players% for %timespan%:
    trigger:
        set {_entity} to expression-1
        set {_players::*} to expression-3 
        set {_color} to expression-2.toUpperCase()
        replace all " " with "_" in {_color}
        loop {_players::*}:
            GlowAPI.setGlowing({_entity}, Color.valueOf({_color}), "never", "never", loop-value)
        wait expression-4
        loop {_players::*}:
            GlowAPI.setGlowing({_entity}, false, loop-value)

What were you expecting to happen? What happened instead?

Nametag visibility should not appear when the player is glowing , the 'tagVisibility' seems to not work (maybe also the 'push', idk)

I Think the issue is from the fact of tagVisibility can only be set if the field "mode" of the packet is "0: create team" or "2: update team info" , but your method only send methods "3: add players to team" and "4: remove players from team"

What version of the plugin are you using? Type /version <Plugin Name>

1.4.11-SNAPHOT
/versio

What Spigot version are you using? Type /version

Paper 1.14.4 git-243

What plugins ae you using? Type /plugins

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

NO

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

NO

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

NOT USING BUNGEECORD

Strange behavior

What steps will reproduce the problem?

  1. Call sendGlowPacket().
  2. Call sendTeamPacket().
  3. Use setGlowing() for a comparison.

What were you expecting to happen? What happened instead?

I expected the plugin to work normally but instead I found out that it behavior is confusing.

What version of the plugin are you using?

I am using the 1.4.4 version.

What Spigot version are you using?

Spigot 1.10.2

What plugins are you using?

One custom plugin to use the API, the GlowAPI and its dependencies

Do you have an error log? Use pastebin.com.

There is no error log on the screen.

Did your client crash?

The client did not crash.

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

Not using BungeeCord.

Kicked when attempting to login

What steps will reproduce the problem?

  1. Run server
  2. Attempt to login

What were you expecting to happen? What happened instead?

Logging in working

What version of the plugin are you using? Type /version <Plugin Name>

What Spigot version are you using? Type /version

CraftBukkit version git-Spigot-800b93f-e911c70 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)

What plugins ae you using? Type /plugins

Plugins (7): WorldEdit, Essentials, Infected, PacketListenerApi, ProtocolLib, LibsDisguises, GlowAPI

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

https://sourceb.in/3ce20d89b6

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

No Bungeecord, haven't tested previous versions

Glow does not work for multiple players.

What steps will reproduce the problem?

  1. Set the glow of one entity to two different colors for two different players.

What were you expecting to happen? What happened instead?

I expect the two colors to show up properly for each player, instead the wrong color shows.

What version of the plugin are you using? Type /version <Plugin Name>

GlowAPI v1.4.4

What Spigot version are you using? Type /version

What plugins ae you using? Type /plugins

PacketListenerAPI, GlowAPI,

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

No error.

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

I did some looking into the bug, it appears to be because there are some places where the same packet object is sent to each player, and so when a change to the packet is applied, all players that get sent that packet after the change will receive those changes. This means GlowAPI needs to not send the original packet object, but clone it, make changes, and send it to the individual player.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/maven.yml
  • actions/checkout v3
  • actions/setup-java v3
  • actions/upload-artifact v3
maven
pom.xml
  • org.apache.maven.plugins:maven-compiler-plugin 3.8.1
  • org.apache.maven.plugins:maven-shade-plugin 3.3.0
  • io.papermc.paper:paper-api 1.17.1-R0.1-SNAPSHOT
  • org.inventivetalent.packetlistenerapi:api 3.9.9-SNAPSHOT
  • org.inventivetalent:reflectionhelper 1.18.11-SNAPSHOT
  • org.bstats:bstats-bukkit-lite 1.7

  • Check this box to trigger a request for Renovate to run again on this repository

Failed to find DataWatcherObject

On 1.16.2 using GlowAPI 1.4.13-SNAPSHOT when you for the first time set an entity such as an item to glow it'll output this below in the console.

[11:08:24 WARN]: [ReflectionHelper] Failed to find DataWatcherObject for EntityHorse #4 (1+1)
[11:08:24 WARN]: [ReflectionHelper] Failed to find DataWatcherObject for EntityHorse #5 (1+2)
[11:08:24 WARN]: [ReflectionHelper] Failed to find DataWatcherObject for EntityHorse #6 (1+3)
[11:08:24 WARN]: [ReflectionHelper] Failed to find DataWatcherObject for EntityHorse #7 (1+4)

1.16.4 compatibility

What steps will reproduce the problem?

  1. Run glowAPI in 1.16.4 jar

What were you expecting to happen? What happened instead?

A non-spammy console. Got spammed with glowAPI stuff.

What version of the plugin are you using? Type /version <Plugin Name>

1.4.13

What Spigot version are you using? Type /version

1.16.4

What plugins ae you using? Type /plugins

A crap load of em.

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

https://pastebin.com/wis9YJ0r

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No.

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

it worked in 1.16.2
Doesn't work in 1.16.4
I guess it just needs a compatibility update thats all. The plugin doesn't work at all in 1.16.4

Console Errors

What steps will reproduce the problem?

  1. None

What were you expecting to happen? What happened instead?

Not sure, just some console errors.

What version of the plugin are you using? Type /version <Plugin Name>

GlowAPI_v1.4.10-SNAPSHOT.jar

What Spigot version are you using? Type /version

PaperSpigot 1.15.2 (328)

What plugins ae you using? Type /plugins

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

https://pastebin.com/EvJhRbcM

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

Yes

White Glow Blink after disabling Glow

What steps will reproduce the problem?

  1. Apply a glow effect (I used RED) to you and another player
  2. After a while, disable the effect.
  3. If you walk around, you'll occasionally see you and/or the other player blink white

What were you expecting to happen? What happened instead?

When I disabled the glow, I expect that player to no longer glow, but instead there is this weird blink effec going on

What version of the plugin are you using? Type /version <Plugin Name>

1.4.13

What Spigot version are you using? Type /version

What plugins ae you using? Type /plugins

PacketListenerAPI, ProtocolLib, GlowAPI, WorldGuard, BKCommonLib, LightCleaner

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

No

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No.

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

Possible to retain prefix/suffix from global scoreboard?

Seems this plugin (testing with uGlow) sends an entirely new team/scoreboard to the client for glowing players.

Is it possible you could use the server's scoreboard and only change the team color being sent to clients? I currently use the global scoreboard for various things (health in one plugin, clan prefix in another).

Alternatively (and would be better since it would allow for prefixes/suffixes/etc. to be updated without you having to "re-process"), if it's possible to just send a team color packet, that'd be the best way.

I'm not too familiar with the packet side of things, so not sure if this is feasible. (Otherwise I'll just set team colors myself and apply glow effect when necessary.)

My console is flooded when a player enters the server

Describe the bug
When a player enters my server, even without interacting with GlowAPI directly/indirectly, he returns this error to me.

To Reproduce
Steps to reproduce the behavior:

  1. Enter the server;
  2. See error.

Expected behavior
I believe this was not to occur.

Screenshots
https://prnt.sc/vlkkv8

Additional context
Well, I use GlowAPI as an aid to MythicMobs, because GlowAPI adds many interesting effects...it works very well with MythicMobs, and this error only occurs when the player enters the server (when he fights the mm monster, does something, no error occurs).

ERR:

> [12:11:59 ERROR]: Could not pass event PlayerJoinEvent to GlowAPI v1.4.14-SNAPSHOT
org.bukkit.event.EventException: null
at com.massivecraft.massivelag.inject.MassiveLagEventExecutor.execute(MassiveLagEventExecutor.java:79) ~[?:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.PlayerList.onPlayerJoin(PlayerList.java:370) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.PlayerList.a(PlayerList.java:183) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.LoginListener.b(LoginListener.java:178) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.LoginListener.e(LoginListener.java:68) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.NetworkManager.a(NetworkManager.java:273) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.ServerConnection.c(ServerConnection.java:150) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:948) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
Caused by: java.lang.IllegalArgumentException: Can not set int field net.minecraft.server.v1_12_R1.PacketPlayOutScoreboardTeam.g to net.minecraft.server.v1_12_R1.EnumChatFormat
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167) ~[?:1.8.0_262]
at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171) ~[?:1.8.0_262]
at sun.reflect.UnsafeIntegerFieldAccessorImpl.set(UnsafeIntegerFieldAccessorImpl.java:98) ~[?:1.8.0_262]
at java.lang.reflect.Field.set(Field.java:764) ~[?:1.8.0_262]
at org.inventivetalent.glow.GlowAPI.sendTeamPacket(GlowAPI.java:366) ~[?:?]
at org.inventivetalent.glow.GlowAPI.initTeam(GlowAPI.java:334) ~[?:?]
at org.inventivetalent.glow.GlowAPI.initTeam(GlowAPI.java:344) ~[?:?]
at org.inventivetalent.glow.GlowAPI.onJoin(GlowAPI.java:537) ~[?:?]
at sun.reflect.GeneratedMethodAccessor1011.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_262]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_262]
at com.massivecraft.massivelag.inject.MassiveLagEventExecutor.execute(MassiveLagEventExecutor.java:69) ~[?:?]
... 13 more

NMS error on 1.17

Describe the bug
Plugin fails to instantiate classes due to the NMS repackage in Spigot 1.17 -- Stacktrace

To Reproduce
Steps to reproduce the behavior:

  1. Install Spigot/Paper 1.17, PacketListenerAPI, and GlowAPI
  2. Join server
  3. Error

Additional context
Running Paper 1.17 commit 22280c5 (build #30) w/ PacketListenerAPI 3.9.4-SNAPSHOT

Glow not work.

Hello! Here is error in my server log:
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.inventivetalent.glow.reflection.minecraft.DataWatcher$V1_9$ValueType at org.inventivetalent.glow.GlowAPI.sendGlowPacket(GlowAPI.java:290) ~[?:?] at org.inventivetalent.glow.GlowAPI.setGlowing(GlowAPI.java:113) ~[?:?] at org.inventivetalent.glow.GlowAPI.setGlowing(GlowAPI.java:130) ~[?:?] at future.blue.fun.commands.SetGlow.onCommand(SetGlow.java:36) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit.jar:git-Bukkit-7fc5cd8] ... 15 more
What i will do?

Console error paper 233 1.14.4

What steps will reproduce the problem?

add the plugin to plugins folder and run the server

What were you expecting to happen? What happened instead?

expecting it to load properly and it is giving me a console error

What version of the plugin are you using? Type /version <Plugin Name>

1.14.10 snapshot

What Spigot version are you using? Type /version

using paper instead, 233

What plugins ae you using? Type /plugins

[13:13:48 INFO]: Plugins (17): AsyncWorldEdit, EffectLib*, Heroes, HolographicDisplays, LuckPerms, MCSSCommunicator, MMOItems, Multiverse-Core*, MythicMobs, PlaceholderAPI, ProtocolLib, Realistic_World, Vault, VoidGenerator, Votifier, WorldEdit, WorldGuard

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

https://pastebin.com/7n6dGXJA

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

no

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

i remember it was working and dont remember what i did, maybe adding another plugin.

Player NPC not glowing

What steps will reproduce the problem?

  1. Create an NPC player
  2. Apply GLOWAPI

What were you expecting to happen? What happened instead?

All entities should be glowed

What version of the plugin are you using? Type /version <Plugin Name>

GlowAPI 1.4.11

What Spigot version are you using? Type /version

1.15.2

What plugins ae you using? Type /plugins

Citizens

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

for (final NPC npc : CitizensAPI.getNPCRegistry()) { GlowAPI.setGlowing(npc.getEntity(),Color.DARK_PURPLE, p); new BukkitRunnable() { @Override public void run() { GlowAPI.setGlowing(npc.getEntity(),false, p); } }.runTaskLater(Main.r, 980L); }

1.16

Plugin update for 1.16.5?

Scoreboard teams with colors modify the specified glow color

What steps will reproduce the problem?

  1. Register a team on the main scoreboard, and set its color to ChatColor.RED
  2. Add the player to the team
  3. Set the player's glow to blue using the API for all online players

What were you expecting to happen? What happened instead?

The player's glow should be blue. The player's glow was red.

What version of the plugin are you using? Type /version <Plugin Name>

1.14.13-SNAPSHOT

What Spigot version are you using? Type /version

1.16.1-R0.1

What plugins ae you using? Type /plugins

ProtocolLib, PacketListenerApi, GlowAPI, 2 custom plugins which do not interfere or modify packets.

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

Using BungeeCord but unsure if this would create this issue.

Blink glowing effect

What steps will reproduce the problem?

  1. Add glowing effect view to specific players
  2. Do an animation with a player who has the glowing effect (Sprinting or crouching)

What were you expecting to happen? What happened instead?

What were you expecting to happen: The players without the permission can't see the glowing effect on other players.
What happened instead: But when a player with the glowing effect do an animation, it shows for everyone (well like a glitch, it blink with the color white (event if this is another color)

What version of the plugin are you using? Type /version <Plugin Name>

GlowAPI Version 1.4.4
PacketListenerAPI Version 3.4.4

What Spigot version are you using? Type /version

Version 1.10.2-R0.1-SNAPSHOT

What plugins are you using? Type /plugins

Custom Plugins, GlowAPI, PacketListnersAPI, Citizens

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

No error in the server LOG

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

N/A

Glow colour not working, uses white instead

What steps will reproduce the problem?

  1. call GlowAPI#setGlowing(player, Color.DARK_PURPLE, reciever);

What were you expecting to happen? What happened instead?

Player would be glowing with a purple effect.
What happened: Player was set glowing with just a white effect.

What version of the plugin are you using? Type /version <Plugin Name>

1.4.4

What Spigot version are you using? Type /version

version git-Spigot-d20369f-7fc5cd8 (MC: 1.9), 1.9-R0.1-SNAPSHOT

What plugins ae you using? Type /plugins

WorldEdit, OldCombatMechanics, ColoredSigns, PacketListenerApi, PermissionsEx, GlowAPI, ViaVersion, Vault, Essentials, EssentialsChat, EssentailsGeoIP, ServerSigns, EssentialsSpawn, KeyCards

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

There is no error logs at all

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

First time using plugin, not using bungeecoord, tried with multiple colours, calling GlowAPI.getGlowColor(glowingPlayer, reciever) returns the correct colour, it just isn't displayed (tried with multiple clients at same time and other people)

[Enhancement] Glow Placeholder

I am using a plugin called Tab Reborn and it overrides the glowing of players. Currently, players have a longer name tag and even a tag above and below that. So, the color of their glow are based off of the color of the tags they have. However, I don't wish to disable this feature just to have glowing work.

I don't expect this to be implemented, but it would be cool to see this! It could be used in many ways such as in the scoreboard, or even in holograms to display the color of the player's glow. The main reason I would like to use a placeholder, is so glowing can work with Tab Reborn. The plugin eGlow has a placeholder to fix glowing for this plugin as well.

1.16.4 support

What steps will reproduce the problem?

  1. Update server to 1.16.4
  2. Join it.

What version of the plugin are you using? Type /version <Plugin Name>

[18:06:15 INFO]: GlowAPI version 1.4.13-SNAPSHOT

What Spigot version are you using? Type /version

[18:05:49 INFO]: This server is running Tuinity version git-Tuinity-"0850468" (MC: 1.16.4) (Implementing API version 1.16.4-R0.1-SNAPSHOT)

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

[18:01:18] [Netty Server IO #3/WARN]: [PacketListenerAPI] An exception occured while trying to execute 'onSend' in plugin GlowAPI: java.lang.ClassNotFoundException: Could not resolve class for [ResolverQuery{name='net.minecraft.server.v1_16_R3.IntHashMap', types=[]}]
[18:01:18] [Netty Server IO #3/WARN]: java.lang.RuntimeException: java.lang.ClassNotFoundException: Could not resolve class for [ResolverQuery{name='net.minecraft.server.v1_16_R3.IntHashMap', types=[]}]
[18:01:18] [Netty Server IO #3/WARN]: 	at org.inventivetalent.glow.GlowAPI.getEntityById(GlowAPI.java:594)
[18:01:18] [Netty Server IO #3/WARN]: 	at org.inventivetalent.glow.GlowAPI$1.onSend(GlowAPI.java:493)
[18:01:18] [Netty Server IO #3/WARN]: 	at org.inventivetalent.packetlistener.handler.PacketHandler.notifyHandlers(PacketHandler.java:81)
[18:01:18] [Netty Server IO #3/WARN]: 	at org.inventivetalent.packetlistener.PacketListenerAPI.onPacketSend(PacketListenerAPI.java:118)
[18:01:18] [Netty Server IO #3/WARN]: 	at org.inventivetalent.packetlistener.channel.ChannelAbstract.onPacketSend(ChannelAbstract.java:85)
[18:01:18] [Netty Server IO #3/WARN]: 	at org.inventivetalent.packetlistener.channel.INCChannel$ChannelHandler.write(INCChannel.java:140)
[18:01:18] [Netty Server IO #3/WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717)
[18:01:18] [Netty Server IO #3/WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709)
[18:01:18] [Netty Server IO #3/WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792)
[18:01:18] [Netty Server IO #3/WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702)
[18:01:18] [Netty Server IO #3/WARN]: 	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:697)
[18:01:18] [Netty Server IO #3/WARN]: 	at io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1010)
[18:01:18] [Netty Server IO #3/WARN]: 	at io.netty.channel.AbstractChannel.write(AbstractChannel.java:284)
[18:01:18] [Netty Server IO #3/WARN]: 	at com.comphenix.protocol.injector.netty.ChannelProxy.write(ChannelProxy.java:312)
[18:01:18] [Netty Server IO #3/WARN]: 	at net.minecraft.server.v1_16_R3.NetworkManager.lambda$writePacket$11(NetworkManager.java:439)
[18:01:18] [Netty Server IO #3/WARN]: 	at com.comphenix.protocol.injector.netty.ChannelInjector$3.lambda$onMessageScheduled$1(ChannelInjector.java:325)
[18:01:18] [Netty Server IO #3/WARN]: 	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
[18:01:18] [Netty Server IO #3/WARN]: 	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
[18:01:18] [Netty Server IO #3/WARN]: 	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
[18:01:18] [Netty Server IO #3/WARN]: 	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
[18:01:18] [Netty Server IO #3/WARN]: 	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
[18:01:18] [Netty Server IO #3/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:834)
[18:01:18] [Netty Server IO #3/WARN]: Caused by: java.lang.ClassNotFoundException: Could not resolve class for [ResolverQuery{name='net.minecraft.server.v1_16_R3.IntHashMap', types=[]}]
[18:01:18] [Netty Server IO #3/WARN]: 	at org.inventivetalent.glow.reflection.resolver.ClassResolver.notFoundException(ClassResolver.java:40)
[18:01:18] [Netty Server IO #3/WARN]: 	at org.inventivetalent.glow.reflection.resolver.ClassResolver.notFoundException(ClassResolver.java:8)
[18:01:18] [Netty Server IO #3/WARN]: 	at org.inventivetalent.glow.reflection.resolver.ResolverAbstract.resolve(ResolverAbstract.java:60)
[18:01:18] [Netty Server IO #3/WARN]: 	at org.inventivetalent.glow.reflection.resolver.ClassResolver.resolve(ClassResolver.java:27)
[18:01:18] [Netty Server IO #3/WARN]: 	at org.inventivetalent.glow.reflection.resolver.minecraft.NMSClassResolver.resolve(NMSClassResolver.java:18)
[18:01:18] [Netty Server IO #3/WARN]: 	at org.inventivetalent.glow.GlowAPI.getEntityById(GlowAPI.java:584)
[18:01:18] [Netty Server IO #3/WARN]: 	... 21 more```

TAB problem with GlowAPI

What steps will reproduce the problem?

  1. when you set a player's color it breaks the hyerarcy of TAB plugin

i guess after the using API it should've been fixed but it does not untill you relog

1.4.19-SNAPSHOT conflicts with Paper 1.16.5

Hello!
An exception is thrown several times per second:

[PacketListenerAPI] An exception occured while trying to execute 'onSend' in plugin GlowAPI: java.lang.ClassNotFoundException: Could not resolve class for [ResolverQuery{name='net.minecraft.server.v1_16_R3.LevelEntityGetter', types=[]}]
java.lang.RuntimeException: java.lang.ClassNotFoundException: Could not resolve class for [ResolverQuery{name='net.minecraft.server.v1_16_R3.LevelEntityGetter', types=[]}]
	at org.inventivetalent.glow.GlowAPI.getEntityById(GlowAPI.java:701)
	at org.inventivetalent.glow.GlowAPI$1.onSend(GlowAPI.java:588)
	at org.inventivetalent.packetlistener.handler.PacketHandler.notifyHandlers(PacketHandler.java:81)
	at org.inventivetalent.packetlistener.PacketListenerAPI.onPacketSend(PacketListenerAPI.java:116)
	at org.inventivetalent.packetlistener.channel.ChannelAbstract.onPacketSend(ChannelAbstract.java:93)
	at org.inventivetalent.packetlistener.channel.INCChannel$ChannelHandler.write(INCChannel.java:128)
	at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717)
	at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:764)
	at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:790)
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:758)
	at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:808)
	at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
	at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:294)
	at com.comphenix.protocol.injector.netty.ChannelProxy.writeAndFlush(ChannelProxy.java:327)
	at net.minecraft.server.v1_16_R3.NetworkManager.lambda$b$6(NetworkManager.java:323)
	at com.comphenix.protocol.injector.netty.ChannelInjector$3.lambda$onMessageScheduled$1(ChannelInjector.java:351)
	at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164)
	at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472)
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:500)
	at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at java.base/java.lang.Thread.run(Thread.java:831)
Caused by: java.lang.ClassNotFoundException: Could not resolve class for [ResolverQuery{name='net.minecraft.server.v1_16_R3.LevelEntityGetter', types=[]}]
	at org.inventivetalent.glow.reflection.resolver.ClassResolver.notFoundException(ClassResolver.java:42)
	at org.inventivetalent.glow.reflection.resolver.ClassResolver.notFoundException(ClassResolver.java:9)
	at org.inventivetalent.glow.reflection.resolver.ResolverAbstract.resolve(ResolverAbstract.java:63)
	at org.inventivetalent.glow.reflection.resolver.ClassResolver.resolve(ClassResolver.java:29)
	at org.inventivetalent.glow.reflection.resolver.minecraft.NMSClassResolver.resolve(NMSClassResolver.java:28)
	at org.inventivetalent.glow.GlowAPI.getEntityById(GlowAPI.java:665)
	... 21 more

Configuration:
git-Paper-778 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
PacketListenerApi version 3.9.3-SNAPSHOT
GlowAPI version 1.4.19-SNAPSHOT
[ReflectionHelper/MinecraftVersion] Version is v1_16_R3 (11603)

Error in the glow api 1.17.1

[12:07:57 ERROR]: [GlowAPI] [STDERR] [ReflectionHelper] Failed to find DataWatcherObject for world.entity.EntityLiving [HEALTH]
[12:07:57 WARN]: Nag author(s): '[inventivetalent]' of 'GlowAPI' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).
[12:07:57 ERROR]: [GlowAPI] [STDERR] [ReflectionHelper] Failed to find DataWatcherObject for world.entity.animal.horse.EntityHorse #4 (1+1)
[12:07:57 WARN]: Nag author(s): '[inventivetalent]' of 'GlowAPI' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).
[12:07:57 ERROR]: [GlowAPI] [STDERR] [ReflectionHelper] Failed to find DataWatcherObject for world.entity.animal.horse.EntityHorse #5 (1+2)
[12:07:57 WARN]: Nag author(s): '[inventivetalent]' of 'GlowAPI' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).
[12:07:57 ERROR]: [GlowAPI] [STDERR] [ReflectionHelper] Failed to find DataWatcherObject for world.entity.animal.horse.EntityHorse #6 (1+3)
[12:07:57 WARN]: Nag author(s): '[inventivetalent]' of 'GlowAPI' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).
[12:07:57 ERROR]: [GlowAPI] [STDERR] [ReflectionHelper] Failed to find DataWatcherObject for world.entity.animal.horse.EntityHorse #7 (1+4)
[12:07:57 WARN]: Nag author(s): '[inventivetalent]' of 'GlowAPI' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).

Glow API Error (API CLASS IS NOT INITIALIZED)

Error

[03:26:12] [Server thread/INFO]: [GlowAPI] Enabling GlowAPI v1.4.15-SNAPSHOT* [03:26:12] [Server thread/INFO]: [APIManager] API class 'org.inventivetalent.packetlistener.PacketListenerAPI' is not yet initialized. Creating new instance. [03:26:12] [Server thread/ERROR]: Error occurred while enabling GlowAPI v1.4.15-SNAPSHOT (Is it up to date?) java.lang.ClassCastException: class org.inventivetalent.packetlistener.PacketListenerAPI cannot be cast to class org.inventivetalent.apihelper.API (org.inventivetalent.packetlistener.PacketListenerAPI is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @1c21e7e0; org.inventivetalent.apihelper.API is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @5d2e05df) at org.inventivetalent.apihelper.APIManager.initAPI(APIManager.java:116) ~[?:?] at org.inventivetalent.glow.GlowAPI.init(GlowAPI.java:472) ~[?:?] at org.inventivetalent.apihelper.RegisteredAPI.init(RegisteredAPI.java:55) ~[?:?] at org.inventivetalent.apihelper.APIManager.initAPI(APIManager.java:96) ~[?:?] at org.inventivetalent.apihelper.APIManager.initAPI(APIManager.java:127) ~[?:?] at org.inventivetalent.glow.GlowPlugin.onEnable(GlowPlugin.java:22) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Purpur-1157] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) ~[patched_1.16.5.jar:git-Purpur-1157] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:500) ~[patched_1.16.5.jar:git-Purpur-1157] at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:518) ~[patched_1.16.5.jar:git-Purpur-1157] at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:432) ~[patched_1.16.5.jar:git-Purpur-1157] at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:596) ~[patched_1.16.5.jar:git-Purpur-1157] at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:309) ~[patched_1.16.5.jar:git-Purpur-1157] at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074) ~[patched_1.16.5.jar:git-Purpur-1157] at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:293) ~[patched_1.16.5.jar:git-Purpur-1157] at java.lang.Thread.run(Thread.java:831) [?:?] [03:26:12] [Server thread/INFO]: [GlowAPI] Disabling GlowAPI v1.4.15-SNAPSHOT [03:26:12] [Server thread/INFO]: [LibsDisguises] Enabling LibsDisguises v10.0.24 [03:26:12] [Server thread/INFO]: [LibsDisguises] File Name: LibsDisguises-10.0.22-Premium.jar

Random white glows

The latest version of spigot 1.12.2; Plugin version 1.4.6.

When I highlight players for certain others, sometimes they see glow effect on themselves, and other players can see them for a few seconds even if they couldn't.
Example:
GlowAPI.setGlowing(Bukkit.getOnlinePlayers(), GlowAPI.Color.RED, receiver);
// and sometimes players can see each other with white glowing effect.

Glowing on Player are not working with Optifine.

What steps will reproduce the problem?

  1. Run the server
  2. Create a plugin with the example on Spigot Page
  3. Connect to the Server

What were you expecting to happen? What happened instead?

The Glowing are not working.

image

What version of the plugin are you using? Type /version <Plugin Name>

Latest: 1.4.8-SNAPSHOT

What Spigot version are you using? Type /version

image

What plugins ae you using? Type /plugins

GlowAPI, PacketListenerAPI, and my plugins with the Spigot example

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

No errors.

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No.

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

In previous versions, it is not work to.

Glow Effect Displays for all players

What steps will reproduce the problem?

  1. Apply the Glow Effect to 2 different players

What were you expecting to happen? What happened instead?

Expected that only the 2 defined players would see the glow effect, but anyone can see it.

What version of the plugin are you using? Type /version <Plugin Name>

1.4.4

What Spigot version are you using? Type /version

1.9.4

What plugins ae you using? Type /plugins

MinecraftMarket, TitleAPI, PacketListenerAPI, WorldEdit, Ram_Monitor (hosting thing), TabListAPI, VoxelSniper, ParticleLIB, GlowAPI, Vault, ConsoleSpamFix, PlayerVersion, Battlegrounds (custom)

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

No errors

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

Here's the code where I set the glowing effect: http://pastebin.com/0KWUcNGY
I set the glowing effect for 2 players, however, everyone can see the effect

DataWatcher

is everything ok with 1.13.2

getting a ton of errors about Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.inventivetalent.glow.reflection.minecraft.DataWatcher$V1_9$ValueType
at org.inventivetalent.glow.GlowAPI.sendGlowPacket(GlowAPI.java:293) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError
at org.inventivetalent.glow.reflection.minecraft.DataWatcher$V1_9$ValueType.<init>(DataWatcher.java:330) ~[?:?]
at org.inventivetalent.glow.reflection.minecraft.DataWatcher$V1_9$ValueType.<clinit>(DataWatcher.java:202) ~[?:?]
at org.inventivetalent.glow.GlowAPI.sendGlowPacket(GlowAPI.java:293) ~[?:?]
at org.inventivetalent.glow.GlowAPI.setGlowing(GlowAPI.java:116) ~[?:?]
at org.inventivetalent.glow.GlowAPI.setGlowing(GlowAPI.java:133) ~[?:?]

PacketListenerAPI_v3.7.1-SNAPSHOT.jar
GlowAPI_v1.4.7-SNAPSHOT.jar

<dependency>
      <groupId>org.inventivetalent</groupId>
      <artifactId>glowapi</artifactId>
      <version>1.4.7-SNAPSHOT</version>
    </dependency>

Latest 1.12.2 spigot release
had to disable this for now since i cant catch an ExceptionInInitializerError

1.14.4 Console Spam

  1. Running the newest dev version of glowapi spams errors in console on paper 1.14.4

running glowapi 1.4.8 dev generates so many errors in console when a player has a glowing item that it crashes server.

Paper(135) 1.14.4-R0.1-Snapshot

Compiling your plugin

Hello. When I try to export GlowAPI (even if I was not make any changes in code), all plugins using GlowAPI throws exception about "class Color don't exist" in GlowAPI.java.

When I try to use "Run As -> Build with Maven..." instead of exporting, nothing happens, no any line printed in console. Can you help me with exporting or send me compiled plugin with my changes? Thanks.

What version of the plugin are you using?

1.4.6-SNAPSHOT

Do you have an error log?

https://pastebin.com/qmvVbWSc

Errors with GlowAPI on 1.14.4

What steps will reproduce the problem?

  1. spawn mob with glow effect
  2. got mob glow only white color and errors in console

What version of the plugin are you using? Type /version <Plugin Name>

GlowAPI_v1.4.10-SNAPSHOT.jar

What Spigot version are you using? Type /version

Spigot 1.14.4

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

https://pastebin.com/7MhT19bt

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

no

jdk 16 seems to create an issue

Describe the bug

After updating to java 16, the plugin is now throwing an error:
Could not pass event PlayerJoinEvent to GlowAPI v1.4.14-SNAPSHOT

This wasn't an issue on java 14

To Reproduce

  1. Installl jdk 16
  2. Start the server
  3. Connect on it

Expected behavior
Not throwing an error in the console

Additional context
This is a new issue that come with the jdk update forced by paper/upcoming v1.17

Running latest build of paper-mc (#675 at the time of writing this)

[BUG] Spigot 1.16.2 compatibility

What steps will reproduce the problem?

  1. install spigot 1.16.2
  2. use method org.inventivetalent.glow.GlowAPI.setGlowing()

What were you expecting to happen? What happened instead?

no error

What version of the plugin are you using? Type /version <Plugin Name>

GlowAPI version 1.4.10-SNAPSHOT

What Spigot version are you using? Type /version

This server is running CraftBukkit version git-Spigot-379750e-fe4efd1 (MC: 1.16.2) (Implementing API version 1.16.2-R0.1-SNAPSHOT)

What plugins ae you using? Type /plugins

100+ plugins

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

https://pastebin.com/YFDGX1BN

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

no

Probably this would work with Paper as the package "it.unimi.dsi.fastutil.ints" is only available on Paper.
Spigot has this package: "org.bukkit.craftbukkit.libs.it.unimi.dsi.fastutil.ints"

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: Cannot find preset's package (github>whitesource/merge-confidence:beta)

1.4.20-SNAPSHOT in Maven Repo

Hello!

Where can I find version 1.4.20-SNAPSHOT in repo.inventivetalent.org?

https://repo.inventivetalent.org/#browse/search=keyword%3Dglowapi

The latest available version is 1.4.14-SNAPSHOT. But it is not possible to connect it:

Could not resolve org.inventivetalent.packetlistener:api:3.7.8-SNAPSHOT.
inconsistent module metadata found. Descriptor: org.inventivetalent.packetlistener:api:3.6.0-SNAPSHOT Errors: bad version: expected='3.7.8-SNAPSHOT' found='3.6.0-SNAPSHOT'

Add html-javadoc

As "Just" said on Discord, the old docs aren't available anymore. As PRs can not include new branches, I'll leave this patch here for a setup like the one you used for NickNamers docs using gh-pages ๐Ÿ™‚

I'd personally recommend to make gh-pages an orphan branch to keep the index clean, so you don't have to make a deletion commit ^^

The glow color is white, but not the color I set ...

What steps will reproduce the problem?

  1. I don't now.

What were you expecting to happen? What happened instead?

  • The glow color is white, but not the color I set ...

What version of the plugin are you using? Type /version <Plugin Name>

GlowAPI - 1.4.11-Snapshot

What Spigot version are you using? Type /version

  • Paper-176 | 1.15.2

What plugins ae you using? Type /plugins

GlowAPi, PackListenerAPI, And my Own plugin :D

Do you have an error log? Use pastebin.com. If you're not sure, upload your whole server log

No, errors.

Did your client crash? Upload errors in .minecraft/logs/latest.log as well

No.

Additional information? (Are you using Bungeecord? Did it work in previous versions? etc.)

I don't test previous versions. | Bungeecord no.

P.s: My Code:

Bukkit.getScheduler().scheduleSyncRepeatingTask(pl, new Runnable() { @Override public void run() { GlowAPI.setGlowing(p, GlowAPI.Color.PURPLE, Bukkit.getOnlinePlayers()); } },0,20);

I don't know if there is a problem with 1.15.2! But will probably be.

Best Regards,

Pyario

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.