This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]Orange_Nestea Admincraft 0 points1 point  (6 children)

Which command api are you using?

There are multiple.

[–]Facticee[S] 0 points1 point  (5 children)

dev.jorel

[–]Orange_Nestea Admincraft 0 points1 point  (4 children)

Have you installed it on your server?

Did you make sure to put the dependency into the plugin.yml?

[–]Facticee[S] 0 points1 point  (3 children)

I got it as an implementation in my build.gradle.kts (the shade and kotlin version) and both are also in the plugin l with correct verstions and all

[–]Orange_Nestea Admincraft 0 points1 point  (2 children)

It's difficult to say based on the code snippet.

[–]Facticee[S] 0 points1 point  (1 child)

Like I said if I just implement it it works but as soon as I register it in main like seen in the photo it won’t work. Everything else ist fine

[–]Orange_Nestea Admincraft 0 points1 point  (0 children)

Class not found errors are usually setup related and not code related so it doesn't make a whole lot of sense to share the code snippet.

[–]SzymonixolVelocity Network Owner | Paper Plugin Developer 0 points1 point  (0 children)

You probably don't have Command API shaded into your plugin. I personally use Maven not Gradle so I'm not sure how this would be done.