Artillex-Studios Documentation Help

Developer API

THE API HAS NOT BEEN RELEASED YET

Add the following to your repositories section:

maven { url 'https://repo.artillex-studios.com/releases/' }

Add the dependency to your dependencies section:

compileOnly("com.artillexstudios:AxChatGamesAPI:CHANGE-THIS")

Add the following to your repositories section:

<repository> <id>Artillex-Studios</id> <url>https://repo.artillex-studios.com/releases/</url> </repository>

Add the following to your dependencies section:

<dependency> <groupId>com.artillexstudios</groupId> <artifactId>AxChatGamesAPI</artifactId> <version>CHANGE-THIS</version> <scope>provided</scope> </dependency>

Replace CHANGE-THIS to the latest version: Ax chat games api color 40c14a amp name ax chat games api

API Usage

Don't forget to add AxChatGames to your plugin's plugin.yml, like this:

depend: - AxChatGames

or:

softdepend: - AxChatGames

Events

  • The events can be found under the com.artillexstudios.axchatgames.api.events package.

Event

Cancellable

Description

ChatGameStartEvent

true

Called when a game starts.

ChatGameWinEvent

true

Called when a game ends with a winner.

ChatGameEndEvent

false

Called when a game ends without a winner.

Last modified: 02 May 2025