Double0negative / xServerChat

5 stars 8 forks source link

org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml #7

Closed ProsperCraft closed 11 years ago

ProsperCraft commented 11 years ago

2013-05-21 09:20:56 [SEVERE] Could not load 'plugins/xServerChat-DEDICATED_SERVER.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:247) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:262) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.(CraftServer.java:240) at net.minecraft.server.v1_5_R3.PlayerList.(PlayerList.java:55) at net.minecraft.server.v1_5_R3.DedicatedPlayerList.(SourceFile:11) at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:58) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:388) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml ... 9 more

Stoolbend commented 11 years ago

Hi, The dedicated server is not a minecraft plugin.

To run it you need to create a batch file or similar in the directory you put the jar file in. Put this in the batch file:

Java -jar xServerChat-DEDICATED_SERVER.jar.

Cheers On 21 May 2013 16:26, "ProsperCraft" notifications@github.com wrote:

2013-05-21 09:20:56 [SEVERE] Could not load 'plugins/xServerChat-DEDICATED_SERVER.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:247) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:262) at org.bukkit.craftbukkit.v1_5_R3.CraftServer.(CraftServer.java:240) at net.minecraft.server.v1_5_R3.PlayerList.(PlayerList.java:55) at net.minecraft.server.v1_5_R3.DedicatedPlayerList.(SourceFile:11) at net.minecraft.server.v1_5_R3.DedicatedServer.init(DedicatedServer.java:58) at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:388) at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573) Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml ... 9 more

— Reply to this email directly or view it on GitHubhttps://github.com/Double0negative/xServerChat/issues/7 .

ProsperCraft commented 11 years ago

thank you...I was following the directions on the plugin page, didn't realize you had moved it out of the plugins.

Is the other file a plugin or does that run separate as well?

ProsperCraft commented 11 years ago

oh did you separate out the dedicated server to improve core usage so it runs on its own thread?

Stoolbend commented 11 years ago

Only the dedicated server is a standalone jar. the xServerChat.jar is a plugin.

I separated it out so that it could be run on a separate machine or user instance. Just for more flexibility.

ghost commented 11 years ago

@ProsperCraft Sorry about the confusion there! I will try to make it more clear in some way.

Closing.