
<?php
echo "PocketMine-MP plugin hunger v0.0.1
This file has been generated using DevTools v1.13.4 at Wed, 25 Dec 2019 00:18:09 +0900
----------------
";

if(extension_loaded("phar")){
	$phar = new \Phar(__FILE__);
	foreach($phar->getMetadata() as $key => $value){
		echo ucfirst($key) . ": " . (is_array($value) ? implode(", ", $value) : $value) . "\n";
	}
}

__HALT_COMPILER(); ?>
s               a:9:{s:4:"name";s:6:"hunger";s:7:"version";s:5:"0.0.1";s:4:"main";s:19:"tatchan\hunger\Main";s:3:"api";s:6:"3.10.0";s:6:"depend";s:0:"";s:11:"description";s:21:"お腹を減らすよ";s:7:"authors";s:0:"";s:7:"website";s:0:"";s:12:"creationDate";i:1577200689;}
   plugin.yml  1,^  䟽         src/tatchan/hunger/Main.php5  1,^5        #Name of your plugin. This is self-explanatory. Plugin names SHOULD NOT contain spaces.
name: hunger

#Fully-qualified class-name of your plugin's main class. This is usually the one that extends PluginBase.
#Since PocketMine-MP's autoloader is PSR-0, your plugin's main-class namespace will usually be the same as the folder path.
main: tatchan\hunger\Main

#Version name/number of your plugin
version: 0.0.1

#API version that your plugin supports. If your plugin's API is not compatible with that of the server, the server will refuse to load your plugin.
#The API version is changed when:
# - Breaking changes are made to a development version, things that might cause your plugin to crash.
#     This is denoted by an API suffix, for example 3.0.0-ALPHA4. If the version does not match as a whole on a development version, the plugin will not be loaded. (Suffixes are non-case-sensitive.)
# - Breaking changes are made to a release version, things that might cause your plugin to crash.
#     This usually warrants a major API bump, e.g. 2.0.0 -> 3.0.0. If the major version does not match, the plugin will not be loaded.
# - Feature additions which do not break existing plugins.
#     This is denoted by a minor API bump, e.g. 2.0.0 -> 2.1.0. The server will load plugins with an equivalent or older minor version.
# - Minor bug fixes or insignificant alterations to the API.
#     This is denoted by a patch bump, e.g. 1.13.0 -> 1.13.1
api: 3.10.0

#When to load the plugin. There are currently two options for this: STARTUP and POSTWORLD. Usually POSTWORLD will do fine.
load: POSTWORLD

#Name of the person who wrote the plugin. This can be anything you like.
author: tatchan

#Simple description of what the plugin is or does. Try to keep this short.
description: お腹を減らすよ


#Commands that your plugin has. You can capture the execution of these via the `onCommand()` method in your PluginBase, or the registered CommandExecutor for the command.
#This node is optional and can be removed if your plugin will not have any commands.
commands:
 #Name of the command. This is what people will type to execute the command.
 hunger:
  #Description to show in the Help command
  description: "§4⚠空腹にするよ"
<?php

declare(strict_types=1);

namespace tatchan\hunger;

use pocketmine\plugin\PluginBase;
use pocketmine\command\CommandSender;
use pocketmine\command\Command;

class Main extends PluginBase{

	public function onEnable() : void{
	}

	public function onCommand(CommandSender $sender, Command $command, string $label, array $args) : bool{
		switch($command->getName()){
			case "hunger":
			$sender->setFood(0);
				$sender->sendMessage("§a空腹にしました");
				return true;
			default:
				return false;
		}
	}

	public function onDisable() : void{
	}
}
ω2K;
0   GBMB