πŸ”’Getting started

To programme plugins or modules for MetaCloud, proceed as follows:

  1. Add the repository.

Gradle:

maven {
    name "metacloudserviceReleases"
    url "https://repo.metacloudservice.eu/releases"
}

Maven:

<repository>
  <id>metacloudservice-releases</id>
  <url>https://repo.metacloudservice.eu/releases</url>
</repository>
  1. Add the dependency.

    Info: The latest version can be found on the MetaCloud GitHub page.

Gradle:

implementation "eu.metacloudservice:metacloud-driver:VERSION" //e.g. 1.0.2

Maven:

<dependency>
  <groupId>eu.metacloudservice</groupId>
  <artifactId>metacloud-api</artifactId>
  <version>VERSION</version> <!-- e.g. 1.0.2 -->
</dependency>
  1. Add further important dependencies.

    Info: Use the artifactId "metacloud-plugin" to programme a plugin with the command system and the artifactId "metacloud-permission" to programme a plugin with the permission system.

You can also use this repository as a template: https://github.com/whynotmax/metacloud-test-plugin

Last updated