.yml file not found in my plugin ---HELP ME---

Author Message
Image Perso
Chip_Bruh
Date sent: 2017/06/29 12:41:44
So recently i've been trying to teach myself how to code plugins in Eclipse, If anyone (particularly luigi) has knowledge of how to code plugins, i'd deeply appreciate some help.

The plugin is pretty simple, a player types a command and gets the message "Test command works!" in their chat.
When i load console, i get the error "Invalid Plugin.yml file"

Main class:
http://imgur.com/a/BiUP0

Command class:
http://imgur.com/a/NDkUl

Plugin.yml file:
http://imgur.com/a/pVQkU

Export Java settings:
http://imgur.com/a/9GKQ6

Console error:
http://imgur.com/a/P8JQj
Image Perso
larsy13
Date sent: 2017/06/29 16:04:31
Luigi does not know how to create plugins. I can name all of them which you can download. I believe the only selfmade plugin was pvp-toggle made by Eddie. Also to add: why make plugins your own. Use Skript indtead!
Image Perso
thomasjones
Date sent: 2017/06/29 17:17:00
*Steals Code*
Thanks for the code :)
Image Perso
thomasjones
Date sent: 2017/06/29 17:17:01
*Steals Code*
Thanks for the code :)
Image Perso
armzngunz
Date sent: 2017/06/29 18:11:03
staff chat was also made by Eddie
Image Perso
larsy13
Date sent: 2017/06/29 19:16:00
It may be made by Eddie, but there are several plugins for a staff hat.
Image Perso
Ruben
Date sent: 2017/06/29 21:45:00
Pvp-toggle and staff aka admin chat, comes with Essentials.

As for the coding, you should rather learn first how to program before you jump into plugins. Learn how to do a simple console program, and go from there. When you decide you got enough knowledge, then start coding plugins.
Image Perso
ckvoss
Date sent: 2017/06/30 00:18:29
Luigi does know how to make plugins, he made a plugin to generate trees over time.
Image Perso
luigiofthebakery
Moderator
Date sent: 2017/06/30 15:20:01
I think you're using tabs instead of spaces in your plugin.yml. Indentation should be done using two spaces.
Image Perso
Chip_Bruh
Date sent: 2017/06/30 17:22:00
i fixed it...

plugin.yml had a capital P .-.
Image Perso
Chip_Bruh
Date sent: 2017/06/30 17:24:13
Image

Register or Log in to use the forum