inventivetalentdev / glowapi Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Well, I expected no errors
GlowAPI = 1.4.11-SNAPSHOT
PacketListenerAPI = 3.7.6-SNAPSHOT
Paper-226
Essentials,GlowAPI,PacketListenerAPI
No
Haven't tested other versions
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)
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
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
Install GlowAPI
Install TacoSpigot
Functioned normally
1.4.13
TacoSpigot-1.12.2-b114.jar
None that interfere
i expect that the player will join with colored glow effect but it is not happening
1.4.4
Spigot-9797151-301db84 minecraft 1.10.2
GlowAPI, PacketListenerAPI, Pex (and of course my plugin)
No Errors!
No.
my code: http://pastebin.com/23KBST8M
Return a missing class IntHashMap
This server is running CraftBukkit version git-Spigot-d05d3c1-087a2cf (MC: 1.14.3) (Implementing API version 1.14.3-R0.1-SNAPSHOT)
The plugin to load given that 1.13 was supposed to have legacy plugin support
This server is running CraftBukkit version git-Spigot-0b44fa0-1ef1ffd (MC: 1.13) (Implementing API version 1.13-R0.1-SNAPSHOT)
GlowAPI version 1.4.6-SNAPSHOT
It disconnected from the server but did not crash
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.
I'm not abble to hide the nametag of a player when his glowing
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)
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"
1.4.11-SNAPHOT
/versio
Paper 1.14.4 git-243
NO
NO
NOT USING BUNGEECORD
I expected the plugin to work normally but instead I found out that it behavior is confusing.
I am using the 1.4.4 version.
Spigot 1.10.2
One custom plugin to use the API, the GlowAPI and its dependencies
There is no error log on the screen.
The client did not crash.
Not using BungeeCord.
Logging in working
CraftBukkit version git-Spigot-800b93f-e911c70 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
Plugins (7): WorldEdit, Essentials, Infected, PacketListenerApi, ProtocolLib, LibsDisguises, GlowAPI
No
No Bungeecord, haven't tested previous versions
I expect the two colors to show up properly for each player, instead the wrong color shows.
GlowAPI v1.4.4
PacketListenerAPI, GlowAPI,
No error.
No
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.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.
.github/workflows/maven.yml
actions/checkout v3
actions/setup-java v3
actions/upload-artifact v3
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
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)
A non-spammy console. Got spammed with glowAPI stuff.
1.4.13
1.16.4
A crap load of em.
No.
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
Not sure, just some console errors.
GlowAPI_v1.4.10-SNAPSHOT.jar
PaperSpigot 1.15.2 (328)
No
Yes
When I disabled the glow, I expect that player to no longer glow, but instead there is this weird blink effec going on
1.4.13
PacketListenerAPI, ProtocolLib, GlowAPI, WorldGuard, BKCommonLib, LightCleaner
No
No.
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.)
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:
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
Error is thrown when trying to use GlowAPI in my plugin. Looks like the NMS in GlowAPI needs some work.
Error:
https://gist.github.com/partydev/47762402f9c6d99e793928f107a84a88
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:
Additional context
Running Paper 1.17 commit 22280c5 (build #30) w/ PacketListenerAPI 3.9.4-SNAPSHOT
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?
add the plugin to plugins folder and run the server
expecting it to load properly and it is giving me a console error
1.14.10 snapshot
using paper instead, 233
[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
no
i remember it was working and dont remember what i did, maybe adding another plugin.
All entities should be glowed
GlowAPI 1.4.11
1.15.2
Citizens
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); }
Plugin update for 1.16.5?
The player's glow should be blue. The player's glow was red.
1.14.13-SNAPSHOT
1.16.1-R0.1
ProtocolLib, PacketListenerApi, GlowAPI, 2 custom plugins which do not interfere or modify packets.
Using BungeeCord but unsure if this would create this issue.
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)
GlowAPI Version 1.4.4
PacketListenerAPI Version 3.4.4
Version 1.10.2-R0.1-SNAPSHOT
Custom Plugins, GlowAPI, PacketListnersAPI, Citizens
No error in the server LOG
No
N/A
What steps will reproduce the problem?
Player would be glowing with a purple effect.
What happened: Player was set glowing with just a white effect.
1.4.4
version git-Spigot-d20369f-7fc5cd8 (MC: 1.9), 1.9-R0.1-SNAPSHOT
WorldEdit, OldCombatMechanics, ColoredSigns, PacketListenerApi, PermissionsEx, GlowAPI, ViaVersion, Vault, Essentials, EssentialsChat, EssentailsGeoIP, ServerSigns, EssentialsSpawn, KeyCards
There is no error logs at all
No
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)
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.
[18:06:15 INFO]: GlowAPI version 1.4.13-SNAPSHOT
[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)
[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```
i guess after the using API it should've been fixed but it does not untill you relog
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)
[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).
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
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.
Describe the bug
Plugin doesnt load
To Reproduce
Steps to reproduce the behavior:
Additional context
https://paste.dedimc.io/etiwexegax.md
The Glowing are not working.
Latest: 1.4.8-SNAPSHOT
GlowAPI, PacketListenerAPI, and my plugins with the Spigot example
No errors.
No.
In previous versions, it is not work to.
Expected that only the 2 defined players would see the glow effect, but anyone can see it.
1.4.4
1.9.4
MinecraftMarket, TitleAPI, PacketListenerAPI, WorldEdit, Ram_Monitor (hosting thing), TabListAPI, VoxelSniper, ParticleLIB, GlowAPI, Vault, ConsoleSpamFix, PlayerVersion, Battlegrounds (custom)
No errors
No
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
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
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
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.
1.4.6-SNAPSHOT
GlowAPI_v1.4.10-SNAPSHOT.jar
Spigot 1.14.4
no
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
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)
Hi, there are a method for remove glowing from Entities ?
no error
GlowAPI version 1.4.10-SNAPSHOT
This server is running CraftBukkit version git-Spigot-379750e-fe4efd1 (MC: 1.16.2) (Implementing API version 1.16.2-R0.1-SNAPSHOT)
100+ plugins
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"
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)
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'
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 ^^
GlowAPI - 1.4.11-Snapshot
GlowAPi, PackListenerAPI, And my Own plugin :D
No, errors.
No.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.