Need euro help,
I created my first plugin with intellij and would now like to try it out
1.15.2 is selected in intellij
my plugin.yml:
name: First plug
version: $ {project.version}
main: at.luki.firstplugin.Main
api version: 1.15.2
authors: [LukasKolinsky]
description: TestPlugin
commands:
date:
description: Shows date
The error:
[19:56:39] [Server thread / ERROR]: Could not load 'plugins \ Firstplugin.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: Unsupported API version 1.15.2
at org.bukkit.craftbukkit.v1_15_R1.util.CraftMagicNumbers.checkSupported (CraftMagicNumbers.java:261) ~ [Spigot.jar: git-Spigot-800b93f-8160e29]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin (JavaPluginLoader.java:131) ~ [Spigot.jar: git-Spigot-800b93f-8160e29]
at org.bukkit.plugin.SimplePluginManager.loadPlugin (SimplePluginManager.java:334) ~ [Spigot.jar: git-Spigot-800b93f-8160e29]
at org.bukkit.plugin.SimplePluginManager.loadPlugins (SimplePluginManager.java:253) [Spigot.jar: git-Spigot-800b93f-8160e29]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.loadPlugins (CraftServer.java:351) [Spigot.jar: git-Spigot-800b93f-8160e29]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.reload (CraftServer.java:809) [Spigot.jar: git-Spigot-800b93f-8160e29]
at org.bukkit.Bukkit.reload (Bukkit.java:576) [Spigot.jar: git-Spigot-800b93f-8160e29]
at org.bukkit.command.defaults.ReloadCommand.execute (ReloadCommand.java:27) [Spigot.jar: git-Spigot-800b93f-8160e29]
at org.bukkit.command.SimpleCommandMap.dispatch (SimpleCommandMap.java:149) [Spigot.jar: git-Spigot-800b93f-8160e29]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand (CraftServer.java:711) [Spigot.jar: git-Spigot-800b93f-8160e29]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchServerCommand (CraftServer.java:696) [Spigot.jar: git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.DedicatedServer.handleCommandQueue (DedicatedServer.java:436) [Spigot.jar: git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.DedicatedServer.b (DedicatedServer.java:400) [Spigot.jar: git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.a (MinecraftServer.java:984) [Spigot.jar: git-Spigot-800b93f-8160e29]
at net.minecraft.server.v1_15_R1.MinecraftServer.run (MinecraftServer.java:824) [Spigot.jar: git-Spigot-800b93f-8160e29]
at java.lang.Thread.run (Unknown Source) [?: 1.8.0_251]
Omit the line api-version.
Thank you
same problem
How can i fix it?
the text cirrect is api-version: 1.15 and not api version 1.15