forked from Ad5001/UHC
Bug Fixes about scenarios ... and a lot more stuff.
Starting the howtoplay
This commit is contained in:
parent
be870bc924
commit
6cd5bec03a
10 changed files with 102 additions and 65 deletions
16
scenarios/Example.php
Normal file
16
scenarios/Example.php
Normal 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 !");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue