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 evbee; use pocketmine\plugin\PluginBase; use pocketmine\event\Liste..
Decoded Output download
<?php
namespace evbee;
use pocketmine\plugin\PluginBase;
use pocketmine\event\Listener;
use pocketmine\Server;
use pocketmine\Player;
use pocketmine\item\Item;
use pocketminelock\Block;
use pocketmine\event\player\PlayerInteractEvent;
use pocketmine\event\entity\EntityDamageEvent;
use pocketmine\event\entity\EntityDamageByBlockEvent;
use pocketmine\level\Level;
use pocketmine\math\Vector3;
use pocketmine\entity\Effect;
use pocketmine\entity\EffectInstance;
class evbee extends PluginBase implements Listener{
public function onEnable(){
$this->getServer()->getPluginManager()->registerEvents($this,$this);
}
public function onTouch(PlayerInteractEvent $event){
$player = $event->getPlayer();
$name = $player->getName();
$block = $event->getBlock();
$item = $player->getInventory()->getItemInHand();
if($item->getId() == 288 && $item->getDamage() == 0){
$directionVector = $player->getDirectionVector()->multiply(2);
$player->setMotion($directionVector->setComponents(
$directionVector->x,
0.1,
$directionVector->z
));
}
if($item->getId() == 288 && $item->getDamage() == 1){
$directionVector = $player->getDirectionVector()->multiply(2);
$player->setMotion($directionVector->setComponents(
$directionVector->x,
0.5,
$directionVector->z
));
}
if($item->getId() == 288 && $item->getDamage() == 2){
$directionVector = $player->getDirectionVector()->multiply(2);
$player->setMotion($directionVector->setComponents(
$directionVector->x,
0.9,
$directionVector->z
));
}
if($item->getId() == 288 && $item->getDamage() == 5){
$directionVector = $player->getDirectionVector()->multiply(5);
$player->setMotion($directionVector->setComponents(
$directionVector->x,
0.5,
$directionVector->z
));
}
}
} ?>
Did this file decode correctly?
Original Code
<?php
namespace evbee;
use pocketmine\plugin\PluginBase;
use pocketmine\event\Listener;
use pocketmine\Server;
use pocketmine\Player;
use pocketmine\item\Item;
use pocketmine\block\Block;
use pocketmine\event\player\PlayerInteractEvent;
use pocketmine\event\entity\EntityDamageEvent;
use pocketmine\event\entity\EntityDamageByBlockEvent;
use pocketmine\level\Level;
use pocketmine\math\Vector3;
use pocketmine\entity\Effect;
use pocketmine\entity\EffectInstance;
class evbee extends PluginBase implements Listener{
public function onEnable(){
$this->getServer()->getPluginManager()->registerEvents($this,$this);
}
public function onTouch(PlayerInteractEvent $event){
$player = $event->getPlayer();
$name = $player->getName();
$block = $event->getBlock();
$item = $player->getInventory()->getItemInHand();
if($item->getId() == 288 && $item->getDamage() == 0){
$directionVector = $player->getDirectionVector()->multiply(2);
$player->setMotion($directionVector->setComponents(
$directionVector->x,
0.1,
$directionVector->z
));
}
if($item->getId() == 288 && $item->getDamage() == 1){
$directionVector = $player->getDirectionVector()->multiply(2);
$player->setMotion($directionVector->setComponents(
$directionVector->x,
0.5,
$directionVector->z
));
}
if($item->getId() == 288 && $item->getDamage() == 2){
$directionVector = $player->getDirectionVector()->multiply(2);
$player->setMotion($directionVector->setComponents(
$directionVector->x,
0.9,
$directionVector->z
));
}
if($item->getId() == 288 && $item->getDamage() == 5){
$directionVector = $player->getDirectionVector()->multiply(5);
$player->setMotion($directionVector->setComponents(
$directionVector->x,
0.5,
$directionVector->z
));
}
}
}
Function Calls
None |
Stats
MD5 | f06ee29b1559d7367bc8d3f3f5a85663 |
Eval Count | 0 |
Decode Time | 101 ms |