Al crear un código aparece el siguiente error en consola, pero aún así crea el código.
[Server thread/INFO]: C4BR3R4 issued server command: /code create 3 meses 1 año DuqueVIP
[Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'code' in plugin VIPSystemPlus v1.4.5
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at org.bukkit.craftbukkit.v1_15_R1.CraftServer.dispatchCommand(CraftServer.java:723) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.PlayerConnection.handleCommand(PlayerConnection.java:1658) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.PlayerConnection.a(PlayerConnection.java:1498) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.TickTask.run(SourceFile:18) [spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeTask(SourceFile:144) [spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeNext(SourceFile:118) [spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.MinecraftServer.ba(MinecraftServer.java:918) [spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.MinecraftServer.executeNext(MinecraftServer.java:911) [spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.IAsyncTaskHandler.executeAll(SourceFile:103) [spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.MinecraftServer.sleepForTick(MinecraftServer.java:894) [spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:828) [spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
Caused by: java.lang.BootstrapMethodError: call site initialization exception
at java.lang.invoke.CallSite.makeSite(CallSite.java:341) ~[?:1.8.0_242]
at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307) ~[?:1.8.0_242]
at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297) ~[?:1.8.0_242]
at the.max.vip.commands.Commands.onCommand(Commands.java:259) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
... 17 more
Caused by: java.lang.NoClassDefFoundError: org/bukkit/Achievement
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_242]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_242]
at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[?:1.8.0_242]
at the.max.vip.commands.c.D(Unknown Source) ~[?:?]
at the.max.vip.commands.Commands.bq(Commands.java) ~[?:?]
at java.lang.invoke.CallSite.makeSite(CallSite.java:283) ~[?:1.8.0_242]
at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307) ~[?:1.8.0_242]
at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297) ~[?:1.8.0_242]
at the.max.vip.commands.Commands.onCommand(Commands.java:259) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
... 17 more
Caused by: java.lang.ClassNotFoundException: org.bukkit.Achievement
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:96) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
at java.lang.ClassLoader.loadClass(ClassLoader.java:419) ~[?:1.8.0_242]
at java.lang.ClassLoader.loadClass(ClassLoader.java:352) ~[?:1.8.0_242]
at java.lang.Class.getDeclaredMethods0(Native Method) ~[?:1.8.0_242]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) ~[?:1.8.0_242]
at java.lang.Class.getDeclaredMethods(Class.java:1975) ~[?:1.8.0_242]
at the.max.vip.commands.c.D(Unknown Source) ~[?:?]
at the.max.vip.commands.Commands.bq(Commands.java) ~[?:?]
at java.lang.invoke.CallSite.makeSite(CallSite.java:283) ~[?:1.8.0_242]
at java.lang.invoke.MethodHandleNatives.linkCallSiteImpl(MethodHandleNatives.java:307) ~[?:1.8.0_242]
at java.lang.invoke.MethodHandleNatives.linkCallSite(MethodHandleNatives.java:297) ~[?:1.8.0_242]
at the.max.vip.commands.Commands.onCommand(Commands.java:259) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[spigot-1.15.2.jar:git-Spigot-6de3d4b-a6f8093]
... 17 more
Faltan las strings para traducir:
You create new code for DuqueVIP 3 mes(es).
This code set timedown 1 año(s).