Skip to content

Not compatible with newest version of Minestom #85

Open
@MrDienns

Description

@MrDienns

Is there an existing issue for this bug?

  • I have searched the existing issues before opening this bug report.

Current Behavior

The extension currently crashes on startup because Minestom has since changed the logger definition for extensions.

See here: https://github.com/Minestom/Minestom/blob/master/src/main/java/net/minestom/server/extensions/Extension.java#L67

Which was changed in this commit: Minestom/Minestom@d7e958f

Expected Behavior

It should be updated to the newest logging of Minestom

Server type

Spigot (includes Spigot-based forks)

Server Version

1.19.2

Other Mods / Plugins in your server

None

Error log

Exception in thread "main" java.lang.NoSuchMethodError: 'org.slf4j.Logger dev.cubxity.plugins.metrics.minestom.bootstrap.UnifiedMetricsMinestomExtension.getLogger()'
        at Ext_UnifiedMetrics//dev.cubxity.plugins.metrics.minestom.bootstrap.UnifiedMetricsMinestomBootstrap.<init>(UnifiedMetricsMinestomBootstrap.kt:48)
        at Ext_UnifiedMetrics//dev.cubxity.plugins.metrics.minestom.bootstrap.UnifiedMetricsMinestomExtension.initialize(UnifiedMetricsMinestomExtension.kt:26)
        at java.base/java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:655)
        at net.minestom.server.extensions.ExtensionManager.gotoInit(ExtensionManager.java:127)
        at net.minestom.server.ServerProcessImpl.start(ServerProcessImpl.java:216)
        at net.minestom.server.MinecraftServer.start(MinecraftServer.java:322)
        at net.minestom.server.MinecraftServer.start(MinecraftServer.java:327)
        at com.dyescape.server.node.lobby.LobbyServer.start(server.kt:41)
        at com.dyescape.server.node.lobby.LobbyNode.start(main.kt:32)
        at com.dyescape.server.node.lobby.MainKt$main$1.invokeSuspend(main.kt:24)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
        at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
        at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
        at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
        at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
        at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
        at com.dyescape.server.node.lobby.MainKt.main(main.kt:9)
        at com.dyescape.server.node.lobby.MainKt.main(main.kt)

More information

Tested using commit aebf72de90 from Minestom

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions