UHC/scenarios/Example.php
2016-08-21 10:40:41 +03:00

16 lines
No EOL
318 B
PHP

<?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 !");
}
}