Problem with uploading a plugin to a server

Status
This thread has been locked.

EpicFooF

Digital Artist
Premium
Feedback score
13
Posts
1,438
Reactions
520
Resources
2
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Tripps

SysAdmin | Developer
Premium
Feedback score
19
Posts
784
Reactions
313
Resources
0
Hi, guys.

I created a plugin for the first time. I am practicing rn.
Everything went smooth, no errors and all those stuff, but when I exported the plugin and uploaded it to the server, it says that the plugin isnt there. jfyi, I did reload AND restart the server.

picture of the code: https://gyazo.com/8d03f1316b250d8d5ccf435845f1ddbc
picture of the yml file: https://gyazo.com/f7a1b6370231251bd6cae9fab4c6af36

Can someone tell me whats wrong with it?
Main needs to be set as the Main class "me.epicFooF.FeedandHeal.Medic".
 

Tripps

SysAdmin | Developer
Premium
Feedback score
19
Posts
784
Reactions
313
Resources
0
Do I have to have the plugin.yml to have this plugin work? Or I can just delete it? Because I prefer it without it.
With any plugin you make you must have the plugin.yml. Please use pastebin.com to paste your latest.log file.
 

Tripps

SysAdmin | Developer
Premium
Feedback score
19
Posts
784
Reactions
313
Resources
0

'Invalid plugin.yml' meaning the plugin.yml isn't compiling into the plugin. Please take a screenshot of the edited files as well as the packages.
 

Tripps

SysAdmin | Developer
Premium
Feedback score
19
Posts
784
Reactions
313
Resources
0

EpicFooF

Digital Artist
Premium
Feedback score
13
Posts
1,438
Reactions
520
Resources
2
Hey,

If your using Eclipse, try these steps:
  1. Delete he current plugin.yml.
  2. Right click on the src type folder and go to new and file.
  3. Name is plugin.yml.
  4. Then paste the content that is on here.
  5. Save the plugin.yml and export the plugin.
Let me know if that works. If it doesn't, paste the console log onto a HasteBin.

Thanks!
TrifleTower
It works!!!
I used the one u gave me, but it asked for a version to be added. I added it and it works.
I also changed the me.epicFooF.feedandheal.medic to me.epicFooF.Medic.Medic

Thanks a lot!!!!
 
Status
This thread has been locked.
Top