Skip to content

Translate your server! Sends the same message in different languages... Hooks into all plugins!

License

Notifications You must be signed in to change notification settings

tritonmc/Triton

Repository files navigation

Triton

Spigot Spigot Rating Release

Translate your server! Sends the same message in different languages... Hooks into all plugins!
This repository was previously called MultiLanguagePlugin.

Triton is a Minecraft plugin for Spigot and BungeeCord that helps you translate your Minecraft server!

Purchase the plugin on Spigot or Polymart!

Using the API

The recommended way to use Triton's API is through the Gradle/Maven artifact. Note that the Maven repository mentioned below is only available since Triton v3.11.2.

Gradle (Groovy) Instructions

Firstly, add the following repository to your project:

repositories {
    maven {
        url "https://repo.diogotc.com/releases"
    }
}

Then, you should be able to add the Triton API dependency. Make sure to NOT shade it into your plugin by using compileOnly.

dependencies {
    // change the version to whatever the latest one is
    compileOnly "com.rexcantor64.triton:triton-api:3.11.2"
}
Maven Instructions

Firstly, add the following repository to your project:

<repository>
  <id>diogotc-repository-releases</id>
  <name>Diogo Correia's Releases Repository</name>
  <url>https://repo.diogotc.com/releases</url>
</repository>

Then, you should be able to add the Triton API dependency. Make sure to NOT shade it into your plugin by setting the appropriate scope.

<dependency>
  <groupId>com.rexcantor64.triton</groupId>
  <artifactId>triton-api</artifactId>
  <!-- change the version to whatever the latest one is -->
  <version>3.11.2</version>
  <scope>provided</scope>
</dependency>

Need help developing? Take a look at the wiki, JavaDocs or join our Discord!

Looking for older API versions? Take a look at the download page or JitPack.

Compiling from Source

Triton is still a premium plugin and if you're going to use it, it's advised that you purchase it from Spigot or Polymart, as stated above.
Nevertheless, you're still free to compile it yourself if you have the skills to do so.
No support will be given to self-compiled versions.

To compile, clone this repository and run the following command:

./gradlew shadowJar