UHC/scenarios/Example.php

16 lines
318 B
PHP
Raw Permalink Normal View History

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