
<?php
echo "PocketMine-MP plugin MovingData2 v1
This file has been generated using DevTools v1.13.0 at Sun, 16 Sep 2018 08:38:45 +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(); ?>
`             î   a:9:{s:4:"name";s:11:"MovingData2";s:7:"version";d:1;s:4:"main";s:22:"metowa1227\MovingData2";s:3:"api";s:5:"3.2.1";s:6:"depend";s:0:"";s:11:"description";s:0:"";s:7:"authors";s:0:"";s:7:"website";s:0:"";s:12:"creationDate";i:1537054725;}
   plugin.yml¯   ˜[¯   N¼gå¶         src/metowa1227/MovingData2.phpï
  ˜[ï
  K²¶      name: MovingData2
main: metowa1227\MovingData2
version: 1.0
api: 3.2.1
commands:
  move:
    description: ãƒ‡ãƒ¼ã‚¿ã®å¼•ã£è¶Šã—ã‚’é–‹å§‹ã—ã¾ã™ã€‚
    usage: /move<?php

/*
*  __  __       _                             __    ___    ___   _______
* |  \/  | ___ | |_  ___   _    _  ____  _   |  |  / _ \  / _ \ |___   /
* | |\/| |/ _ \| __|/ _ \ | |  | |/  _ \/ /  |  | |_// / |_// /    /  /
* | |  | |  __/| |_| (_) || |__| || (_)   |  |  |   / /_   / /_   /  /
* |_|  |_|\___| \__|\___/ |__/\__||____/\_\  |__|  /____| /____| /__/
*
* All this program is made by hand of metowa1227.
* I certify here that all authorities are in metowa1227.
* Expiration date of certification: unlimited
* Secondary distribution etc are prohibited.
* The update is also done by the developer.
* This plugin is a developer API plugin to make it easier to write code.
* When using this plug-in, be sure to specify it somewhere.
* Warning if violation is confirmed.
*
* Developer: metowa1227
*/

/*
    Plugin description

    - CONTENTS
        - Transfer data from old API to new API.

    - AUTHOR
        - metowa1227 (MoneySystem)

    - DEVELOPMENT ENVIRONMENT
        - Windows 10 Home 64bit
        - Intel(R) Core(TM) i7 6700 @ 3.40GHz
        - 16.00GB DDR4 SDRAM
        - PocketMine-MP 3.2.2
        - PHP 7.2.1 64bit supported version
*/

namespace metowa1227;

use metowa1227\moneysystem\api\core\API;

use pocketmine\plugin\PluginBase;
use pocketmine\command\Command;
use pocketmine\command\CommandSender;
use pocketmine\utils\TextFormat;
use pocketmine\utils\Config;
use pocketmine\Player;

class MovingData2 extends PluginBase
{
	public function onEnable() {}

	public function onCommand(CommandSender $sender, Command $command, string $label, array $args) : bool
	{
		if ($command->getName() === "move") {
			if ($sender instanceof Player) {
				$sender->sendMessage(TextFormat::YELLOW . "ã“ã®ã‚³ãƒžãƒ³ãƒ‰ã¯ã‚³ãƒ³ã‚½ãƒ¼ãƒ«ã‹ã‚‰ã®ã¿å®Ÿè¡Œå¯èƒ½ã§ã™ã€‚");
				return true;
			}
			$this->getLogger()->info(TextFormat::GREEN . "æ‰€æŒé‡‘ãƒ‡ãƒ¼ã‚¿ã®å¼•ã£è¶Šã—ã‚’é–‹å§‹ã—ã¾ã™ã€‚");
			$count = 0;
			if (!file_exists($this->getDataFolder() . "Money.yml")) {
				$this->getLogger()->notice("æ‰€æŒé‡‘ãƒ‡ãƒ¼ã‚¿ãŒç¢ºèªã§ãã¾ã›ã‚“ã§ã—ãŸã€‚ãƒ‡ãƒ¼ã‚¿ãƒ•ã‚¡ã‚¤ãƒ«ã‚’ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã—ã¦ãã ã•ã„ã€‚");
				return true;
			}
			$config = new Config($this->getDataFolder() . "Money.yml", Config::YAML);
			foreach ($config->getAll(true) as $data) {
				if (API::getInstance()->exists($data)) {
					continue;
				}
				if (!API::getInstance()->createAccount($data, $config->get($data))) {
					$this->getLogger()->error($data . "ã®ã‚¢ã‚«ã‚¦ãƒ³ãƒˆã®ç§»è¡Œã«å¤±æ•—ã—ã¾ã—ãŸã€‚");
					continue;
				}
				$count += 1;
			}
			$this->getLogger()->info(TextFormat::GREEN . $count . "å€‹ã®ãƒ‡ãƒ¼ã‚¿ã®å¼•ã£è¶Šã—ãŒå®Œäº†ã—ã¾ã—ãŸã€‚");
			return true;
		}
	}
}¿ü­°KÙÃÃAYÉEZhµ   GBMB