Hello guys. I have more than one class in my Plugin. I have the class "statuscheck","SignUpdate" and "FallingBlocks"! All the classes are in one .php file.....But what of this classes I must write into the plugin.yml in the main: ? Thanks Marcelo234
I have use McKaff_FallingBlocks\SignUpdate; use McKaff_FallingBlocks\statuscheck; and in the onEnabl part this: $this->getServer()->getScheduler()->scheduleRepeatingTask(new SignUpdate($this), 40);$this->getServer()->getScheduler()->scheduleRepeatingTask(new statuscheck($this), 40); and than my classes! But the server crash! Fatal error: Cannot declare class FallingBlocks\statuscheck because the name is already in use in C:\Users\Marcelo\Desktop\McKaff_FallingBlocks\plugins\McKaff_FallingBlocks\src\McKaff_FallingBlocks\FallingBlocks.php on line 273