I can't get this plugin to register for some reason and I keep getting this error PHP: RuntimeException: "Couldn't load source plugin Infected: main class not found" (E_USER_WARNING) in "/DevTools_v1.10.0.phar/src/FolderPluginLoader/FolderPluginLoader" at line 70 Here are my files PHP: //plugin.ymlname: Infectedauthor: Tethereddescription: Infected Gametypeversion: 1.1main: infected/InfectedMainapi: [1.5.0]//InfectedMainnamespace infected;class InfectedMain extends PluginBase implements Listener{ File structure is this: Infected src infected InfectedMain.php
I believe the main's slash needs to be \ and not / . If the folder after the src (/src/PluginName) is the same as plugin name originally, then state the main as: Code: main: infected\infected Also, make sure that the main class is right after the name statement. This really makes a big difference. Code: //plugin.yml name: Infected main: infected\InfectedMain description: Infected Gametype author: Tethered api: [1.5.0]