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 chalk\vipplus;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x6fg\x6fq\x6cg"]="a\x72..
Decoded Output download
<?php namespace chalk\vipplus;${"GLOBALS"}["nogoqlg"]="arrowIndex";${"GLOBALS"}["garmtlxo"]="attacker";${"GLOBALS"}["coktmlbqmnp"]="vipVictim";${"GLOBALS"}["rfbjdvyqb"]="victim";${"GLOBALS"}["chnxvvnvl"]="attachment";${"GLOBALS"}["vcnlndcywu"]="player";${"GLOBALS"}["uwuxnxjdk"]="function";${"GLOBALS"}["idjajcte"]="playerName";${"GLOBALS"}["wkvphmfbeiu"]="args";${"GLOBALS"}["ejupiqte"]="sender";${"GLOBALS"}["fooswdlkl"]="gratuityAmount";${"GLOBALS"}["gpyhahxvvdpo"]="vips";${"GLOBALS"}["znzxnlt"]="vip";${"GLOBALS"}["ifhhljlrpl"]="vipsConfig";${"GLOBALS"}["vmrvhvgb"]="index";${"GLOBALS"}["fjpjgbha"]="override";${"GLOBALS"}["hbcxydxpigv"]="itemId";${"GLOBALS"}["mpdjugo"]="name";${"GLOBALS"}["vbsixbxsng"]="instance";use chalk\utils\Messages;use onebone\economyapi\EconomyAPI;use pocketmine\command\Command;use pocketmine\command\CommandSender;use pocketmine\command\PluginCommand;use pocketmine\entity\Arrow;use pocketmine\event\entity\EntityDamageByEntityEvent;use pocketmine\event\entity\EntityShootBowEvent;use pocketmine\event\Listener;use pocketmine\event\player\PlayerChatEvent;use pocketmine\event\player\PlayerJoinEvent;use pocketmine\item\Item;use pocketmine\Player;use pocketmine\plugin\PluginBase;use pocketmine\utils\Config;class VIPPlus extends PluginBase implements Listener{private static$instance=null;private$vips=[];private$messages;private$armorContents=[];private$prefix="";private$colorFormat="";private$arrowQueue=[];public function onLoad(){VIPPlus::${${"GLOBALS"}["vbsixbxsng"]}=$this;}public function onEnable(){$this->loadConfig();$this->loadVips();$this->loadMessages();$this->registerAll();}public function onDisable(){$this->saveVips();}private function registerAll(){$this->getServer()->getPluginManager()->registerEvents($this,$this);$this->registerCommand("vip-heal");$this->registerCommand("vip-inferno");}private function registerCommand($name){$wsihdi="command";$vmxcjcfvms="command";${$wsihdi}=new PluginCommand($this->getMessages()->getMessage(${${"GLOBALS"}["mpdjugo"]}."-command-name"),$this);$command->setUsage($command->getName());$command->setDescription($this->getMessages()->getMessage(${${"GLOBALS"}["mpdjugo"]}."-command-description"));$this->getServer()->getCommandMap()->register("VIPPlus",${$vmxcjcfvms});}public function loadConfig(){@mkdir($this->getDataFolder());$this->saveDefaultConfig();$filguoxwsq="index";$this->armorContents=[];foreach($this->getConfig()->get("vip-armor-contents",[])as${$filguoxwsq}=>${${"GLOBALS"}["hbcxydxpigv"]}){${"GLOBALS"}["qpvpjijltdk"]="index";$this->armorContents[${${"GLOBALS"}["qpvpjijltdk"]}]=Item::get(${${"GLOBALS"}["hbcxydxpigv"]});}$this->prefix=$this->getConfig()->get("vip-prefix","");$this->colorFormat=$this->getConfig()->get("vip-color-format","");}public function loadVips($override=true){$llwuomccn="vipsConfig";$awvfdwsb="data";${$llwuomccn}=new Config($this->getDataFolder()."vips.json",Config::JSON);if(${${"GLOBALS"}["fjpjgbha"]}){$this->vips=[];}foreach($vipsConfig->getAll()as${${"GLOBALS"}["vmrvhvgb"]}=>${$awvfdwsb}){${"GLOBALS"}["exqmpquenr"]="data";$this->vips[]=VIP::createFromArray(${${"GLOBALS"}["vmrvhvgb"]},${${"GLOBALS"}["exqmpquenr"]});}}public function saveVips(){${"GLOBALS"}["bekqwvbcxwpj"]="vips";${${"GLOBALS"}["ifhhljlrpl"]}=new Config($this->getDataFolder()."vips.json",Config::JSON);${${"GLOBALS"}["bekqwvbcxwpj"]}=[];${"GLOBALS"}["ujeehrue"]="vips";foreach($this->getVips()as${${"GLOBALS"}["znzxnlt"]}){${${"GLOBALS"}["gpyhahxvvdpo"]}[$vip->getName()]=$vip->toArray();}$vipsConfig->setAll(${${"GLOBALS"}["ujeehrue"]});return$vipsConfig->save();}public function loadMessages($override=false){${"GLOBALS"}["qgwqwblkq"]="messagesConfig";$this->saveResource("messages.yml",${${"GLOBALS"}["fjpjgbha"]});${${"GLOBALS"}["qgwqwblkq"]}=new Config($this->getDataFolder()."messages.yml",Config::YAML);$this->messages=new Messages($messagesConfig->getAll());}public function getMessages(){return$this->messages;}public static function getInstance(){return VIPPlus::${${"GLOBALS"}["vbsixbxsng"]};}public function getVips(){return$this->vips;}public function getOnlineVips(){return array_filter($this->getVips(),function(VIP${${"GLOBALS"}["znzxnlt"]}){return$vip->getPlayer()!==null;});}private static function validateName($name){$hpfmfwwurq="name";if(${$hpfmfwwurq} instanceof Player or${${"GLOBALS"}["mpdjugo"]} instanceof VIP){${"GLOBALS"}["hnoxlbrvim"]="name";${${"GLOBALS"}["hnoxlbrvim"]}=$name->getName();}return strToLower(${${"GLOBALS"}["mpdjugo"]});}private function indexOfVip($name){${${"GLOBALS"}["mpdjugo"]}=VIPPlus::validateName(${${"GLOBALS"}["mpdjugo"]});${"GLOBALS"}["uwucqmh"]="vip";${"GLOBALS"}["kmjolbylqn"]="index";foreach($this->getVips()as${${"GLOBALS"}["kmjolbylqn"]}=>${${"GLOBALS"}["uwucqmh"]}){$onnwizhpmv="name";if(${$onnwizhpmv}===$vip->getName()){${"GLOBALS"}["vzbmviqswn"]="index";return${${"GLOBALS"}["vzbmviqswn"]};}}return-1;}public function getVip($name){${"GLOBALS"}["dfuquju"]="name";${"GLOBALS"}["sdchhjmqceb"]="index";${${"GLOBALS"}["mpdjugo"]}=VIPPlus::validateName(${${"GLOBALS"}["dfuquju"]});$oqoohtexo="index";${${"GLOBALS"}["sdchhjmqceb"]}=$this->indexOfVip(${${"GLOBALS"}["mpdjugo"]});return${${"GLOBALS"}["vmrvhvgb"]}>=0?$this->getVips()[${$oqoohtexo}]:null;}public function isVip($name){${${"GLOBALS"}["mpdjugo"]}=VIPPlus::validateName(${${"GLOBALS"}["mpdjugo"]});return$this->getVip(${${"GLOBALS"}["mpdjugo"]})!==null;}public function addVip($name){$mnrayje="name";${"GLOBALS"}["jppkqi"]="gratuityAmount";$tluyhyppqkkz="name";${$mnrayje}=VIPPlus::validateName(${${"GLOBALS"}["mpdjugo"]});if($this->isVip(${$tluyhyppqkkz})){return$this->getMessages()->getMessage("vip-already-vip",[${${"GLOBALS"}["mpdjugo"]}]);}$this->getVips()[]=${${"GLOBALS"}["mpdjugo"]};$this->saveVips();${${"GLOBALS"}["jppkqi"]}=$this->getConfig()->get("vip-gratuity-amount",0);if(${${"GLOBALS"}["fooswdlkl"]}>0){$mnmbsupvsp="gratuityAmount";${"GLOBALS"}["imzuebm"]="name";EconomyAPI::getInstance()->addMoney(${${"GLOBALS"}["imzuebm"]},${$mnmbsupvsp},true,"VIPPlus");}return$this->getMessages()->getMessage("vip-added",[${${"GLOBALS"}["mpdjugo"]}]);}public function removeVip($name){$vyyvlpi="name";$rqgbixefequ="vip";${"GLOBALS"}["hwqfxls"]="vip";${${"GLOBALS"}["mpdjugo"]}=VIPPlus::validateName(${${"GLOBALS"}["mpdjugo"]});${$rqgbixefequ}=$this->getVip(${$vyyvlpi});if(${${"GLOBALS"}["hwqfxls"]}===null){$lwpjkt="name";return$this->getMessages()->getMessage("vip-not-vip",[${$lwpjkt}]);}$wwpvjhmwt="vip";unset(${$wwpvjhmwt});$this->saveVips();return$this->getMessages()->getMessage("vip-removed",[${${"GLOBALS"}["mpdjugo"]}]);}public function onCommand(CommandSender$sender,Command$command,$commandAlias,array$args){$apvmsvtd="vip";if($command->getName()==="vip"){$kkbmpffvcriu="args";$bhranifjjrh="args";${"GLOBALS"}["rxswteydmf"]="playerName";${"GLOBALS"}["rbduvmhq"]="args";${"GLOBALS"}["fupnxipqo"]="args";if(!$sender->hasPermission("vip.manage")or${${"GLOBALS"}["ejupiqte"]} instanceof Player){return false;}if(!is_array(${${"GLOBALS"}["wkvphmfbeiu"]})or count(${${"GLOBALS"}["rbduvmhq"]})<2 or!is_string(${$kkbmpffvcriu}[1])){$sender->sendMessage($this->getCommand("vip")->getUsage());return true;}${${"GLOBALS"}["idjajcte"]}=VIPPlus::validateName(${$bhranifjjrh}[1]);switch(${${"GLOBALS"}["fupnxipqo"]}[0]){default:$sender->sendMessage($this->getCommand("vip")->getUsage());break;case"list":$sender->sendMessage($this->getMessages()->getMessage("vip-list-info",[count($this->getOnlineVips()),count($this->getVips()),implode(", ",$this->vips)]));break;case"add":$sender->sendMessage($this->addVip(${${"GLOBALS"}["rxswteydmf"]}));break;case"remove":$sender->sendMessage($this->removeVip(${${"GLOBALS"}["idjajcte"]}));break;}}else if($sender->hasPermission("vip.use")and(${$apvmsvtd}=$this->getVip(${${"GLOBALS"}["ejupiqte"]}))!==null){$mdcobnojjjr="command";$this->onVipCommand(${${"GLOBALS"}["znzxnlt"]},${$mdcobnojjjr});return true;}return true;}public function onVipCommand(VIP$vip,Command$command){${"GLOBALS"}["gltzmeon"]="player";${${"GLOBALS"}["uwuxnxjdk"]}=null;switch($command->getName()){case$this->getMessages()->getMessage("vip-heal-command-name"):${${"GLOBALS"}["uwuxnxjdk"]}=function(Player${${"GLOBALS"}["gltzmeon"]}){$player->setOnFire(10);}break;case$this->getMessages()->getMessage("vip-inferno-command-name"):${${"GLOBALS"}["uwuxnxjdk"]}=function(Player${${"GLOBALS"}["vcnlndcywu"]}){$player->setHealth(20);}break;}if(${${"GLOBALS"}["uwuxnxjdk"]}!==null){foreach($vip->getNearbyPlayers(16)as${${"GLOBALS"}["vcnlndcywu"]}){${"GLOBALS"}["blxtmn"]="player";$fnmfxgzji="function";${$fnmfxgzji}(${${"GLOBALS"}["blxtmn"]});}}}public function onVipJoin(PlayerJoinEvent$event){${"GLOBALS"}["vhdtyjkem"]="vip";${${"GLOBALS"}["vhdtyjkem"]}=$this->getVip($event->getPlayer()->getName());if(${${"GLOBALS"}["znzxnlt"]}===null){return;}$vip->setArmor($this->armorContents);$vip->setPrefix($this->prefix);${${"GLOBALS"}["chnxvvnvl"]}=$event->getPlayer()->addAttachment($this);$attachment->setPermission("infinite.VIP",true);$attachment->setPermission("Farms.VIP",true);}public function onVipChat(PlayerChatEvent$event){if($this->isVip($event->getPlayer()->getName())===false){return;}$event->setFormat($this->colorFormat.$event->getFormat());}public function onPlayerDamagedByEntity(EntityDamageByEntityEvent$event){${"GLOBALS"}["avhpro"]="attacker";$kuxozdgfh="attacker";${${"GLOBALS"}["avhpro"]}=$event->getDamager();${${"GLOBALS"}["rfbjdvyqb"]}=$event->getEntity();if(!(${${"GLOBALS"}["rfbjdvyqb"]} instanceof Player)){return;}${"GLOBALS"}["oxfxtmvjamhm"]="vipAttacker";if(((${${"GLOBALS"}["coktmlbqmnp"]}=$this->getVip(${${"GLOBALS"}["rfbjdvyqb"]}))!==null and$vipVictim->refuseToPvp())or((${${"GLOBALS"}["oxfxtmvjamhm"]}=$this->getVip(${$kuxozdgfh}))!==null and$vipAttacker->refuseToPvp())){$event->setDamage(0);$event->setCancelled(true);return;}if(${${"GLOBALS"}["garmtlxo"]} instanceof Arrow and(${${"GLOBALS"}["nogoqlg"]}=array_search($attacker->getId(),$this->arrowQueue))!==false){$victim->setOnFire(10);unset($this->arrowQueue[${${"GLOBALS"}["nogoqlg"]}]);}}public function onVipShootBow(EntityShootBowEvent$event){$mjltusfmzyy="player";${"GLOBALS"}["sdagwpdyzpm"]="vip";$ofkwgpmyhj="player";$lfimdlo="player";${$mjltusfmzyy}=$event->getEntity();if(!(${$lfimdlo} instanceof Player)or(${${"GLOBALS"}["sdagwpdyzpm"]}=$this->getVip(${$ofkwgpmyhj}))===null){return;}if($vip->refuseToPvp()){$event->setCancelled(true);return;}$this->arrowQueue[]=$event->getProjectile()->getId();}}
?>
Did this file decode correctly?
Original Code
<?php namespace chalk\vipplus;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x6fg\x6fq\x6cg"]="a\x72r\x6fw\x49\x6e\x64e\x78";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x61r\x6dt\x6c\x78\x6f"]="at\x74\x61c\x6ber";${"G\x4c\x4f\x42\x41\x4cS"}["\x63\x6fk\x74\x6dl\x62qmnp"]="\x76\x69p\x56i\x63\x74i\x6d";${"\x47LO\x42A\x4c\x53"}["\x72f\x62jdv\x79q\x62"]="v\x69\x63\x74\x69\x6d";${"G\x4c\x4f\x42\x41L\x53"}["c\x68\x6e\x78\x76\x76\x6ev\x6c"]="\x61\x74t\x61\x63\x68\x6de\x6et";${"\x47L\x4fB\x41LS"}["vc\x6e\x6c\x6ed\x63y\x77\x75"]="\x70\x6c\x61y\x65r";${"\x47L\x4f\x42A\x4c\x53"}["\x75w\x75x\x6e\x78\x6a\x64\x6b"]="\x66u\x6ec\x74\x69\x6fn";${"\x47L\x4fB\x41\x4cS"}["\x69dj\x61\x6act\x65"]="\x70\x6ca\x79\x65\x72\x4e\x61me";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77k\x76\x70h\x6dfbe\x69\x75"]="\x61r\x67\x73";${"\x47L\x4f\x42A\x4cS"}["e\x6a\x75\x70\x69\x71\x74e"]="se\x6ed\x65r";${"\x47\x4cO\x42A\x4cS"}["fo\x6f\x73wd\x6c\x6bl"]="\x67\x72a\x74\x75\x69\x74yA\x6doun\x74";${"GLOBA\x4c\x53"}["\x67p\x79ha\x68xv\x76\x64p\x6f"]="v\x69p\x73";${"\x47\x4c\x4fB\x41\x4cS"}["z\x6ez\x78\x6e\x6c\x74"]="v\x69\x70";${"\x47L\x4f\x42\x41\x4cS"}["if\x68\x68l\x6a\x6c\x72\x70\x6c"]="\x76\x69p\x73Co\x6ef\x69\x67";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76m\x72\x76\x68\x76\x67\x62"]="i\x6e\x64\x65\x78";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66jp\x6a\x67\x62\x68\x61"]="\x6fv\x65\x72\x72\x69\x64\x65";${"\x47L\x4f\x42\x41LS"}["\x68b\x63\x78\x79\x64x\x70\x69\x67v"]="it\x65m\x49d";${"\x47\x4c\x4f\x42\x41LS"}["\x6dp\x64\x6a\x75\x67\x6f"]="\x6e\x61\x6de";${"\x47\x4cOB\x41\x4c\x53"}["\x76\x62\x73\x69\x78\x62x\x73\x6eg"]="i\x6e\x73ta\x6e\x63\x65";use chalk\utils\Messages;use onebone\economyapi\EconomyAPI;use pocketmine\command\Command;use pocketmine\command\CommandSender;use pocketmine\command\PluginCommand;use pocketmine\entity\Arrow;use pocketmine\event\entity\EntityDamageByEntityEvent;use pocketmine\event\entity\EntityShootBowEvent;use pocketmine\event\Listener;use pocketmine\event\player\PlayerChatEvent;use pocketmine\event\player\PlayerJoinEvent;use pocketmine\item\Item;use pocketmine\Player;use pocketmine\plugin\PluginBase;use pocketmine\utils\Config;class VIPPlus extends PluginBase implements Listener{private static$instance=null;private$vips=[];private$messages;private$armorContents=[];private$prefix="";private$colorFormat="";private$arrowQueue=[];public function onLoad(){VIPPlus::${${"G\x4cO\x42\x41\x4c\x53"}["v\x62si\x78\x62\x78\x73ng"]}=$this;}public function onEnable(){$this->loadConfig();$this->loadVips();$this->loadMessages();$this->registerAll();}public function onDisable(){$this->saveVips();}private function registerAll(){$this->getServer()->getPluginManager()->registerEvents($this,$this);$this->registerCommand("\x76ip-h\x65\x61\x6c");$this->registerCommand("v\x69\x70-i\x6e\x66\x65rno");}private function registerCommand($name){$wsihdi="c\x6f\x6dm\x61\x6ed";$vmxcjcfvms="\x63om\x6dan\x64";${$wsihdi}=new PluginCommand($this->getMessages()->getMessage(${${"\x47\x4c\x4f\x42\x41L\x53"}["mp\x64\x6aug\x6f"]}."-\x63\x6fm\x6da\x6ed-na\x6de"),$this);$command->setUsage($command->getName());$command->setDescription($this->getMessages()->getMessage(${${"\x47\x4cO\x42\x41L\x53"}["\x6dp\x64\x6au\x67o"]}."-\x63\x6f\x6dm\x61n\x64-des\x63\x72\x69p\x74i\x6fn"));$this->getServer()->getCommandMap()->register("VI\x50\x50\x6c\x75s",${$vmxcjcfvms});}public function loadConfig(){@mkdir($this->getDataFolder());$this->saveDefaultConfig();$filguoxwsq="\x69nd\x65\x78";$this->armorContents=[];foreach($this->getConfig()->get("\x76ip-\x61\x72\x6d\x6fr-c\x6fnt\x65\x6et\x73",[])as${$filguoxwsq}=>${${"G\x4c\x4fB\x41\x4c\x53"}["\x68\x62\x63\x78y\x64\x78p\x69\x67v"]}){${"GL\x4fB\x41L\x53"}["\x71pv\x70\x6a\x69\x6a\x6c\x74\x64\x6b"]="\x69\x6ede\x78";$this->armorContents[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x70\x76p\x6a\x69j\x6c\x74\x64\x6b"]}]=Item::get(${${"\x47\x4c\x4f\x42\x41\x4cS"}["h\x62\x63\x78\x79\x64\x78\x70i\x67\x76"]});}$this->prefix=$this->getConfig()->get("v\x69\x70-\x70\x72efi\x78","");$this->colorFormat=$this->getConfig()->get("v\x69p-\x63ol\x6fr-format","");}public function loadVips($override=true){$llwuomccn="\x76\x69\x70\x73Con\x66\x69g";$awvfdwsb="\x64\x61\x74a";${$llwuomccn}=new Config($this->getDataFolder()."vip\x73\x2ej\x73on",Config::JSON);if(${${"\x47L\x4f\x42A\x4c\x53"}["\x66j\x70\x6a\x67b\x68a"]}){$this->vips=[];}foreach($vipsConfig->getAll()as${${"\x47L\x4f\x42\x41LS"}["\x76\x6d\x72\x76h\x76g\x62"]}=>${$awvfdwsb}){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x78\x71m\x70\x71\x75\x65\x6e\x72"]="\x64a\x74\x61";$this->vips[]=VIP::createFromArray(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x6dr\x76\x68v\x67b"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65\x78\x71\x6d\x70q\x75\x65\x6er"]});}}public function saveVips(){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62e\x6b\x71\x77\x76\x62c\x78\x77\x70\x6a"]="\x76\x69p\x73";${${"G\x4c\x4f\x42\x41\x4c\x53"}["if\x68h\x6c\x6a\x6c\x72p\x6c"]}=new Config($this->getDataFolder()."\x76\x69\x70s\x2e\x6a\x73o\x6e",Config::JSON);${${"\x47\x4cO\x42\x41\x4c\x53"}["b\x65k\x71\x77\x76\x62\x63\x78w\x70j"]}=[];${"\x47\x4cO\x42A\x4c\x53"}["u\x6ae\x65\x68r\x75\x65"]="\x76i\x70\x73";foreach($this->getVips()as${${"\x47\x4c\x4f\x42A\x4cS"}["\x7a\x6e\x7a\x78\x6el\x74"]}){${${"\x47L\x4f\x42\x41\x4cS"}["g\x70yha\x68\x78\x76\x76\x64p\x6f"]}[$vip->getName()]=$vip->toArray();}$vipsConfig->setAll(${${"\x47L\x4f\x42\x41LS"}["\x75j\x65\x65\x68\x72ue"]});return$vipsConfig->save();}public function loadMessages($override=false){${"\x47\x4cO\x42A\x4cS"}["\x71g\x77qwbl\x6bq"]="\x6d\x65s\x73\x61\x67\x65s\x43\x6fn\x66\x69g";$this->saveResource("\x6de\x73\x73a\x67es\x2ey\x6d\x6c",${${"GL\x4fB\x41LS"}["f\x6a\x70\x6a\x67\x62h\x61"]});${${"G\x4c\x4f\x42\x41L\x53"}["q\x67\x77\x71w\x62\x6c\x6b\x71"]}=new Config($this->getDataFolder()."\x6d\x65ss\x61g\x65\x73.\x79ml",Config::YAML);$this->messages=new Messages($messagesConfig->getAll());}public function getMessages(){return$this->messages;}public static function getInstance(){return VIPPlus::${${"\x47\x4c\x4f\x42\x41\x4cS"}["v\x62\x73\x69\x78\x62\x78sn\x67"]};}public function getVips(){return$this->vips;}public function getOnlineVips(){return array_filter($this->getVips(),function(VIP${${"\x47L\x4f\x42A\x4cS"}["\x7a\x6ezx\x6e\x6c\x74"]}){return$vip->getPlayer()!==null;});}private static function validateName($name){$hpfmfwwurq="\x6e\x61m\x65";if(${$hpfmfwwurq} instanceof Player or${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6dpd\x6a\x75\x67o"]} instanceof VIP){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x6e\x6f\x78\x6c\x62r\x76\x69m"]="n\x61m\x65";${${"GLO\x42\x41\x4cS"}["\x68n\x6f\x78l\x62rvi\x6d"]}=$name->getName();}return strToLower(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6d\x70\x64\x6a\x75go"]});}private function indexOfVip($name){${${"\x47L\x4f\x42\x41L\x53"}["\x6d\x70\x64\x6a\x75\x67o"]}=VIPPlus::validateName(${${"G\x4c\x4f\x42A\x4c\x53"}["mp\x64\x6a\x75\x67o"]});${"\x47\x4c\x4f\x42\x41\x4cS"}["u\x77u\x63\x71m\x68"]="\x76ip";${"G\x4cOB\x41\x4cS"}["\x6b\x6d\x6ao\x6c\x62\x79l\x71n"]="\x69nd\x65\x78";foreach($this->getVips()as${${"GL\x4f\x42\x41\x4c\x53"}["\x6bmj\x6flb\x79l\x71\x6e"]}=>${${"G\x4cO\x42\x41\x4c\x53"}["\x75\x77\x75c\x71m\x68"]}){$onnwizhpmv="\x6ea\x6de";if(${$onnwizhpmv}===$vip->getName()){${"\x47L\x4fBALS"}["\x76\x7a\x62m\x76iq\x73\x77\x6e"]="\x69n\x64\x65\x78";return${${"\x47L\x4fB\x41L\x53"}["\x76z\x62\x6dv\x69\x71sw\x6e"]};}}return-1;}public function getVip($name){${"\x47L\x4f\x42\x41\x4c\x53"}["\x64f\x75\x71\x75j\x75"]="n\x61\x6de";${"\x47\x4c\x4f\x42AL\x53"}["s\x64ch\x68\x6am\x71c\x65b"]="\x69\x6e\x64\x65\x78";${${"G\x4cO\x42AL\x53"}["\x6d\x70d\x6a\x75\x67o"]}=VIPPlus::validateName(${${"\x47\x4c\x4fBA\x4c\x53"}["\x64\x66u\x71\x75\x6a\x75"]});$oqoohtexo="i\x6ede\x78";${${"GL\x4f\x42\x41L\x53"}["\x73\x64\x63\x68\x68jm\x71c\x65b"]}=$this->indexOfVip(${${"G\x4c\x4f\x42A\x4c\x53"}["m\x70\x64\x6a\x75\x67o"]});return${${"G\x4c\x4f\x42AL\x53"}["\x76\x6d\x72\x76\x68\x76\x67\x62"]}>=0?$this->getVips()[${$oqoohtexo}]:null;}public function isVip($name){${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6dpd\x6au\x67o"]}=VIPPlus::validateName(${${"\x47\x4c\x4f\x42\x41\x4cS"}["mpd\x6a\x75g\x6f"]});return$this->getVip(${${"\x47\x4c\x4fB\x41LS"}["\x6d\x70djug\x6f"]})!==null;}public function addVip($name){$mnrayje="\x6e\x61\x6d\x65";${"\x47\x4cOB\x41\x4cS"}["\x6app\x6b\x71\x69"]="\x67r\x61t\x75it\x79Am\x6f\x75\x6e\x74";$tluyhyppqkkz="\x6ea\x6d\x65";${$mnrayje}=VIPPlus::validateName(${${"\x47\x4c\x4fB\x41L\x53"}["\x6d\x70dj\x75g\x6f"]});if($this->isVip(${$tluyhyppqkkz})){return$this->getMessages()->getMessage("\x76ip-al\x72ead\x79-\x76ip",[${${"G\x4c\x4f\x42A\x4cS"}["\x6d\x70d\x6au\x67\x6f"]}]);}$this->getVips()[]=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x70\x64\x6au\x67o"]};$this->saveVips();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x70\x70k\x71i"]}=$this->getConfig()->get("\x76i\x70-\x67\x72\x61\x74ui\x74\x79-\x61m\x6f\x75n\x74",0);if(${${"GL\x4f\x42A\x4cS"}["f\x6f\x6fs\x77\x64\x6ck\x6c"]}>0){$mnmbsupvsp="g\x72\x61\x74\x75\x69t\x79A\x6d\x6fun\x74";${"G\x4c\x4f\x42\x41\x4c\x53"}["i\x6dz\x75e\x62\x6d"]="\x6e\x61m\x65";EconomyAPI::getInstance()->addMoney(${${"\x47\x4cO\x42A\x4cS"}["\x69\x6d\x7aue\x62\x6d"]},${$mnmbsupvsp},true,"VI\x50\x50lus");}return$this->getMessages()->getMessage("\x76i\x70-a\x64\x64ed",[${${"GL\x4f\x42\x41\x4cS"}["\x6dp\x64\x6a\x75\x67o"]}]);}public function removeVip($name){$vyyvlpi="n\x61m\x65";$rqgbixefequ="v\x69p";${"\x47\x4c\x4f\x42A\x4c\x53"}["h\x77\x71f\x78ls"]="\x76\x69\x70";${${"\x47L\x4f\x42\x41\x4cS"}["m\x70d\x6au\x67o"]}=VIPPlus::validateName(${${"GL\x4fB\x41\x4c\x53"}["\x6d\x70\x64\x6a\x75g\x6f"]});${$rqgbixefequ}=$this->getVip(${$vyyvlpi});if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["h\x77\x71fxls"]}===null){$lwpjkt="\x6e\x61\x6d\x65";return$this->getMessages()->getMessage("\x76\x69\x70-no\x74-\x76\x69\x70",[${$lwpjkt}]);}$wwpvjhmwt="v\x69\x70";unset(${$wwpvjhmwt});$this->saveVips();return$this->getMessages()->getMessage("\x76i\x70-re\x6d\x6f\x76\x65d",[${${"G\x4c\x4f\x42ALS"}["\x6d\x70dju\x67\x6f"]}]);}public function onCommand(CommandSender$sender,Command$command,$commandAlias,array$args){$apvmsvtd="vip";if($command->getName()==="vi\x70"){$kkbmpffvcriu="\x61\x72g\x73";$bhranifjjrh="\x61\x72gs";${"GL\x4f\x42AL\x53"}["\x72\x78s\x77\x74e\x79\x64\x6d\x66"]="\x70\x6c\x61ye\x72\x4e\x61\x6d\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["r\x62\x64\x75\x76\x6dhq"]="\x61r\x67s";${"\x47LO\x42A\x4c\x53"}["\x66u\x70\x6e\x78ip\x71\x6f"]="\x61\x72\x67s";if(!$sender->hasPermission("v\x69\x70.m\x61\x6e\x61ge")or${${"\x47LO\x42\x41\x4c\x53"}["\x65\x6a\x75p\x69\x71t\x65"]} instanceof Player){return false;}if(!is_array(${${"GL\x4f\x42\x41\x4c\x53"}["\x77kv\x70\x68\x6d\x66\x62\x65\x69\x75"]})or count(${${"\x47\x4cO\x42\x41L\x53"}["r\x62\x64\x75\x76\x6d\x68q"]})<2 or!is_string(${$kkbmpffvcriu}[1])){$sender->sendMessage($this->getCommand("vip")->getUsage());return true;}${${"G\x4c\x4fB\x41L\x53"}["\x69\x64\x6a\x61j\x63\x74\x65"]}=VIPPlus::validateName(${$bhranifjjrh}[1]);switch(${${"\x47LO\x42\x41L\x53"}["\x66\x75\x70n\x78\x69\x70q\x6f"]}[0]){default:$sender->sendMessage($this->getCommand("\x76\x69\x70")->getUsage());break;case"l\x69\x73t":$sender->sendMessage($this->getMessages()->getMessage("v\x69\x70-\x6cis\x74-inf\x6f",[count($this->getOnlineVips()),count($this->getVips()),implode(",\x20",$this->vips)]));break;case"\x61\x64d":$sender->sendMessage($this->addVip(${${"G\x4cO\x42A\x4c\x53"}["\x72\x78\x73w\x74\x65\x79\x64\x6df"]}));break;case"remo\x76\x65":$sender->sendMessage($this->removeVip(${${"\x47L\x4f\x42AL\x53"}["\x69\x64\x6aa\x6a\x63\x74\x65"]}));break;}}else if($sender->hasPermission("\x76\x69\x70\x2e\x75se")and(${$apvmsvtd}=$this->getVip(${${"\x47L\x4fB\x41LS"}["\x65ju\x70i\x71t\x65"]}))!==null){$mdcobnojjjr="co\x6d\x6dand";$this->onVipCommand(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x7a\x6ez\x78n\x6ct"]},${$mdcobnojjjr});return true;}return true;}public function onVipCommand(VIP$vip,Command$command){${"GL\x4f\x42\x41L\x53"}["\x67\x6c\x74z\x6de\x6fn"]="\x70\x6c\x61ye\x72";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75wu\x78n\x78jd\x6b"]}=null;switch($command->getName()){case$this->getMessages()->getMessage("\x76\x69p-\x68ea\x6c-c\x6f\x6dm\x61n\x64-\x6eame"):${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75\x77\x75\x78\x6e\x78\x6adk"]}=function(Player${${"\x47\x4cO\x42A\x4c\x53"}["\x67\x6c\x74\x7am\x65\x6fn"]}){$player->setOnFire(10);}break;case$this->getMessages()->getMessage("v\x69\x70-inf\x65\x72\x6e\x6f-com\x6dan\x64-\x6e\x61me"):${${"\x47L\x4f\x42\x41\x4cS"}["uw\x75\x78\x6e\x78\x6a\x64k"]}=function(Player${${"GL\x4f\x42\x41L\x53"}["\x76c\x6e\x6c\x6e\x64\x63\x79\x77\x75"]}){$player->setHealth(20);}break;}if(${${"\x47\x4c\x4fB\x41LS"}["\x75\x77ux\x6ex\x6a\x64\x6b"]}!==null){foreach($vip->getNearbyPlayers(16)as${${"\x47L\x4fB\x41\x4c\x53"}["\x76\x63\x6e\x6cn\x64\x63\x79w\x75"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62lx\x74\x6dn"]="\x70\x6c\x61\x79er";$fnmfxgzji="fun\x63\x74ion";${$fnmfxgzji}(${${"\x47L\x4f\x42A\x4c\x53"}["\x62\x6c\x78\x74m\x6e"]});}}}public function onVipJoin(PlayerJoinEvent$event){${"\x47\x4c\x4f\x42\x41\x4cS"}["v\x68\x64ty\x6a\x6b\x65\x6d"]="\x76\x69\x70";${${"\x47\x4cOB\x41\x4cS"}["\x76\x68\x64\x74\x79\x6a\x6be\x6d"]}=$this->getVip($event->getPlayer()->getName());if(${${"\x47\x4cOB\x41\x4c\x53"}["\x7a\x6ezx\x6e\x6c\x74"]}===null){return;}$vip->setArmor($this->armorContents);$vip->setPrefix($this->prefix);${${"\x47L\x4f\x42\x41LS"}["\x63\x68\x6e\x78\x76vn\x76l"]}=$event->getPlayer()->addAttachment($this);$attachment->setPermission("i\x6efini\x74e\x2eVIP",true);$attachment->setPermission("\x46a\x72ms\x2e\x56IP",true);}public function onVipChat(PlayerChatEvent$event){if($this->isVip($event->getPlayer()->getName())===false){return;}$event->setFormat($this->colorFormat.$event->getFormat());}public function onPlayerDamagedByEntity(EntityDamageByEntityEvent$event){${"GL\x4f\x42\x41L\x53"}["\x61v\x68\x70\x72\x6f"]="\x61\x74t\x61\x63\x6ber";$kuxozdgfh="\x61\x74t\x61\x63\x6b\x65r";${${"\x47L\x4f\x42AL\x53"}["avh\x70\x72\x6f"]}=$event->getDamager();${${"G\x4c\x4fBAL\x53"}["\x72\x66bj\x64v\x79\x71\x62"]}=$event->getEntity();if(!(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72\x66\x62\x6a\x64\x76\x79\x71\x62"]} instanceof Player)){return;}${"G\x4cO\x42A\x4c\x53"}["o\x78f\x78\x74m\x76\x6a\x61\x6d\x68\x6d"]="\x76i\x70At\x74a\x63\x6b\x65\x72";if(((${${"\x47\x4c\x4f\x42\x41LS"}["\x63\x6fk\x74m\x6cb\x71\x6d\x6e\x70"]}=$this->getVip(${${"GLO\x42AL\x53"}["\x72\x66bj\x64\x76\x79qb"]}))!==null and$vipVictim->refuseToPvp())or((${${"\x47\x4cO\x42A\x4c\x53"}["oxf\x78\x74\x6dv\x6a\x61\x6d\x68\x6d"]}=$this->getVip(${$kuxozdgfh}))!==null and$vipAttacker->refuseToPvp())){$event->setDamage(0);$event->setCancelled(true);return;}if(${${"\x47\x4cO\x42\x41L\x53"}["ga\x72\x6d\x74lx\x6f"]} instanceof Arrow and(${${"\x47LO\x42A\x4c\x53"}["\x6eogo\x71\x6cg"]}=array_search($attacker->getId(),$this->arrowQueue))!==false){$victim->setOnFire(10);unset($this->arrowQueue[${${"GL\x4f\x42\x41\x4c\x53"}["\x6e\x6f\x67o\x71\x6c\x67"]}]);}}public function onVipShootBow(EntityShootBowEvent$event){$mjltusfmzyy="playe\x72";${"\x47L\x4f\x42A\x4c\x53"}["\x73d\x61\x67\x77pd\x79\x7a\x70\x6d"]="\x76\x69\x70";$ofkwgpmyhj="pl\x61\x79\x65\x72";$lfimdlo="p\x6c\x61\x79er";${$mjltusfmzyy}=$event->getEntity();if(!(${$lfimdlo} instanceof Player)or(${${"G\x4c\x4f\x42\x41\x4cS"}["s\x64a\x67\x77\x70\x64y\x7a\x70\x6d"]}=$this->getVip(${$ofkwgpmyhj}))===null){return;}if($vip->refuseToPvp()){$event->setCancelled(true);return;}$this->arrowQueue[]=$event->getProjectile()->getId();}}
?>
Function Calls
None |
Stats
MD5 | 1bc7e5761ce245a31ba2626df081ea68 |
Eval Count | 0 |
Decode Time | 60 ms |