- KillSteak plugin for pocketmine.
- Get 1 point when kill a player.
- When you died the point return to 0.
- There an API for developers.
- Put the plugin to you're /plugins folder.
- Restart you're server.
- and done Enjoy.
<?php
use Inaayat\KillStreak;
You can create an instance by doing:
$ks = KillStreak::getInstance();
check the player killstreak by:
$ks->getProvider()->getPlayerKSPoints($player);
add killstreak to player by:
$ks->getProvider()->addKSPoints($player, "1");
reset the player killstreak by:
$ks->getProvider()->resetKSPoints($player);
This API was made with 💓 by Inaayat.