my plugin has an error called "ClassNotFoundExeption" does anyone know what this is? [00:00:00] [Server thread/CRITICAL] ClassNotFoundExeption: "class LobbyCore\main not found" (EXCEPTION) in "Pocketmine-MP.phar/src/spl/BaseClassLoader" at line 131
my namespace: namespace LobbyCore; my class: class main extends PluginBase implements Listener { main.php name: main.php
there is no .php in the main directory look at my plugin.yml Code: name: 'LobbyCore' main: 'LobbyCore\main' version: '1.0' api: '[2.0.0, 3.0.0, 3.17.0]' author: 'BixcoitinDev' description: 'LobbyCore plugin'
If your classes are defined correctly, I am not sure but I’ve seen this somewhere but try changing “main” to “Main” in both plugin.yml and the main class.
Take a look on path ( folders ) and check if it's correct because there is no mistake ( if it does't work send here screenshot with your plugin folders )
You’re right! https://stackoverflow.com/questions/5260168/capital-letters-in-class-name-php I guess that sort-of solves my question on difference between the capitalization of the main file in PMMP.