Block Hunt minigame for PocketMine-MP!
In this minigame there are two teams, Hunters and seekers.
Seekers are trying to run from hunters.
Seekers can transform into blocks.
If a seeker dies it changes his team to hunter.
If seeker(s) survives for maximum time of arena they win else hunters wins.
Just simply use /blockhuntadmin setup
command and start setup session!
Use plugin
use OguzhanUmutlu\BlockHunt\BlockHunt;
Get player's arena:
BlockHunt::getInstance()->arenaManager->getPlayerArena($player);
Events:
use OguzhanUmutlu\BlockHunt\events\BlockHuntKillEvent;
use OguzhanUmutlu\BlockHunt\events\BlockHuntWinEvent;
use OguzhanUmutlu\BlockHunt\events\BlockHuntLoseEvent;
/*** BlockHuntKillEvent|BlockHuntWinEvent|BlockHuntLoseEvent */
$player = $event->getPlayer();
$arena = $event->getArena();
/*** BlockHuntKillEvent */
$killer = $event->getKiller();
- idk
You may open an issue on the BlockHunt GitHub repository for report bugs https://github.com/OguzhanUmutlu/BlockHunt/issues