Last active
December 7, 2015 06:27
-
-
Save yesitswalid/8375cb42e3be32fd02cc to your computer and use it in GitHub Desktop.
PopupJoin - Auto-generated gist plugin stub by pmt.mcpe.me InstaPlugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace wiligangster\PopupJoin; | |
use pocketmine\event\player\PlayerJoinEvent; | |
use pocketmine\utils\TextFormat; | |
use pocketmine\plugin\PluginBase; | |
use pocketmine\Player; | |
class Main extends PluginBase{ | |
public function onEnable(){ | |
} | |
public function onPlayerJoinEvent (PlayerJoinEvent $event){ | |
$player = $event->getPlayer(); | |
$player->sendPopup(TextFormat::GREEN. "Hi, welcome to server") ; | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: PopupJoin | |
author: TutoGamerWalid | |
version: "1.0" | |
api: | |
- 1.12.0 | |
main: wiligangster\PopupJoin\Main | |
commands: [] | |
permissions: [] | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment