Last active
September 6, 2018 17:03
-
-
Save jasonw4331/186f325f76a331d8668c to your computer and use it in GitHub Desktop.
Test - 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
name: Temp | |
author: "jasonwynn10" | |
version: 0.1.0 | |
api: | |
- 2.1.0 | |
- 3.0.0-ALPHA1 | |
- 3.0.0-ALPHA2 | |
- 3.0.0-ALPHA3 | |
- 3.0.0-ALPHA4 | |
- 3.0.0-ALPHA5 | |
main: jasonwynn10\Main | |
description: "" | |
load: STARTUP | |
commands: | |
command1: | |
usage: "" | |
permission: permission | |
description: "" | |
permissions: | |
permission: | |
default: | |
children: | |
child.permission: | |
default: |
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
# instructions go here | |
--- | |
# | |
... |
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 jasonwynn10; | |
use pocketmine\plugin\PluginBase; | |
use pocketmine\command\CommandSender; | |
use pocketmine\command\Command; | |
use pocketmine\event\Listener; | |
use pocketmine\utils\TextFormat as TF; | |
use pocketmine\Player; | |
class Main extends PluginBase { | |
public function onEnable() { | |
$this->saveDefaultConfig(); | |
// $this->getServer()->getPluginManager()->registerEvents($this, $this); | |
$this->getLogger()->notice(TF::GREEN."Enabled!"); | |
} | |
public function onCommand(CommandSender $sender, Command $command, $label, array $args) { | |
if(strtolower($command) == "") { | |
// | |
} | |
return false; | |
} | |
public function onDisable() { | |
$this->getLogger()->notice(TF::GREEN."Disabled!"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment