Spigot PlayerKits | Fully Configurable KITS! [1.8-1.19] 2.24.1

A simple but powerful solution to create kits and claim them on a GUI.

  1. El permiso que les asignas en el inventario debe ser playerkits.kit.new, no solamente "new"
     
  2. Oh! Genial! Soluciando, Perfecto Ajneb! Como siempre ayudando en todo, gracias por tus plugins y tus videos amigo <3 Te re quiero. En futuro que pueda te donare <3 :3
     
    • Like Like x 1
  3. Hola Ajneb tengo un problema con el plugin PlayerKits. Cuando usas el comando /kit claim <kit> para un kit que tiene precio asignado me tira un error grande en la consola y en el chat dise que hay un error interno. Sabes como puedo solucionar esto. Es que intento hacer carteles para comprar kit y no los puedo hacer porque me sale el error este.
     
  4. Manda el error
     
  5. [08:06:20 ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'kit' in plugin PlayerKits v2.6.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[Survival_1.16.1.jar:git-Paper-131]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[Survival_1.16.1.jar:git-Paper-131]
    at org.bukkit.craftbukkit.v1_16_R1.CraftServer.dispatchCommand(CraftServer.java:794) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.PlayerConnection.handleCommand(PlayerConnection.java:1912) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:1723) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:1137) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:1130) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.MinecraftServer.sleepForTick(MinecraftServer.java:1091) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1005) ~[Survival_1.16.1.jar:git-Paper-131]
    at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[Survival_1.16.1.jar:git-Paper-131]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_251]
    Caused by: java.lang.NullPointerException
    at pk.ajneb97.managers.KitManager.claimKit(KitManager.java:635) ~[?:?]
    at pk.ajneb97.Comando.onCommand(Comando.java:109) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[Survival_1.16.1.jar:git-Paper-131]
    ... 18 more
     
  6. Voy a revisarlo!
     
  7. Vale muchas gracias :)
     
  8. Heyo for Auto-equip, Elytras and Player Skulls aren't affected.
     
    • Informative Informative x 1
  9. Is there a github for this plugin? I'd like to see the code and also the list of issues. I am having an issue with player_heads as display item.
    Getting the following in the error log...

    Code (Text):

    [10:21:18] [Server thread/WARN]: [PlayerKits] Task #11144 for PlayerKits v2.6.2 generated an exception
    java.lang.IllegalArgumentException: Invalid UUID string:
            at java.util.UUID.fromString(UUID.java:194) ~[?:1.8.0_252]
            at net.minecraft.server.v1_16_R1.GameProfileSerializer.deserialize(GameProfileSerializer.java:33) ~[patched_1.16.1.jar:git-Paper-131]
            at org.bukkit.craftbukkit.v1_16_R1.inventory.CraftMetaSkull.<init>(CraftMetaSkull.java:47) ~[patched_1.16.1.jar:git-Paper-131]
            at org.bukkit.craftbukkit.v1_16_R1.inventory.CraftItemStack.getItemMeta(CraftItemStack.java:299) ~[patched_1.16.1.jar:git-Paper-131]
            at org.bukkit.craftbukkit.v1_16_R1.inventory.CraftItemStack.asBukkitCopy(CraftItemStack.java:62) ~[patched_1.16.1.jar:git-Paper-131]
            at pk.ajneb97.versiones.V1_16.setSkull(V1_16.java:46) ~[?:?]
            at pk.ajneb97.otros.Utilidades.setSkull(Utilidades.java:750) ~[?:?]
            at pk.ajneb97.managers.InventarioManager.update(InventarioManager.java:198) ~[?:?]
            at pk.ajneb97.managers.InventarioManager$1.run(InventarioManager.java:42) ~[?:?]
            at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.1.jar:git-Paper-131]
            at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.1.jar:git-Paper-131]
            at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1292) ~[patched_1.16.1.jar:git-Paper-131]
            at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:377) ~[patched_1.16.1.jar:git-Paper-131]

            at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1213) ~[patched_1.16.1.jar:git-Paper-131]
            at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:1001) ~[patched_1.16.1.jar:git-Paper-131]
            at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.1.jar:git-Paper-131]
            at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
     
     
  10. Did you edited something manually in the config?
     
  11. No, I use /kit edit and added a player head to be the displayItem for a kit
    after that I get the error
    I tried /kit reload and that didn't help
    Only way to get rid of error was to replace PLAYER_HEAD with another item
     
  12. What head did you tried to use?
     
  13. My own and another player's... neither worked.
     
  14. I didn't test with heads with owner, I will check it on my server
     
  15. Would it be possible to add a option that closes the GUI once you selected a kit?
     
  16. Sure I will try to add that option in the next update
     
    • Like Like x 1
  17. It doesn't look like the "display_item_skulldata" is correct when it auto generates. That might be part of it. And it is with ANY head, not just the "owner"
     
  18. display_item_skulldata: <player uuid>;<uuid of custom head>
    seems to work, but still cannot place a player's head
     
  19. Viendo que hablas español, es mejor aún jajaja.
    Respondiendo a tu respuesta, del config solo he cambiado los textos al español nada mas que eso y algunos items como back o next a español, supongo que eso no debería dar problemas.
    La creación y configuración de kits las hice totalmente ingame, es maravilloso el plugin pero me tiene algo desconsertado ese error.