Resource icon

Barrel Classic Detect 1.0.0

Compatible API Versions
1.0.0+
Sourcecode
https://github.com/Creadores-Program/Barrel-Classic-Detect
Contributors
Creadores Program
BarrelClassicDetect
Detects when a ClassiCube player joins your server!
Compatible with Nukkit and Pocketmine (MySoft, Submarine, Pocketmine 5 MV)!
Installation (Nukkit)
Simply place the plugin in the plugins folder!
API usage
Implement in your project: Maven: Place the plugin's jar file in the libs folder and run this command:
Bash:
mvn install:install-file -Dfile=libs/Barrel-Classic-Detect-x.x.x.jar -DgroupId=org.CreadoresProgram -DartifactId=Barrel-Classic-Detect -Dversion=x.x.x -Dpackaging=jar -DgeneratePom=true # replace x.x.x with the plugin version
pom.xml:
XML:
<dependency>
<groupId>org.CreadoresProgram</groupId>
<artifactId>Barrel-Classic-Detect</artifactId>
<version>x.x.x</version><!--replace x.x.x with the plugin version-->
<scope>provided</scope>
</dependency>

plugin.yml:
YAML:
#...
softdepend:
- "Barrel_Classic_Detect"
loadbefore:
- "Barrel_Classic_Detect"

example of use:
Java:
//import the class into your plugin
import org.CreadoresProgram.BarrelClassicDetect.NukkitMain;
//...
//is ClassiCube Player?
NukkitMain.getInstance().isCCPlayer(player);//player = cn.nukkit.Player returns boolean

//get all ClassiCube Players
NukkitMain.getInstance().getCCPlayers(); //returns List<cn.nukkit.Player>
Author
Trollhunters501
Downloads
8
Views
17
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Trollhunters501

Top