- Compatible API Versions
- 1.0.0+
- Contributors
- Creadores Program
ViaBedrockDetect
Detects when a Java player joins your server!
Compatible with Nukkit, Pocketmine and ViaProxy!
Installation (ViaProxy)
Simply put the jar VP file in the plugins folder and restart the server
Installation (Nukkit)
Simply place the plugin NK or NK-MOT(Nukkit MOT) 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:
pom.xml:
plugin.yml:
example of use:
Detects when a Java player joins your server!
Compatible with Nukkit, Pocketmine and ViaProxy!
Installation (ViaProxy)
Simply put the jar VP file in the plugins folder and restart the server
Installation (Nukkit)
Simply place the plugin NK or NK-MOT(Nukkit MOT) 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/ViaBedrockDetect-x.x.x.jar -DgroupId=org.CreadoresProgram -DartifactId=ViaBedrockDetect -Dversion=x.x.x -Dpackaging=jar -DgeneratePom=true # replace x.x.x with the plugin version
XML:
<dependency>
<groupId>org.CreadoresProgram</groupId>
<artifactId>ViaBedrockDetect</artifactId>
<version>x.x.x</version><!--replace x.x.x with the plugin version-->
<scope>provided</scope>
</dependency>
plugin.yml:
YAML:
#...
softdepend:
- ViaBedrockDetect
loadbefore:
- ViaBedrockDetect
example of use:
Java:
//import the class into your plugin
import org.CreadoresProgram.ViaBedrockDetect.NukkitMain;
//...
//is Java Player?
NukkitMain.getInstance().isJavaPlayer(player);//player = cn.nukkit.Player returns boolean
//get all Java Players
NukkitMain.getInstance().getJavaPlayers(); //returns List<cn.nukkit.Player>