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 avas;${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x79\x69q\x70pwe\x6b\x71"]="\x69\..

Decoded Output download

<?php namespace avas;${"GLOBALS"}["kyiqppwekq"]="invType";${"GLOBALS"}["skudfghjclc"]="who";${"GLOBALS"}["pvickdk"]="items";${"GLOBALS"}["qspemwdpnyw"]="size";${"GLOBALS"}["glbfdyacjios"]="network_type";${"GLOBALS"}["vyvujzbg"]="form";${"GLOBALS"}["ssrfxsmlvu"]="arr";${"GLOBALS"}["rxkmfbhylbv"]="iname";${"GLOBALS"}["tzlwukxi"]="menu";${"GLOBALS"}["takypxbcpqic"]="player";${"GLOBALS"}["irvgbqqjyv"]="object";${"GLOBALS"}["tmvjizdoo"]="di";${"GLOBALS"}["xsqfepbxvrms"]="slots";${"GLOBALS"}["szlmhbpso"]="inv";${"GLOBALS"}["kygdvjqnog"]="i";${"GLOBALS"}["kgpfnvrueild"]="p";${"GLOBALS"}["fyqqksnrydx"]="item";${"GLOBALS"}["ikdvqe"]="z";${"GLOBALS"}["cgdawcvsrik"]="tag";${"GLOBALS"}["lrrkwdt"]="x";${"GLOBALS"}["xvjoaoxtdq"]="pk";${"GLOBALS"}["ynswrkqrvmuj"]="y";${"GLOBALS"}["vgcfkbtlcye"]="sender";${"GLOBALS"}["kbislrnk"]="args";${"GLOBALS"}["devtsebozafe"]="command";${"GLOBALS"}["dflfhso"]="name";${"GLOBALS"}["ehtynt"]="price";use pocketmine\plugin\PluginBase;use pocketmine\event\Listener;use pocketmine\event\Event;use pocketmine\event\Cancellable;use pocketmine\command\Command;use pocketmine\command\CommandSender;use pocketmine\utils\Config;use pocketmine\item\Item;use pocketmine\Player;use pocketmine\Server;use pocketmine\block\BlockFactory;use pocketmine\block\BlockIds;use pocketmine\level\Position;use pocketmine\math\Vector3;use pocketmine\inventory\ContainerInventory;use pocketmine\nbt\NetworkLittleEndianNBTStream;use pocketmine\nbt\tag\CompoundTag;use pocketmine\network\mcpe\protocol\BlockEntityDataPacket;use pocketmine\network\mcpe\protocol\UpdateBlockPacket;use pocketmine\network\mcpe\protocol\types\WindowTypes;use pocketmine\event\server\DataPacketReceiveEvent;use pocketmine\event\inventory\InventoryTransactionEvent;use ifteam\SimpleArea\database\minefarm\MineFarmManager;use ifteam\SimpleArea\database\minefarm\MineFarmLoader;use pocketmine\network\mcpe\protocol\ModalFormRequestPacket;use pocketmine\network\mcpe\protocol\ModalFormResponsePacket;class EasyBuyIsLand extends PluginBase implements Listener{public$data,$db;private static$di=[];public function onEnable(){$this->getServer()->getPluginManager()->registerEvents($this,$this);$this->area=$this->getServer()->getPluginManager()->getPlugin("SimpleArea");@mkdir($this->getDataFolder());$this->data=new Config($this->getDataFolder()."data.yml",Config::YAML,["price"=>35,"buyer"=>[]]);$this->db=$this->data->getAll();}public function save(){$this->data->setAll($this->db);$this->data->save();}public function isBuyer($name){$dxdurhahjal="name";if(isset($this->db["buyer"][${$dxdurhahjal}])){return true;}return false;}public function getPrice():int{return$this->db["price"];}public function setPrice(int$price){return$this->db["price"]=${${"GLOBALS"}["ehtynt"]};}public function onCommand(CommandSender$sender,Command$command,string$label,array$args):bool{${"GLOBALS"}["poyddiw"]="command";${${"GLOBALS"}["poyddiw"]}=$command->getName();${${"GLOBALS"}["dflfhso"]}=$sender->getName();if(${${"GLOBALS"}["devtsebozafe"]}==""){if(!isset(${${"GLOBALS"}["kbislrnk"]}[0])){$sender->sendMessage("la[fa]rf /  a|f   .");if($sender->isOp()){$sender->sendMessage("la[fa]rf /  [] a|f     .");$sender->sendMessage("la[fa]rf /  a|f    .");}return true;}if(${${"GLOBALS"}["kbislrnk"]}[0]==""){$this->showInv(${${"GLOBALS"}["vgcfkbtlcye"]});return true;}if(${${"GLOBALS"}["kbislrnk"]}[0]==""){$ihdmwsxe="args";if(!$sender->isOp())return false;if(!isset(${${"GLOBALS"}["kbislrnk"]}[1])or!is_numeric(${${"GLOBALS"}["kbislrnk"]}[1])){$sender->sendMessage("la[fa]rf    .");return true;}$this->db["price"]=${$ihdmwsxe}[1];$this->save();$sender->sendMessage("la[fa]rf   .");return true;}if(${${"GLOBALS"}["kbislrnk"]}[0]==""){${"GLOBALS"}["bxwxjjiz"]="sender";if(!$sender->isOp())return true;$this->showBuyer(${${"GLOBALS"}["bxwxjjiz"]});return true;}}return true;}public static function sendInventoryMenu(Player$p,array$i,$name){$qtdgmbjdfkk="x";$rumjuohirubu="pk";$daoaewhlh="z";$tmaetkkq="y";${"GLOBALS"}["txitvla"]="z";$eiokvmjz="name";${$qtdgmbjdfkk}=(int)$p->x;${${"GLOBALS"}["ynswrkqrvmuj"]}=(int)$p->y+4;${"GLOBALS"}["spxvniudmyc"]="pk";${"GLOBALS"}["vqrswxemoi"]="z";${$daoaewhlh}=(int)$p->z;${"GLOBALS"}["anmypynway"]="inv";${${"GLOBALS"}["xvjoaoxtdq"]}=new UpdateBlockPacket();${"GLOBALS"}["rusljrctstp"]="writer";$pk->x=${${"GLOBALS"}["lrrkwdt"]};$pk->y=${${"GLOBALS"}["ynswrkqrvmuj"]};$tlbgwmvbo="x";$pk->z=${${"GLOBALS"}["txitvla"]};$pk->flags=0b0000;$pk->blockRuntimeId=BlockFactory::toStaticRuntimeId(BlockIds::CHEST);$fyhggdhikh="tag";$rheuedphl="name";$p->dataPacket(${${"GLOBALS"}["spxvniudmyc"]});${${"GLOBALS"}["anmypynway"]}=new SubInventory(WindowTypes::CONTAINER,new Vector3(${${"GLOBALS"}["lrrkwdt"]},${${"GLOBALS"}["ynswrkqrvmuj"]},${${"GLOBALS"}["vqrswxemoi"]}),[],27,${${"GLOBALS"}["dflfhso"]});${${"GLOBALS"}["cgdawcvsrik"]}=new CompoundTag();$pojgdqo="x";$tag->setString("CustomName",${${"GLOBALS"}["dflfhso"]});$gxdggfagews="key";${${"GLOBALS"}["rusljrctstp"]}=new NetworkLittleEndianNBTStream();${$rumjuohirubu}=new BlockEntityDataPacket;$sbmazkuws="z";$pk->x=${$tlbgwmvbo};$pk->y=${$tmaetkkq};$xpcjxxr="callEv";$pk->z=${${"GLOBALS"}["ikdvqe"]};$pk->namedtag=$writer->write(${$fyhggdhikh});$wrcjyui="i";$p->dataPacket(${${"GLOBALS"}["xvjoaoxtdq"]});foreach(${$wrcjyui} as${$gxdggfagews}=>${${"GLOBALS"}["fyqqksnrydx"]}){$icnqsikg="item";$frguiiobwhs="key";$inv->setItem(${$frguiiobwhs},${$icnqsikg});}${$xpcjxxr}=new InvGEvent(${${"GLOBALS"}["kgpfnvrueild"]},${${"GLOBALS"}["kygdvjqnog"]},1,${$eiokvmjz});$callEv->call();$opqtmjgzfkd="di";$p->addWindow(${${"GLOBALS"}["szlmhbpso"]});self::${$opqtmjgzfkd}[$p->getName()]=array(${$pojgdqo},${${"GLOBALS"}["ynswrkqrvmuj"]},${$sbmazkuws},${$rheuedphl});}public function showInv(Player$p){${"GLOBALS"}["kpcjuqeubjql"]="slots";${${"GLOBALS"}["kpcjuqeubjql"]}=[0=>Item::get(339)->setCustomName("c"),1=>Item::get(339)->setCustomName("c"),2=>Item::get(339)->setCustomName("c"),3=>Item::get(339)->setCustomName("c"),4=>Item::get(339)->setCustomName("c"),5=>Item::get(339)->setCustomName("c"),6=>Item::get(339)->setCustomName("c"),7=>Item::get(339)->setCustomName("c"),8=>Item::get(339)->setCustomName("c"),9=>Item::get(339)->setCustomName("c"),10=>Item::get(339)->setCustomName("c"),11=>Item::get(339)->setCustomName("c"),12=>Item::get(339)->setCustomName("c"),13=>Item::get(388)->setCustomName("a")->setLore(["","a---------------","","la e".$this->db["price"]."f    ","lc   .","","a---------------",""]),14=>Item::get(339)->setCustomName("c"),15=>Item::get(339)->setCustomName("c"),16=>Item::get(339)->setCustomName("c"),17=>Item::get(339)->setCustomName("c"),18=>Item::get(339)->setCustomName("c"),19=>Item::get(339)->setCustomName("c"),20=>Item::get(339)->setCustomName("c"),21=>Item::get(339)->setCustomName("c"),22=>Item::get(339)->setCustomName("c"),23=>Item::get(339)->setCustomName("c"),24=>Item::get(339)->setCustomName("c"),25=>Item::get(339)->setCustomName("c"),26=>Item::get(339)->setCustomName("c")];$this->sendInventoryMenu(${${"GLOBALS"}["kgpfnvrueild"]},${${"GLOBALS"}["xsqfepbxvrms"]},"la[fa]f    !");}public static function closeInventoryMenu(Player$p){$ahwyvor="di";if(isset(self::${$ahwyvor}[$p->getName()])){$ejkprhxttw="pk";$trjhku="callEv";${${"GLOBALS"}["tmvjizdoo"]}=self::${${"GLOBALS"}["tmvjizdoo"]}[$p->getName()];${$trjhku}=new InvCloseEvent(${${"GLOBALS"}["kgpfnvrueild"]},${${"GLOBALS"}["tmvjizdoo"]}[3]);$callEv->call();$wcslxbij="di";${"GLOBALS"}["dnblanea"]="di";${${"GLOBALS"}["xvjoaoxtdq"]}=new UpdateBlockPacket();$pk->x=${${"GLOBALS"}["dnblanea"]}[0];$pk->y=${${"GLOBALS"}["tmvjizdoo"]}[1];$pk->z=${$wcslxbij}[2];$pk->flags=0b0000;$pk->blockRuntimeId=BlockFactory::toStaticRuntimeId(BlockIds::AIR);$p->dataPacket(${$ejkprhxttw});unset(self::${${"GLOBALS"}["tmvjizdoo"]}[$p->getName()]);}}public function onTransactionInventory(InventoryTransactionEvent$ev){${"GLOBALS"}["vinxfsgsrd"]="object";${${"GLOBALS"}["irvgbqqjyv"]}=$ev->getTransaction()->getSource();if(${${"GLOBALS"}["vinxfsgsrd"]} instanceof Player){${"GLOBALS"}["kcbceutsa"]="di";if(isset(self::${${"GLOBALS"}["kcbceutsa"]}[$object->getName()])){$ev->setCancelled();}}}public function onReceive(DataPacketReceiveEvent$ev){${${"GLOBALS"}["xvjoaoxtdq"]}=$ev->getPacket();${"GLOBALS"}["tgqgbreyjk"]="di";${${"GLOBALS"}["takypxbcpqic"]}=$ev->getPlayer();${"GLOBALS"}["zgeewff"]="pk";switch(\get_class(${${"GLOBALS"}["zgeewff"]})){case"pocketmine\\network\mcpe\protocol\\ContainerClosePacket":$this->closeInventoryMenu(${${"GLOBALS"}["takypxbcpqic"]});break;case"pocketmine\\network\mcpe\protocol\\InventoryTransactionPacket":if(isset(self::${${"GLOBALS"}["tgqgbreyjk"]}[$player->getName()])&&array_key_exists(0,$pk->actions)){$egpedpjhxk="data";${"GLOBALS"}["jhshucnwkut"]="player";${"GLOBALS"}["liobgw"]="action";${"GLOBALS"}["hctsglmna"]="data";${"GLOBALS"}["zegbhujvq"]="callEv";${"GLOBALS"}["nqzyshhp"]="di";${${"GLOBALS"}["liobgw"]}=$pk->actions[0];${$egpedpjhxk}=self::${${"GLOBALS"}["nqzyshhp"]}[$player->getName()];${${"GLOBALS"}["fyqqksnrydx"]}=$action->oldItem;if($action->oldItem->getId()==0)${${"GLOBALS"}["fyqqksnrydx"]}=$action->newItem;${${"GLOBALS"}["zegbhujvq"]}=new InvClickEvent(${${"GLOBALS"}["jhshucnwkut"]},${${"GLOBALS"}["fyqqksnrydx"]},${${"GLOBALS"}["hctsglmna"]}[3]);$callEv->call();$this->closeInventoryMenu(${${"GLOBALS"}["takypxbcpqic"]});}break;}}public function onClicked(InvClickEvent$ev){$vsaqxppbq="item";${"GLOBALS"}["dkxbtocitgx"]="iname";$bhprwmwzf="menu";${${"GLOBALS"}["takypxbcpqic"]}=$ev->getPlayer();${$bhprwmwzf}=$ev->getMenuName();${$vsaqxppbq}=$ev->getItem();${${"GLOBALS"}["dkxbtocitgx"]}=$item->getCustomName();if(${${"GLOBALS"}["tzlwukxi"]}=="la[fa]f    !"){$zujbleuolvmv="iname";if(${$zujbleuolvmv}=="c"){}if(${${"GLOBALS"}["rxkmfbhylbv"]}=="a"){if(isset($this->db["buyer"][$player->getName()])){$player->sendMessage("la[fa]rf     .");}if(!$player->getInventory()->contains(Item::get(399,0,$this->getPrice()))){$player->sendMessage("la[fa]rf    a".$this->getPrice()."f   .");}else{$player->getInventory()->removeItem(Item::get(399,0,$this->getPrice()));${"GLOBALS"}["aelgkxloaf"]="player";$this->db["buyer"][$player->getName()]=[];$this->save();$this->buyArea(${${"GLOBALS"}["aelgkxloaf"]});}}}}public function buyArea(Player$owner){${"GLOBALS"}["pnwuwqnorg"]="area";$pcqdxdle="owner";${${"GLOBALS"}["pnwuwqnorg"]}=new MineFarmLoader($this->area);$area->addMineFarm(${$pcqdxdle});$owner->sendMessage("la-------------------------\nla[fa]rf   .\nla-------------------------");}public function showBuyer(Player$player){${"GLOBALS"}["xmokbicok"]="pk";$ovpqoat="arr";$somzqvkgo="buyer";${"GLOBALS"}["qjuthygn"]="buyer";$egwcsu="arr";if(count($this->db["buyer"])==0){$player->sendMessage("la[fa]rf    .");return;}${$ovpqoat}=[];foreach(array_keys($this->db["buyer"])as${$somzqvkgo})${${"GLOBALS"}["ssrfxsmlvu"]}[]=["text"=>${${"GLOBALS"}["qjuthygn"]}];${${"GLOBALS"}["vyvujzbg"]}=["type"=>"form","title"=>"la[f  a]rf ","content"=>"","buttons"=>${$egwcsu}];${${"GLOBALS"}["xvjoaoxtdq"]}=new ModalFormRequestPacket();$pk->formId=23991;$pk->formData=json_encode(${${"GLOBALS"}["vyvujzbg"]});$player->sendDataPacket(${${"GLOBALS"}["xmokbicok"]});}}class SubInventory extends ContainerInventory{protected$network_type;protected$title;protected$size;public function __construct(int$network_type,Vector3$holder,array$items=[],int$size=null,string$title="Inventory Avas"){$liphymhehbf="title";$this->network_type=${${"GLOBALS"}["glbfdyacjios"]};$this->title=${$liphymhehbf};$jcfzalgl="title";$this->size=${${"GLOBALS"}["qspemwdpnyw"]};${"GLOBALS"}["xelixyl"]="holder";parent::__construct(${${"GLOBALS"}["xelixyl"]},${${"GLOBALS"}["pvickdk"]},${${"GLOBALS"}["qspemwdpnyw"]},${$jcfzalgl});}public function getNetworkType():int{return$this->network_type;}public function getName():string{return$this->title;}public function getDefaultSize():int{return$this->size;}}class InvGEvent extends Event implements Cancellable{private$who;private$invType;private$items;private$name;public function __construct(Player$who,array$items,int$invType,string$name){$this->who=${${"GLOBALS"}["skudfghjclc"]};$this->items=${${"GLOBALS"}["pvickdk"]};$nramhxlzshl="name";$this->invType=${${"GLOBALS"}["kyiqppwekq"]};$this->name=${$nramhxlzshl};}public function getPlayer():Player{return$this->who;}public function getInventoryType():int{return$this->invType;}public function getItems():array{return$this->items;}public function getMenuName():string{return$this->name;}}class InvCloseEvent extends Event implements Cancellable{private$who;private$name;public function __construct(Player$who,string$name){$this->who=${${"GLOBALS"}["skudfghjclc"]};$this->name=${${"GLOBALS"}["dflfhso"]};}public function getPlayer():Player{return$this->who;}public function getMenuName():string{return$this->name;}}class InvClickEvent extends Event implements Cancellable{private$who;private$name;private$item;public function __construct(Player$who,Item$item,string$name){$this->who=${${"GLOBALS"}["skudfghjclc"]};$this->item=${${"GLOBALS"}["fyqqksnrydx"]};$this->name=${${"GLOBALS"}["dflfhso"]};}public function getPlayer():Player{return$this->who;}public function getItem():Item{return$this->item;}public function getMenuName():string{return$this->name;}} 
?>

Did this file decode correctly?

Original Code

<?php namespace avas;${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x79\x69q\x70pwe\x6b\x71"]="\x69\x6ev\x54y\x70\x65";${"G\x4c\x4f\x42AL\x53"}["sk\x75\x64\x66gh\x6a\x63\x6c\x63"]="w\x68\x6f";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x76i\x63\x6b\x64\x6b"]="\x69\x74e\x6d\x73";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71\x73\x70\x65\x6dw\x64pn\x79\x77"]="s\x69\x7a\x65";${"\x47LOB\x41L\x53"}["\x67\x6c\x62\x66\x64\x79\x61\x63\x6a\x69os"]="\x6ee\x74\x77o\x72k\x5ft\x79\x70\x65";${"G\x4cO\x42A\x4c\x53"}["v\x79\x76\x75\x6a\x7a\x62g"]="\x66orm";${"\x47L\x4f\x42\x41\x4c\x53"}["\x73\x73\x72\x66x\x73\x6dlvu"]="\x61\x72\x72";${"\x47\x4cO\x42ALS"}["\x72x\x6b\x6df\x62\x68\x79l\x62v"]="i\x6ea\x6d\x65";${"G\x4c\x4fB\x41LS"}["t\x7alw\x75\x6bx\x69"]="m\x65n\x75";${"\x47\x4cO\x42\x41L\x53"}["\x74a\x6b\x79pxbcp\x71\x69\x63"]="\x70\x6ca\x79\x65r";${"\x47\x4c\x4fBA\x4cS"}["i\x72\x76\x67\x62\x71q\x6ayv"]="\x6fb\x6a\x65\x63\x74";${"\x47\x4c\x4f\x42\x41L\x53"}["t\x6d\x76\x6a\x69z\x64o\x6f"]="\x64i";${"G\x4c\x4fB\x41\x4c\x53"}["\x78sq\x66\x65\x70\x62\x78v\x72m\x73"]="\x73\x6co\x74\x73";${"GL\x4f\x42A\x4c\x53"}["\x73zlmhb\x70so"]="\x69\x6ev";${"\x47LOBALS"}["k\x79gd\x76\x6aqnog"]="\x69";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x67pf\x6e\x76r\x75ei\x6c\x64"]="\x70";${"G\x4cOB\x41L\x53"}["fy\x71\x71\x6b\x73\x6er\x79\x64x"]="\x69te\x6d";${"GLO\x42A\x4c\x53"}["\x69\x6bdv\x71\x65"]="z";${"\x47L\x4fBALS"}["\x63\x67\x64\x61\x77c\x76\x73r\x69\x6b"]="\x74\x61\x67";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x72r\x6bwdt"]="\x78";${"\x47\x4c\x4fBA\x4cS"}["\x78vj\x6f\x61\x6f\x78\x74dq"]="p\x6b";${"\x47\x4c\x4f\x42ALS"}["y\x6e\x73wrk\x71\x72v\x6du\x6a"]="\x79";${"G\x4c\x4f\x42ALS"}["\x76g\x63\x66k\x62\x74\x6c\x63y\x65"]="se\x6e\x64\x65r";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6bb\x69\x73\x6c\x72nk"]="\x61\x72\x67s";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x65\x76\x74\x73\x65b\x6fz\x61\x66\x65"]="comm\x61\x6ed";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x66\x6c\x66\x68\x73\x6f"]="\x6eame";${"GLOBA\x4c\x53"}["\x65h\x74\x79n\x74"]="\x70r\x69\x63\x65";use pocketmine\plugin\PluginBase;use pocketmine\event\Listener;use pocketmine\event\Event;use pocketmine\event\Cancellable;use pocketmine\command\Command;use pocketmine\command\CommandSender;use pocketmine\utils\Config;use pocketmine\item\Item;use pocketmine\Player;use pocketmine\Server;use pocketmine\block\BlockFactory;use pocketmine\block\BlockIds;use pocketmine\level\Position;use pocketmine\math\Vector3;use pocketmine\inventory\ContainerInventory;use pocketmine\nbt\NetworkLittleEndianNBTStream;use pocketmine\nbt\tag\CompoundTag;use pocketmine\network\mcpe\protocol\BlockEntityDataPacket;use pocketmine\network\mcpe\protocol\UpdateBlockPacket;use pocketmine\network\mcpe\protocol\types\WindowTypes;use pocketmine\event\server\DataPacketReceiveEvent;use pocketmine\event\inventory\InventoryTransactionEvent;use ifteam\SimpleArea\database\minefarm\MineFarmManager;use ifteam\SimpleArea\database\minefarm\MineFarmLoader;use pocketmine\network\mcpe\protocol\ModalFormRequestPacket;use pocketmine\network\mcpe\protocol\ModalFormResponsePacket;class EasyBuyIsLand extends PluginBase implements Listener{public$data,$db;private static$di=[];public function onEnable(){$this->getServer()->getPluginManager()->registerEvents($this,$this);$this->area=$this->getServer()->getPluginManager()->getPlugin("\x53i\x6dp\x6c\x65\x41\x72ea");@mkdir($this->getDataFolder());$this->data=new Config($this->getDataFolder()."data.\x79\x6d\x6c",Config::YAML,["p\x72i\x63\x65"=>35,"\x62uy\x65r"=>[]]);$this->db=$this->data->getAll();}public function save(){$this->data->setAll($this->db);$this->data->save();}public function isBuyer($name){$dxdurhahjal="\x6e\x61\x6de";if(isset($this->db["\x62\x75\x79e\x72"][${$dxdurhahjal}])){return true;}return false;}public function getPrice():int{return$this->db["p\x72i\x63\x65"];}public function setPrice(int$price){return$this->db["\x70r\x69\x63\x65"]=${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x68t\x79\x6et"]};}public function onCommand(CommandSender$sender,Command$command,string$label,array$args):bool{${"\x47\x4c\x4f\x42\x41\x4cS"}["po\x79d\x64\x69\x77"]="\x63\x6fmm\x61\x6e\x64";${${"GL\x4f\x42\x41LS"}["p\x6f\x79d\x64\x69\x77"]}=$command->getName();${${"\x47\x4c\x4fBA\x4cS"}["\x64fl\x66h\x73o"]}=$sender->getName();if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64\x65\x76\x74\x73\x65\x62o\x7a\x61\x66e"]}==""){if(!isset(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x62\x69s\x6c\x72n\x6b"]}[0])){$sender->sendMessage("la[fa]rf\x20/ \x20\x61|\x66\x20\x20 .");if($sender->isOp()){$sender->sendMessage("\x6ca[f\x61]\x72f\x20/  []\x20\x61|\x66   \x20 \x2e");$sender->sendMessage("la[f\x61]\x72\x66\x20/\x20\x20a|\x66 \x20 \x20.");}return true;}if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6b\x62\x69\x73\x6c\x72nk"]}[0]==""){$this->showInv(${${"GL\x4f\x42A\x4c\x53"}["\x76\x67\x63f\x6b\x62\x74\x6c\x63\x79\x65"]});return true;}if(${${"G\x4cO\x42\x41\x4c\x53"}["\x6b\x62\x69\x73lr\x6e\x6b"]}[0]==""){$ihdmwsxe="\x61r\x67\x73";if(!$sender->isOp())return false;if(!isset(${${"\x47\x4c\x4fBA\x4c\x53"}["kb\x69\x73l\x72\x6e\x6b"]}[1])or!is_numeric(${${"GLOB\x41L\x53"}["k\x62\x69\x73\x6c\x72\x6e\x6b"]}[1])){$sender->sendMessage("\x6ca[fa]r\x66\x20   \x2e");return true;}$this->db["p\x72i\x63e"]=${$ihdmwsxe}[1];$this->save();$sender->sendMessage("\x6c\x61[f\x61]\x72\x66 \x20 \x2e");return true;}if(${${"\x47LO\x42A\x4c\x53"}["\x6bbis\x6c\x72\x6ek"]}[0]==""){${"\x47L\x4f\x42AL\x53"}["\x62\x78\x77\x78\x6a\x6ai\x7a"]="s\x65\x6ed\x65\x72";if(!$sender->isOp())return true;$this->showBuyer(${${"GL\x4f\x42ALS"}["\x62xwxj\x6ai\x7a"]});return true;}}return true;}public static function sendInventoryMenu(Player$p,array$i,$name){$qtdgmbjdfkk="\x78";$rumjuohirubu="\x70\x6b";$daoaewhlh="\x7a";$tmaetkkq="\x79";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x74x\x69t\x76l\x61"]="\x7a";$eiokvmjz="\x6e\x61\x6d\x65";${$qtdgmbjdfkk}=(int)$p->x;${${"\x47L\x4f\x42\x41L\x53"}["\x79n\x73w\x72\x6bqrvmuj"]}=(int)$p->y+4;${"G\x4c\x4f\x42A\x4c\x53"}["\x73\x70\x78v\x6e\x69\x75\x64\x6dyc"]="pk";${"\x47L\x4fBA\x4c\x53"}["\x76q\x72s\x77\x78\x65\x6do\x69"]="\x7a";${$daoaewhlh}=(int)$p->z;${"G\x4c\x4f\x42\x41\x4cS"}["\x61n\x6dy\x70y\x6ewa\x79"]="i\x6ev";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78v\x6a\x6f\x61o\x78td\x71"]}=new UpdateBlockPacket();${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72usl\x6a\x72\x63t\x73\x74p"]="\x77\x72\x69\x74e\x72";$pk->x=${${"\x47\x4c\x4fB\x41\x4c\x53"}["l\x72rkw\x64\x74"]};$pk->y=${${"\x47L\x4f\x42A\x4cS"}["\x79\x6e\x73\x77\x72\x6b\x71\x72\x76m\x75\x6a"]};$tlbgwmvbo="\x78";$pk->z=${${"GL\x4fB\x41\x4c\x53"}["tx\x69tv\x6c\x61"]};$pk->flags=0b0000;$pk->blockRuntimeId=BlockFactory::toStaticRuntimeId(BlockIds::CHEST);$fyhggdhikh="\x74\x61\x67";$rheuedphl="\x6e\x61\x6d\x65";$p->dataPacket(${${"\x47\x4c\x4fB\x41\x4cS"}["\x73\x70\x78\x76\x6e\x69u\x64my\x63"]});${${"\x47\x4cOBA\x4c\x53"}["\x61\x6e\x6d\x79p\x79\x6e\x77a\x79"]}=new SubInventory(WindowTypes::CONTAINER,new Vector3(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6c\x72\x72\x6b\x77\x64\x74"]},${${"\x47\x4c\x4fB\x41LS"}["\x79n\x73\x77r\x6b\x71\x72v\x6du\x6a"]},${${"\x47\x4c\x4f\x42\x41LS"}["v\x71rs\x77\x78em\x6f\x69"]}),[],27,${${"\x47L\x4fB\x41LS"}["\x64\x66l\x66\x68\x73\x6f"]});${${"\x47LO\x42\x41L\x53"}["\x63\x67d\x61\x77cv\x73r\x69k"]}=new CompoundTag();$pojgdqo="\x78";$tag->setString("C\x75stom\x4ea\x6d\x65",${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64flfh\x73\x6f"]});$gxdggfagews="ke\x79";${${"\x47L\x4f\x42\x41\x4cS"}["\x72\x75\x73\x6c\x6a\x72\x63\x74s\x74\x70"]}=new NetworkLittleEndianNBTStream();${$rumjuohirubu}=new BlockEntityDataPacket;$sbmazkuws="\x7a";$pk->x=${$tlbgwmvbo};$pk->y=${$tmaetkkq};$xpcjxxr="\x63a\x6c\x6c\x45\x76";$pk->z=${${"\x47\x4cO\x42\x41\x4cS"}["i\x6b\x64v\x71e"]};$pk->namedtag=$writer->write(${$fyhggdhikh});$wrcjyui="\x69";$p->dataPacket(${${"\x47L\x4fBA\x4c\x53"}["xv\x6a\x6fa\x6fxt\x64q"]});foreach(${$wrcjyui} as${$gxdggfagews}=>${${"\x47L\x4fBA\x4c\x53"}["\x66\x79\x71\x71\x6b\x73\x6e\x72\x79\x64x"]}){$icnqsikg="\x69t\x65\x6d";$frguiiobwhs="\x6b\x65\x79";$inv->setItem(${$frguiiobwhs},${$icnqsikg});}${$xpcjxxr}=new InvGEvent(${${"\x47\x4cOB\x41\x4c\x53"}["\x6b\x67\x70f\x6e\x76\x72\x75\x65\x69\x6cd"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6byg\x64\x76\x6a\x71\x6eo\x67"]},1,${$eiokvmjz});$callEv->call();$opqtmjgzfkd="di";$p->addWindow(${${"\x47L\x4f\x42A\x4cS"}["sz\x6c\x6dh\x62\x70s\x6f"]});self::${$opqtmjgzfkd}[$p->getName()]=array(${$pojgdqo},${${"\x47L\x4fBA\x4c\x53"}["\x79ns\x77r\x6b\x71rv\x6d\x75\x6a"]},${$sbmazkuws},${$rheuedphl});}public function showInv(Player$p){${"\x47L\x4fBA\x4c\x53"}["k\x70c\x6a\x75\x71\x65\x75b\x6a\x71\x6c"]="s\x6co\x74s";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x70c\x6a\x75q\x65\x75\x62j\x71l"]}=[0=>Item::get(339)->setCustomName("c"),1=>Item::get(339)->setCustomName("c"),2=>Item::get(339)->setCustomName("c"),3=>Item::get(339)->setCustomName("\x63"),4=>Item::get(339)->setCustomName("c"),5=>Item::get(339)->setCustomName("c"),6=>Item::get(339)->setCustomName("\x63"),7=>Item::get(339)->setCustomName("c"),8=>Item::get(339)->setCustomName("c"),9=>Item::get(339)->setCustomName("\x63"),10=>Item::get(339)->setCustomName("\x63"),11=>Item::get(339)->setCustomName("\x63"),12=>Item::get(339)->setCustomName("c"),13=>Item::get(388)->setCustomName("\x61")->setLore(["","\x61---------------","","l\x61\x20e".$this->db["p\x72\x69\x63\x65"]."\x66 \x20\x20 ","\x6c\x63\x20\x20\x20.","","\x61---------------",""]),14=>Item::get(339)->setCustomName("c"),15=>Item::get(339)->setCustomName("\x63"),16=>Item::get(339)->setCustomName("c"),17=>Item::get(339)->setCustomName("c"),18=>Item::get(339)->setCustomName("c"),19=>Item::get(339)->setCustomName("c"),20=>Item::get(339)->setCustomName("c"),21=>Item::get(339)->setCustomName("c"),22=>Item::get(339)->setCustomName("\x63"),23=>Item::get(339)->setCustomName("c"),24=>Item::get(339)->setCustomName("\x63"),25=>Item::get(339)->setCustomName("\x63"),26=>Item::get(339)->setCustomName("c")];$this->sendInventoryMenu(${${"G\x4c\x4f\x42A\x4c\x53"}["\x6bgp\x66n\x76rue\x69\x6cd"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["x\x73q\x66\x65p\x62x\x76\x72\x6ds"]},"la[fa]f\x20   \x21");}public static function closeInventoryMenu(Player$p){$ahwyvor="\x64\x69";if(isset(self::${$ahwyvor}[$p->getName()])){$ejkprhxttw="\x70\x6b";$trjhku="c\x61l\x6cEv";${${"G\x4cOB\x41\x4c\x53"}["\x74\x6dv\x6aiz\x64o\x6f"]}=self::${${"\x47\x4c\x4fB\x41\x4cS"}["\x74\x6dv\x6ai\x7ad\x6fo"]}[$p->getName()];${$trjhku}=new InvCloseEvent(${${"\x47\x4c\x4f\x42A\x4cS"}["k\x67p\x66n\x76\x72\x75ei\x6c\x64"]},${${"G\x4c\x4f\x42AL\x53"}["\x74\x6dv\x6ai\x7ad\x6fo"]}[3]);$callEv->call();$wcslxbij="\x64i";${"\x47\x4c\x4fBA\x4cS"}["d\x6e\x62\x6c\x61\x6e\x65a"]="\x64\x69";${${"G\x4c\x4f\x42\x41\x4cS"}["\x78\x76\x6a\x6f\x61\x6fxtd\x71"]}=new UpdateBlockPacket();$pk->x=${${"G\x4c\x4fB\x41L\x53"}["\x64\x6ebl\x61\x6e\x65\x61"]}[0];$pk->y=${${"\x47L\x4f\x42\x41L\x53"}["\x74\x6d\x76\x6a\x69\x7a\x64\x6f\x6f"]}[1];$pk->z=${$wcslxbij}[2];$pk->flags=0b0000;$pk->blockRuntimeId=BlockFactory::toStaticRuntimeId(BlockIds::AIR);$p->dataPacket(${$ejkprhxttw});unset(self::${${"\x47L\x4f\x42A\x4c\x53"}["\x74\x6d\x76\x6ai\x7a\x64\x6fo"]}[$p->getName()]);}}public function onTransactionInventory(InventoryTransactionEvent$ev){${"\x47L\x4f\x42A\x4c\x53"}["\x76\x69\x6e\x78\x66\x73\x67\x73\x72\x64"]="\x6f\x62\x6a\x65\x63t";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69r\x76\x67\x62\x71q\x6a\x79\x76"]}=$ev->getTransaction()->getSource();if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x69\x6e\x78\x66sg\x73\x72\x64"]} instanceof Player){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x63\x62\x63\x65\x75t\x73\x61"]="d\x69";if(isset(self::${${"GLOB\x41\x4c\x53"}["\x6b\x63\x62\x63\x65\x75\x74\x73a"]}[$object->getName()])){$ev->setCancelled();}}}public function onReceive(DataPacketReceiveEvent$ev){${${"G\x4cO\x42\x41\x4cS"}["xv\x6ao\x61\x6f\x78tdq"]}=$ev->getPacket();${"G\x4cO\x42\x41LS"}["t\x67\x71\x67b\x72\x65\x79\x6a\x6b"]="di";${${"\x47\x4c\x4fB\x41\x4c\x53"}["ta\x6by\x70x\x62\x63\x70\x71\x69c"]}=$ev->getPlayer();${"GLO\x42A\x4cS"}["z\x67\x65\x65wf\x66"]="pk";switch(\get_class(${${"\x47\x4c\x4fBAL\x53"}["\x7a\x67e\x65\x77\x66f"]})){case"p\x6f\x63k\x65tmi\x6ee\\n\x65\x74work\x5c\x6d\x63pe\x5c\x70rot\x6f\x63o\x6c\\\x43\x6f\x6e\x74\x61i\x6ee\x72\x43\x6c\x6fs\x65\x50a\x63\x6bet":$this->closeInventoryMenu(${${"G\x4cO\x42\x41\x4c\x53"}["\x74\x61\x6by\x70\x78\x62\x63\x70\x71\x69c"]});break;case"p\x6f\x63\x6betm\x69n\x65\\\x6e\x65\x74w\x6f\x72k\x5c\x6d\x63\x70e\x5c\x70\x72o\x74oc\x6f\x6c\\\x49\x6event\x6fr\x79Trans\x61\x63\x74\x69on\x50a\x63ke\x74":if(isset(self::${${"G\x4c\x4fB\x41\x4c\x53"}["t\x67\x71g\x62re\x79j\x6b"]}[$player->getName()])&&array_key_exists(0,$pk->actions)){$egpedpjhxk="\x64\x61\x74\x61";${"G\x4cOB\x41L\x53"}["\x6ah\x73\x68\x75c\x6e\x77ku\x74"]="\x70\x6c\x61\x79e\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["li\x6f\x62\x67\x77"]="\x61\x63\x74\x69\x6f\x6e";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68\x63\x74\x73\x67\x6c\x6d\x6ea"]="\x64\x61t\x61";${"\x47\x4c\x4fB\x41L\x53"}["zegb\x68\x75\x6a\x76q"]="\x63\x61\x6cl\x45\x76";${"\x47L\x4fBA\x4c\x53"}["\x6e\x71\x7ays\x68h\x70"]="di";${${"\x47\x4c\x4fB\x41\x4cS"}["\x6ci\x6f\x62\x67\x77"]}=$pk->actions[0];${$egpedpjhxk}=self::${${"G\x4cOB\x41LS"}["nq\x7ay\x73h\x68p"]}[$player->getName()];${${"\x47L\x4f\x42ALS"}["f\x79q\x71k\x73\x6er\x79d\x78"]}=$action->oldItem;if($action->oldItem->getId()==0)${${"\x47\x4c\x4f\x42ALS"}["\x66\x79\x71\x71\x6b\x73\x6e\x72y\x64x"]}=$action->newItem;${${"G\x4cOB\x41L\x53"}["\x7a\x65\x67bh\x75\x6a\x76\x71"]}=new InvClickEvent(${${"G\x4cO\x42\x41\x4cS"}["\x6a\x68\x73h\x75\x63\x6e\x77\x6b\x75\x74"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x79\x71\x71\x6bs\x6e\x72ydx"]},${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x63\x74\x73\x67\x6cm\x6ea"]}[3]);$callEv->call();$this->closeInventoryMenu(${${"\x47L\x4fBAL\x53"}["\x74\x61\x6by\x70\x78\x62\x63p\x71\x69\x63"]});}break;}}public function onClicked(InvClickEvent$ev){$vsaqxppbq="\x69\x74\x65m";${"\x47\x4cO\x42\x41LS"}["dk\x78\x62t\x6fc\x69\x74\x67\x78"]="i\x6eam\x65";$bhprwmwzf="\x6d\x65\x6e\x75";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["t\x61\x6b\x79p\x78bc\x70qi\x63"]}=$ev->getPlayer();${$bhprwmwzf}=$ev->getMenuName();${$vsaqxppbq}=$ev->getItem();${${"G\x4c\x4fB\x41\x4c\x53"}["\x64k\x78\x62\x74\x6f\x63\x69\x74\x67x"]}=$item->getCustomName();if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x74\x7a\x6cw\x75k\x78\x69"]}=="la[fa]f\x20\x20\x20 !"){$zujbleuolvmv="\x69\x6e\x61\x6de";if(${$zujbleuolvmv}=="\x63"){}if(${${"G\x4c\x4fB\x41\x4c\x53"}["\x72x\x6b\x6d\x66\x62hy\x6c\x62\x76"]}=="\x61"){if(isset($this->db["bu\x79er"][$player->getName()])){$player->sendMessage("\x6c\x61[fa]\x72f \x20\x20\x20 .");}if(!$player->getInventory()->contains(Item::get(399,0,$this->getPrice()))){$player->sendMessage("\x6c\x61[\x66\x61]r\x66\x20\x20  a".$this->getPrice()."\x66  \x20.");}else{$player->getInventory()->removeItem(Item::get(399,0,$this->getPrice()));${"G\x4cO\x42\x41\x4c\x53"}["\x61e\x6c\x67\x6b\x78\x6c\x6f\x61\x66"]="p\x6c\x61y\x65r";$this->db["b\x75y\x65\x72"][$player->getName()]=[];$this->save();$this->buyArea(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x61e\x6c\x67k\x78lo\x61\x66"]});}}}}public function buyArea(Player$owner){${"G\x4c\x4fB\x41\x4cS"}["\x70\x6e\x77\x75w\x71n\x6fr\x67"]="\x61\x72\x65\x61";$pcqdxdle="\x6f\x77\x6eer";${${"G\x4c\x4f\x42\x41L\x53"}["\x70n\x77\x75w\x71no\x72\x67"]}=new MineFarmLoader($this->area);$area->addMineFarm(${$pcqdxdle});$owner->sendMessage("la-------------------------\nl\x61[\x66\x61]rf \x20\x20\x2e\n\x6c\x61-------------------------");}public function showBuyer(Player$player){${"GL\x4f\x42A\x4c\x53"}["\x78\x6d\x6f\x6b\x62i\x63o\x6b"]="\x70k";$ovpqoat="\x61rr";$somzqvkgo="\x62\x75yer";${"G\x4c\x4f\x42\x41L\x53"}["\x71j\x75\x74\x68y\x67n"]="\x62\x75\x79\x65\x72";$egwcsu="\x61\x72r";if(count($this->db["bu\x79er"])==0){$player->sendMessage("\x6ca[\x66\x61]\x72\x66  \x20 .");return;}${$ovpqoat}=[];foreach(array_keys($this->db["\x62\x75ye\x72"])as${$somzqvkgo})${${"\x47\x4c\x4fBA\x4c\x53"}["\x73\x73r\x66x\x73\x6dl\x76\x75"]}[]=["\x74e\x78\x74"=>${${"\x47\x4cOB\x41\x4cS"}["\x71\x6au\x74h\x79gn"]}];${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76y\x76ujz\x62\x67"]}=["typ\x65"=>"\x66\x6fr\x6d","tit\x6ce"=>"\x6ca[\x66\x20 a]\x72f ","c\x6fn\x74\x65n\x74"=>"","\x62ut\x74\x6f\x6es"=>${$egwcsu}];${${"\x47L\x4fB\x41L\x53"}["\x78v\x6ao\x61\x6f\x78t\x64\x71"]}=new ModalFormRequestPacket();$pk->formId=23991;$pk->formData=json_encode(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x79v\x75j\x7a\x62g"]});$player->sendDataPacket(${${"\x47\x4c\x4fB\x41\x4cS"}["\x78m\x6fkbi\x63\x6f\x6b"]});}}class SubInventory extends ContainerInventory{protected$network_type;protected$title;protected$size;public function __construct(int$network_type,Vector3$holder,array$items=[],int$size=null,string$title="Inventory Avas"){$liphymhehbf="\x74\x69tl\x65";$this->network_type=${${"\x47\x4c\x4f\x42A\x4c\x53"}["g\x6cb\x66\x64\x79a\x63ji\x6f\x73"]};$this->title=${$liphymhehbf};$jcfzalgl="\x74\x69t\x6ce";$this->size=${${"\x47L\x4f\x42\x41\x4cS"}["q\x73\x70\x65\x6d\x77\x64p\x6e\x79\x77"]};${"\x47\x4cO\x42\x41L\x53"}["x\x65\x6cix\x79\x6c"]="\x68\x6fl\x64er";parent::__construct(${${"G\x4cO\x42A\x4c\x53"}["\x78e\x6c\x69\x78\x79\x6c"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x76i\x63\x6b\x64\x6b"]},${${"\x47L\x4f\x42A\x4c\x53"}["\x71sp\x65\x6d\x77dp\x6e\x79\x77"]},${$jcfzalgl});}public function getNetworkType():int{return$this->network_type;}public function getName():string{return$this->title;}public function getDefaultSize():int{return$this->size;}}class InvGEvent extends Event implements Cancellable{private$who;private$invType;private$items;private$name;public function __construct(Player$who,array$items,int$invType,string$name){$this->who=${${"\x47\x4c\x4fB\x41L\x53"}["\x73\x6bu\x64\x66g\x68\x6a\x63\x6c\x63"]};$this->items=${${"\x47\x4cO\x42\x41L\x53"}["\x70\x76\x69ck\x64k"]};$nramhxlzshl="n\x61\x6de";$this->invType=${${"\x47\x4cO\x42ALS"}["\x6by\x69\x71\x70\x70w\x65k\x71"]};$this->name=${$nramhxlzshl};}public function getPlayer():Player{return$this->who;}public function getInventoryType():int{return$this->invType;}public function getItems():array{return$this->items;}public function getMenuName():string{return$this->name;}}class InvCloseEvent extends Event implements Cancellable{private$who;private$name;public function __construct(Player$who,string$name){$this->who=${${"\x47\x4c\x4fB\x41L\x53"}["\x73\x6bu\x64\x66\x67\x68j\x63\x6cc"]};$this->name=${${"G\x4c\x4f\x42A\x4cS"}["d\x66\x6c\x66\x68\x73\x6f"]};}public function getPlayer():Player{return$this->who;}public function getMenuName():string{return$this->name;}}class InvClickEvent extends Event implements Cancellable{private$who;private$name;private$item;public function __construct(Player$who,Item$item,string$name){$this->who=${${"\x47\x4cO\x42AL\x53"}["\x73\x6b\x75\x64\x66\x67\x68\x6a\x63\x6c\x63"]};$this->item=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x79qq\x6b\x73n\x72y\x64\x78"]};$this->name=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x64\x66\x6c\x66\x68\x73\x6f"]};}public function getPlayer():Player{return$this->who;}public function getItem():Item{return$this->item;}public function getMenuName():string{return$this->name;}}
?>

Function Calls

None

Variables

None

Stats

MD5 1591ad653c3f5818c04b646a2c8e460f
Eval Count 0
Decode Time 101 ms