Bug Fixes about scenarios ... and a lot more stuff.

Starting the howtoplay
This commit is contained in:
Ad5001 2016-08-21 10:40:41 +03:00
parent be870bc924
commit 6cd5bec03a
10 changed files with 102 additions and 65 deletions

16
scenarios/Example.php Normal file
View file

@ -0,0 +1,16 @@
<?php
use Ad5001\UHC\scenario\Scenario;
use pocketmine\Player;
class ExampleScenario extends Scenario {
public function onStart() {
$this->getLogger()->info("Started !");
}
public function onJoin(Player $player) {
$player->sendMessage("Welcome to this example UHC Scenario !");
}
}