So I was curious if there's a way to parse a fake plugin.yml before startup to basically tell Minecraft there's a plugin.yml of course not actually having one in there. The use for this is I'm trying to get the plugin.yml to export and the jar obviously has the plugin.yml but it's not showing it in there. It pretty much doesn't make sense so I'm just trying to figure out a way to parse a fake plugin.yml, the plugin.yml would still be in the jar but it would just be telling Minecraft where it is.. (Hope I explained that well xD)
No you need the plugin.yml so bukkit knows which main class to load and what version and name to give it. If you are using maven (which is recommended) put the yml file in src/main/resources.
Now it's saying this: Code (Text): 27.05 03:25:09 [Server] INFO org.bukkit.plugin.InvalidPluginException: Cannot find main class `com.avrgaming.civcraft.main.CivCraft' 27.05 03:25:09 [Server] ERROR Could not load 'plugins/CivCraft.jar' in folder 'plugins' and...
If it can't find it your package is most likely not relative to the plugin. You can check where everything is just by extracting your plugin.
I would definitely recommend using Maven, it makes it so much easier for yourself and anyone else if you make it open source.
Wow, just wow, i have never seen a person hates IntelliJ anyway XD, no argurment here, Everyones have their own opinion *Mark thread as solved
It's not solved, it still doesn't work and yes Intellij is bad, I'm trying to use maven to import commons.io and it's not actually importing it at all, in Eclipse it has no errors with that, could someone give me some pointers as to how to fix this?