ClassNotFoundException: "Class DanielYTK\Coder\code not found" (EXCEPTION) in "/src/spl/BaseClassLoader" at line 131
You'll have to show us a bit more than that. If I were to guess, though, you made a mistake in your plugin.yml, declaring the namespace.
plugin.yml: Code: --- name: Admin author: DanielYTK version: 1.0 api: [2.0.0] main: DanielYTK\Coder\code commands: eadmin: description: "Entrar em modo admin" usage: "/eadmin" permission: admin.entrar aliases: [eadm] sadmin: description: "Sair do modo admin" usage: "/sadmin" permission: admin.sair aliases: [sadm] permissions: admin.entrar: default: op admin.sair: default: op main: PHP: <?phpnamespace DanielYTK\Coder\code;use pocketmine\command\CommandSender;use pocketmine\command\Command;use pocketmine\event\Listener;use pocketmine\plugin\PluginBase;use pocketmine\Server; use pocketmine\Player; use pocketmine\event\entity\EntityDamageByEntityEvent; use pocketmine\event\entity\EntityDamageEvent; use pocketmine\entity\Entity; use pocketmine\utils\TextFormat as C; use pocketmine\utils\Config; use pocketmine\network\protocol\DisconnectPacket; use pocketmine\Server\ConsoleCommandSender; use pocketmine\inventory\PlayerInventory; use pocketmine\inventory\Inventory; use pocketmine\event\PlayerJoinEvent; use pocketmine\event\PlayerQuitEvent; use pocketmine\event\PlayerInteractEvent; use pocketmine\item\enchantment\Enchantment; use pocketmine\item\enchantment\EnchantmentEntry; use pocketmine\item\enchantment\EnchantmentList; use pocketmine\item\Item; use pocketmine\math\Vector3; use pocketmine\event\BlockPlaceEvent;class code extends PluginBase implements Listener{}
Your main in plugin.yml is wrong, or your namespace is. The main should be the path all the way to the file, not just the directory it is in. The namespace should be all the folders from src the file is in.