Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Minifixio\Spleef\command; use pocketmine\command\Command; use pocketmine\..
Decoded Output download
<?php namespace Minifixio\Spleef\command; use pocketmine\command\Command; use pocketmine\command\PluginIdentifiableCommand; use pocketmine\command\CommandSender; use pocketmine\level\Level; use pocketmine\Player; use pocketmine\Server; use pocketmine\utils\TextFormat; use Minifixio\Spleef\Spleef; use Minifixio\Spleef\ArenaManager; class JoinCommand extends Command implements PluginIdentifiableCommand{ private $plugin; private $arenaManager; public $commandName = "spleefmatch"; public function __construct(Spleef $plugin, ArenaManager $arenaManager){ parent::__construct($this->commandName, " !"); $this->setUsage("/spleefmatch"); $this->plugin = $plugin; $this->arenaManager = $arenaManager; } public function getPlugin(){ return $this->plugin; } public function execute(CommandSender $sender, $label, array $params){ if(!$this->plugin->isEnabled()){ return \false; } if(!$sender instanceof Player){ $sender->sendMessage(" !"); return \true; } $this->arenaManager->addNewPlayerToQueue($sender); return \true; } ?>
Did this file decode correctly?
Original Code
<?php namespace Minifixio\Spleef\command; use pocketmine\command\Command; use pocketmine\command\PluginIdentifiableCommand; use pocketmine\command\CommandSender; use pocketmine\level\Level; use pocketmine\Player; use pocketmine\Server; use pocketmine\utils\TextFormat; use Minifixio\Spleef\Spleef; use Minifixio\Spleef\ArenaManager; class JoinCommand extends Command implements PluginIdentifiableCommand{ private $plugin; private $arenaManager; public $commandName = "spleefmatch"; public function __construct(Spleef $plugin, ArenaManager $arenaManager){ parent::__construct($this->commandName, " !"); $this->setUsage("/spleefmatch"); $this->plugin = $plugin; $this->arenaManager = $arenaManager; } public function getPlugin(){ return $this->plugin; } public function execute(CommandSender $sender, $label, array $params){ if(!$this->plugin->isEnabled()){ return \false; } if(!$sender instanceof Player){ $sender->sendMessage(" !"); return \true; } $this->arenaManager->addNewPlayerToQueue($sender); return \true; } ?>
Function Calls
None |
Stats
MD5 | a4f89c0c8bbc8d644f05ccab84655704 |
Eval Count | 0 |
Decode Time | 98 ms |