a simple action bar api supports the following versions:
Version | Support |
---|---|
1.18.2 | ✔️ |
1.17.1 | ✔️ |
1.16.5 | ✔️ |
1.12.2 | ✔️ |
1.8.8 | ✔️ |
1.15.x, 1.14.x, 1.13.x | ❌ |
in your maven project, add this to pom.xml
:
<dependency>
<groupId>io.github.invvk</groupId>
<artifactId>actionbar-api</artifactId>
<version>{VERSION HERE}</version>
<scope>compile</scope>
</dependency>
or if you are using gradle, add this to your build.gradle
:
implementation 'io.github.invvk:actionbar-api:{VERSION HERE}'
The usage of this class is pretty simple. through the class ActionBarAPI
you have 3 different methods:
- sendAll(Message)
- send(Player, Message)
- send(Player, Message, Duration, plugin)
and that's it!
This project falls under the MIT License