#Can't access DynmapAPI

1 messages · Page 1 of 1 (latest)

cerulean current
#

My pom.xml dependency:

<repository>
    <id>dynmap-repo</id>
    <url>https://repo.mikeprimm.com/</url>
</repository>

<dependency>
    <groupId>us.dynmap</groupId>
    <artifactId>dynmap-api</artifactId>
    <version>3.6</version>
    <scope>provided</scope>
</dependency>

How i am trying to get the API

Plugin dynmap = pm.getPlugin("dynmap");
if (dynmap != null && dynmap.isEnabled()) {
      DynmapAPI dynmapAPI = (DynmapAPI) dynmap;
      //more operations
}

Some days a go it complied just fine however now I am getting a build error: cannot access org.dynmap.DynmapCommonAPI. What can I do to fix the problem? It looks like DynmapAPI extends that class, however said class maybe isn't in the dependency.

fluid glacierBOT
#

Thank you! Please provide any errors you are experiencing and upload your configuration.txt. Someone from our <@&801354402010628138> team will respond to help shortly. As a general reminder, everyone on our support team is a volunteer, please be kind!

#

Configuration.txt link: man this isn't the problem

cerulean current
#

had to add manually the #dev channel to find it, mb, should i close this?

eternal hedge
#

yeah, idk about this part of dynmap

fluid glacierBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.