6cd5bec03a
Starting the howtoplay
16 lines
No EOL
318 B
PHP
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 !");
|
|
}
|
|
} |