This Plugin is Finish download link: http://forums.pocketmine.net/index.php?plugins/fakemessagepro.93/
Thx what else how do u make it is it $username when u do the command /fmj it say ur name join the game sooo is it $username? @Glitchmaster_PE glit @ZacHack
Fixed version (typo in api btw) PHP: <?php/*__PocketMine Plugin__name=FakeMessagedescription=FakeMessageversion=1.0author=JassperBeastHDclass=fakemessageapiversion=10*/class fakemessage implements Plugin{private $api;public function __construct(ServerAPI $api, $server = false){$this -> api = $api;}public function init(){$this -> api -> console -> register("fmj", "FakeJoinMessage.", array($this,"handleCommand"));$this -> api -> console -> register("fml", "FakeLeaveMessage.", array($this,"handleCommand"));}public function __destruct(){}public function handleCommand($cmd, $args, $issuer, $alias){switch($cmd){case"fmj" :$username = $issuer->username;$this -> api -> chat -> broadcast("<server> " . $username . " has joined the game");break;case"fml" :$username = $issuer->username;$this -> api -> chat -> broadcast("<server> " . $username . " has left the game");break;}}}
Oh yah i forgot lol ("<server> ".$username." Joined the game"); I like it with no spaces it's less confusing and looks nicer
I like it with spaces, you can see it better and it is not all jumbled up, but we all have our preferences