π οΈAPI
This page helps you to understand how to use our SpooferAPI on different platforms. We offer a abstract layer for Spigot, BungeeCord & Velocity.
Usage
To get started using our api, import our library via either gradle or maven. Create a `libs` folder in your current working directory with our plugin inside of it.
Don't forget to add our plugin as dependency inside your plugin.yml / bungee-plugin.yml / velocity-plugin.json.
The name of the plugin will always be HalosPlayerSpoofer for all platforms
Groovy Gradle
dependencies {
implementation files('libs/HalosPlayerSpoofer-2.0.0.jar')
}Kotlin DSL Gradle
dependencies {
implementation(files("libs/HalosPlayerSpoofer-2.0.0.jar"))
}Maven
<dependencies>
<dependency>
<groupId>com.halos</groupId>
<artifactId>spoofer-api</artifactId>
<version>2.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/HalosPlayerSpoofer-2.0.0.jar</systemPath>
</dependency>
</dependencies>Fake Player
You can get the instance of a fake player from all platform.
Spigot
We provide several events, that are called when a fake player is created on the current server
BungeeCord / Velocity
Both platforms provide a similar api like spigot with the exception of creating / removing fake players. When creating a fake player on spigot, the fake player will also be created on the proxy.
Last updated