Skip to content

Installation

Duckulus edited this page Jul 23, 2025 · 5 revisions

The syn-sniff API is designed as a compile-only dependency. It is provided at runtime when the plugin is installed on the server. The API works both for Paper and Velocity plugins.

Step 1: Add as a Dependency

The plugin is published on Maven Central:

Maven Central Version

Artifact: io.github.duckulus:syn-sniff

Maven

<dependency>
  <groupId>io.github.duckulus</groupId>
  <artifactId>syn-sniff</artifactId>
  <version>REPLACE_WITH_LATEST</version>
  <scope>provided</scope>
</dependency>

Gradle (Kotlin)

dependencies {
  compileOnly("io.github.duckulus:syn-sniff:REPLACE_WITH_LATEST")
}

Step 2: Declare plugin Dependency

Paper

Make sure to declare the dependency in plugin.yml

depend: [ SynSniff ]

Velocity

Add the Dependency to your plugin description

@Plugin(id="foo", dependencies = {
        @Dependency(id = "syn-sniff")
})
public class FooPlugin { }
Clone this wiki locally