plugin.yml

  • I made a plugin.yml file, put it in resources, Hit Complile the Plugin complied with no problem


    then I put the plugin into Plugins


    ran RW, the world loaded to 5% then it gave me this Error:


    LoadingState: Error while loading singleplayer game
    pluginapi.PluginException: No 'plugin.yml' definition file found for plugin "JavaLibrary5.jar"!
    If you are the creator of this plugin, you have to put a proper 'plugin.yml' file into the "resources" package
    at pluginapi.PluginLoader.loadPluginFromJar(SourceFile:188)
    at pluginapi.PluginLoader.loadPlugins(SourceFile:43)
    at pluginapi.PluginManager.initialize(SourceFile:60)
    at u.t.c(SourceFile:294)
    at u.t.a(SourceFile:172)
    at u.j.run(SourceFile:195)
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

  • Is the "resources" folder in the jar? The explanation in the pinned topic was a little bit unclear about that: You have to put the "resources" folder into the "src" folder, so when you compile the project, it will be packed into the jar automatically (alternatively you can of course just open the jar file with a zip program [like WinRaR] and put the resources folder there manually).



Participate now!

Don’t have an account yet? Create a new account now and be part of our community!