emotes icon indicating copy to clipboard operation
emotes copied to clipboard

How to use ServerEmoteAPI in Spigot plugins

Open MeexReay opened this issue 2 years ago • 1 comments
trafficstars

ERROR:

java.lang.NullPointerException: Cannot invoke "io.github.kosmx.emotes.api.events.server.ServerEmoteAPI.isForcedEmoteImpl(java.util.UUID)" because "io.github.kosmx.emotes.api.events.server.ServerEmoteAPI.INSTANCE" is null

pom.xml:

<repository>
    <id>maven.kosmx.dev</id>
    <url>https://maven.kosmx.dev/</url>
</repository>
<dependency>
    <groupId>io.github.kosmx.emotes</groupId>
    <artifactId>emotesServer</artifactId>
    <version>2.2.7-b.build.47</version>
</dependency>

plugin.yml:

name: MainPlugin
version: '${project.version}'
main: themixray.mainplugin.MainPlugin
api-version: 1.17
prefix: MainPlugin
authors: [ TheMixRay ]
description: just a plugin
depend: [ ProtocolLib, emotecraft ]

emotecraft plugin: image

please help😭

MeexReay avatar Mar 06 '23 20:03 MeexReay

If possible, please share full logs from your testrun.

I suspect your setup is invalid.

KosmX avatar Mar 08 '23 09:03 KosmX