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
public function init(){ | |
$this->api->console->register("balus", "kills a player", array($this, "commandHandler")); | |
} | |
public function __destruct(){ | |
} | |
public function commandHandler($command, $params, $issuer) { | |
} |
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
public function commandHandler($command, $params, $issuer) { | |
} |
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
$this->api->console->register("balus", "kills a player", array($this, "commandHandler")); |
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 | |
/* | |
__PocketMine Plugin__ | |
name=ExamplePlugin | |
version=0.0.1 | |
author=shoghicp | |
class=ExamplePlugin | |
apiversion=10 | |
*/ |
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 | |
/* | |
__PocketMine Plugin__ | |
name=PermissionPlus | |
description=Manages player and command permissions. | |
version=1.0.7 | |
apiversion=7,8,9,10 | |
author=Omattyao | |
class=PermissionPlus |
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
GrowthMethods_LifePlugin @omattyao_yk | |
<?php | |
define(GROWTH_INTERVAL, 8400); //8400seconds=7days | |
class GrowthMethods implements Plugin | |
{ | |
private $api; | |
private $path; |
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 | |
private $id = (int) 0; | |
private $schedule = array(); | |
public function schedule($ticks, $method, $args, $repeat = false) | |
{ | |
$id = $this->id; | |
$this->schedule[$id] = array($tocks, $method, $args, $repeat); | |
$this->api->schedule($ticks, array($this, "callback", array($method, $args), $repeat, $id); |
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 | |
/* | |
__PocketMine Plugin__ | |
name=SignConsole | |
description=Run commands with a sign. | |
version=3.0.0 | |
apiversion=9,10 | |
author=Omattyao | |
class=SignConsole |
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 | |
/* | |
__PocketMine Plugin__ | |
name=ResidentManager | |
description=Manages player login, registring. | |
version=1.0.3 | |
apiversion=6 | |
author=Omattyao | |
class=ResidentManager |
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 | |
/* | |
__PocketMine Plugin__ | |
name=PrivateAreaProtector | |
version=0.0.1 | |
author=Omattyao | |
apiversion=2 | |
class=scPrivateArea | |
*/ |