xCykrix / DynamicLights

Spigot/Paper Plugin for Simple Dynamic Lights
https://www.spigotmc.org/resources/dynamiclights.110707/
5 stars 1 forks source link

[BUG] Dose it work in 1.20.4? #12

Closed Logan8642 closed 10 months ago

Logan8642 commented 10 months ago

Describe the Bug:It dose not work in 1.20.4.

I've restarted the server. I've done everything.

xCykrix commented 10 months ago

Hello @Logan8642. I am working to verify if this will require additional changes for 1.20.4. Do you encounter any errors or alerts in your console for this version?

xCykrix commented 10 months ago

@Logan8642 1.20.4 works as expected. Please upload your console log and share it with me for further assistance here.

2024-01-22_10 53 55

  1. Ensure ProtocolLib is installed with the Latest Developer Version. (https://ci.dmulloy2.net/job/ProtocolLib/)
  2. Ensure you have the latest version of DynamicLights (v1.0.5 as of now)
Logan8642 commented 10 months ago

Hi, so I have tried to re install them. Change the version. But nothing works!

Screenshot 2024-01-24 082949
xCykrix commented 10 months ago

@Logan8642 ProtocolLib being in red means it failed to start. DynamicLights requires ProtocolLib to start and be green in /plugins. I used this version of ProtocolLib specifically in my Test Server.

https://ci.dmulloy2.net/job/ProtocolLib/679/artifact/build/libs/ProtocolLib.jar

If you have issues past that, I would need a copy of your Console Log. You can upload your latest.log or such via https://mcpaste.io/ or your preferred text sharing service. MCPaste will remove IP Addresses for your privacy.

Logan8642 commented 10 months ago

Hi! So it wont let me download that link! but her is my console https://mcpaste.io/991b907c8d98dd4b

Logan8642 commented 10 months ago

wrong button. did not mean to close it!

xCykrix commented 10 months ago

@Logan8642 Thanks for that console info! ProtocolLib is indeed crashing on boot.

25.01 03:19:55 [Server] INFO [ProtocolLib] Loading server plugin ProtocolLib v5.1.0 <-- Wrong Version
25.01 03:19:56 [Server] ERROR [ProtocolLib] INTERNAL ERROR: Cannot load ProtocolLib.
25.01 03:19:56 [Server] INFO Stack Trace:
25.01 03:19:56 [Server] INFO java.lang.IllegalArgumentException: Unable to find a field that matches {modifiers=[required: 10000, banned: 1000], type={ type input instanceof interface java.util.Map }}

This indicates you are using an old version of ProtocolLib (5.1.0) and not the 1.20+ Version (5.2.0-SNAPSHOT). ProtocolLib's Download on Spigot does NOT support 1.20+ and must be downloaded from their Development CI: https://ci.dmulloy2.net/job/ProtocolLib/679/

image

Verified as functional with Paper Build #399 ProtocolLib version 5.2.0-SNAPSHOT-679 (Jenkins Release)

> plugins
[11:55:54 INFO]: Server Plugins (2):
[11:55:54 INFO]: Bukkit Plugins:
[11:55:54 INFO]:  - DynamicLights, ProtocolLib
> version ProtocolLib
[11:55:57 INFO]: ProtocolLib version 5.2.0-SNAPSHOT-679
[11:55:57 INFO]: Provides read/write access to the Minecraft protocol.
[11:55:57 INFO]: Authors: dmulloy2 and comphenix
> version DynamicLights
[11:56:01 INFO]: DynamicLights version 1.0.5-SNAPSHOT
[11:56:01 INFO]: Emit Light from Held Items using the 1.17 Light Blocks.
[11:56:01 INFO]: Website: https://www.spigotmc.org/resources/dynamiclights.110707/
[11:56:01 INFO]: Author: xCykrix

Once ProtocolLib is updated, DynamicLights should work for you.

xCykrix commented 10 months ago

Closing as I am not able to reproduce this issue.

Once updated, you should be able to proceed. If you are having issues in downloading ProtocolLib, I would recommend reaching out to ProtocolLib Support Channels as that is a third party to DynamicLights.