PluginBugs / Issues-CinematicStudio

Repository used to keep track of issues of my plugin CinematicsStudio
1 stars 0 forks source link

Unsupported Minecraft 1.20.4 #101

Open MattiaFioretti opened 1 day ago

MattiaFioretti commented 1 day ago

Terms

Discord tag (optional)

matithya

What happened?

The plugin does not work on 1.20.4 with the latest version of LoneLibs and ProtocolLib.

Steps to reproduce the issue

Self explanatory

Server version

UniverseSpigot (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) also tried with spigot and paper.

CinematicsStudio Version

CinematicStudio version 2.0.1-indev-1

ProtocolLib Version

ProtocolLib version 5.3.0-SNAPSHOT-721

LoneLibs Version

LoneLibs 1.0.59

FULL server log

No response

Error (optional)

[17:49:22 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'cinematic' in plugin CinematicStudio v2.0.1-indev-1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[?:git-UniverseSpigot-"6375a7a"]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:150) ~[?:git-UniverseSpigot-"6375a7a"]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:1002) ~[?:git-UniverseSpigot-"6375a7a"]
        at org.bukkit.craftbukkit.v1_20_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[?:git-UniverseSpigot-"6375a7a"]
        at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.2.9.jar:?]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:31) ~[?:git-UniverseSpigot-"6375a7a"]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19) ~[?:git-UniverseSpigot-"6375a7a"]
        at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[?:git-UniverseSpigot-"6375a7a"]
        at net.minecraft.commands.execution.CommandQueueEntry.a(CommandQueueEntry.java:5) ~[?:git-UniverseSpigot-"6375a7a"]
        at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:103) ~[?:git-UniverseSpigot-"6375a7a"]
        at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:443) ~[?:?]
        at net.minecraft.commands.Commands.performCommand(Commands.java:345) ~[?:?]
        at net.minecraft.commands.Commands.performCommand(Commands.java:332) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2231) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$14(ServerGamePacketListenerImpl.java:2191) ~[?:?]
        at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:58) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[?:git-UniverseSpigot-"6375a7a"]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:148) ~[?:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1475) ~[?:git-UniverseSpigot-"6375a7a"]
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:196) ~[?:git-UniverseSpigot-"6375a7a"]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1452) ~[?:git-UniverseSpigot-"6375a7a"]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1375) ~[?:git-UniverseSpigot-"6375a7a"]
        at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[?:?]
        at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1353) ~[?:git-UniverseSpigot-"6375a7a"]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1242) ~[?:git-UniverseSpigot-"6375a7a"]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:322) ~[?:git-UniverseSpigot-"6375a7a"]
        at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.NullPointerException: Cannot invoke "lonelibs.dev.lone.fastnbt.nms.nbt.IDataComponents.setCustomName(org.bukkit.inventory.ItemStack, String)" because "lonelibs.dev.lone.fastnbt.nms.nbt.NBT.dataComponents" is null
        at lonelibs.dev.lone.fastnbt.nms.nbt.NItem.setCustomName(NItem.java:182) ~[LoneLibs.jar:?]
        at dev.lone.CinematicStudio.b.a(SourceFile:196) ~[CinematicStudio_2.0.1-indev-1.jar:?]
        at CinematicStudio.m.R.a(SourceFile:650) ~[CinematicStudio_2.0.1-indev-1.jar:?]
        at CinematicStudio.m.R.ai(SourceFile:256) ~[CinematicStudio_2.0.1-indev-1.jar:?]
        at CinematicStudio.m.R.a(SourceFile:583) ~[CinematicStudio_2.0.1-indev-1.jar:?]
        at CinematicStudio.m.al.a(SourceFile:129) ~[CinematicStudio_2.0.1-indev-1.jar:?]
        at CinematicStudio.m.ai.onCommand(SourceFile:37) ~[CinematicStudio_2.0.1-indev-1.jar:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[?:git-UniverseSpigot-"6375a7a"]
        ... 29 more

CinematicsStudio config.yml

No response

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

MattiaFioretti commented 1 day ago

A fix has been promised for months, please, we paid. @LoneDev6

Andre601 commented 1 day ago

A fix has been promised for months, please, we paid. @LoneDev6

Paying for a plugin does not guarantee receiving updates at all.

MattiaFioretti commented 1 day ago

A fix has been promised for months, please, we paid. @LoneDev6

Paying for a plugin does not guarantee receiving updates at all.

This is not an update. The plugin says it supports 1.20.4, and in reality it does not work. As a buyer, I have a 1.20.4 server, I read that the plugin supports it and I buy it. So I have the right to request that it be resolved.

MattiaFioretti commented 1 day ago

A fix has been promised for months, please, we paid. @LoneDev6

Paying for a plugin does not guarantee receiving updates at all.

image So please, I would like this to be resolved.

Andre601 commented 1 day ago

Downgrade LoneLibs and ProtocolLib to an older version. PL in particular needs to be 5.2.0 for versions 1.8 through 1.20.4 And the same may be the case for LoneLibs. This isn't really a CinematicStudio issue, but an issue of using the wrong dependency versions.

MattiaFioretti commented 1 day ago

Downgrade LoneLibs and ProtocolLib to an older version. PL in particular needs to be 5.2.0 for versions 1.8 through 1.20.4 And the same may be the case for LoneLibs. This isn't really a CinematicStudio issue, but an issue of using the wrong dependency versions.

It would be a good idea to write somewhere clearly, with a table or something, which versions of the plugins are needed to make this plugin work. I'll try soon.

Andre601 commented 1 day ago

At least for ProtocolLib is it mentioned on its spigot page (And CI) what version you need for what MC versions.