invalid plugin.yml

Discussion in 'Bukkit Help' started by Jynx__, Jan 15, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    Jynx__

    i'm not a developer but i don't know where to go but i'm using a plugin ShopChest and when i load it ti gives me the could not load plugin invalid plugin.yml thing and i don know what to do but here is the plugin.yml text. remember this isn't my plugin i just want to be able to use it but i cant


    Code:
    # Do not change anything in here unless you know what you're doing!
    
    name: ShopChest
    main: de.epiceric.shopchest.ShopChest
    version: 1.13-SNAPSHOT
    author: EpicEric
    website: https://www.spigotmc.org/resources/shopchest.11431/
    description: Create your own nice-looking chest shops and sell your stuff to other players!
    softdepend: [WorldGuard, Towny, AuthMe, PlotSquared, uSkyBlock, ASkyBlock, IslandWorld, GriefPrevention, AreaShop, Multiverse-Core, MultiWorld]
    depend: [Vault]
    api-version: 1.13
    
    permissions:
      shopchest.*:
        description: Gives access to all ShopChest permissions.
        children:
          shopchest.create: true
          shopchest.create.buy: true
          shopchest.create.sell: true
          shopchest.create.admin: true
          shopchest.create.protected: true
          shopchest.remove.other: true
          shopchest.remove.admin: true
          shopchest.buy: true
          shopchest.openOther: true
          shopchest.notification.update: true
          shopchest.reload: true
          shopchest.update: true
          shopchest.limit.*: true
          shopchest.config: true
          shopchest.extend.other: true
          shopchest.extend.protected: true
          shopchest.external.bypass: true
      shopchest.create:
        description: Allows you to create a shop.
        children:
          shopchest.create.buy: true
          shopchest.create.sell: true
        default: true
      shopchest.create.buy:
        description: Allows you to create a buy-shop.
        default: true
      shopchest.create.sell:
        description: Allows you to create a sell-shop.
        default: true
      shopchest.create.admin:
        description: Allows you to create an admin shop.
        children:
          shopchest.create: true
        default: op
      shopchest.create.protected:
        description: Allows you to create a shop on a protected chest or in a protected region.
        children:
          shopchest.create: true
        default: op
      shopchest.remove.other:
        description: Allows you to remove other players' shops.
        default: op
      shopchest.remove.admin:
        description: Allows you to remove admin shops.
        default: op
      shopchest.buy:
        description: Allows you to buy something.
        default: true
      shopchest.sell:
        description: Allows you to sell something.
        default: true
      shopchest.openOther:
        description: Allows you to open other players' shops.
        default: op
      shopchest.notification.update:
        description: Allows you to get update notification on join.
        default: op
      shopchest.reload:
        description: Allows you to reload the shops.
        default: op
      shopchest.update:
        description: Allows you to check for updates.
        default: op
      shopchest.limit.*:
        default: op
      shopchest.config:
        description: Allows you to change configuration values per command.
        default: op
      shopchest.extend.other:
        description: Allows you to extend other players' shops.
        default: op
      shopchest.extend.protected:
        description: Allows you to extend shops into a protected region.
        default: op
      shopchest.external.bypass:
        description: Allows you to to use shops regions/plots that deny shop use.
        default: op
     
    Last edited by a moderator: Jan 15, 2020
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    Jynx__

    Attached Files:

  4. Offline

    timtower Administrator Administrator Moderator

    @Jynx__ And there is a plugin.yml in the jar? With that exact name?
     
  5. Offline

    Jynx__

  6. Offline

    timtower Administrator Administrator Moderator

    Show a screenshot of the jar when you have it open with a zip program.
     
  7. Offline

    Jynx__

    Attached Files:

  8. Offline

    timtower Administrator Administrator Moderator

    @Jynx__ Can you check the plugins? I suspect that you have multiple version of the file.
    And that in a way that the one loaded by the server is a different one that you are looking at.
     
  9. Offline

    Jynx__

    @timtower nope there isnt another file of the same thing
     
  10. Offline

    timtower Administrator Administrator Moderator

    Then please open up the one in the plugins directory and not the one in your downloads because the file names are different between the two of them.
     
  11. Offline

    Jynx__

  12. Offline

    timtower Administrator Administrator Moderator

    @Jynx__ Then I have no idea what is going wrong in your server
     
  13. Offline

    Jynx__

    @timtower oof
    ive managed to get the jar file to make a folder but whn i tupe the /shop create 64 10 5 ect this comes up in my console

    [21:00:21] [Server thread/INFO]: Bubbles____ issued server command: /shop create 64 10 5 admin

    [21:00:21] [Server thread/ERROR]: null

    org.bukkit.command.CommandException: Cannot execute command 'shop' in plugin ShopChest v1.13-SNAPSHOT - plugin is disabled.

    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37) ~[bukkit.jar:git-Bukkit-3e3818b]

    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:148) ~[bukkit.jar:git-Bukkit-3e3818b]

    at org.bukkit.craftbukkit.v1_14_R1.CraftServer.dispatchCommand(CraftServer.java:689) ~[bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.PlayerConnection.handleCommand(PlayerConnection.java:1590) ~[bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1444) ~[bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(SourceFile:37) ~[bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.PacketPlayInChat.a(SourceFile:9) ~[bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19) ~[bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.TickTask.run(SourceFile:18) [bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeTask(SourceFile:144) [bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) [bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.executeNext(SourceFile:118) [bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.MinecraftServer.aX(MinecraftServer.java:867) [bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.MinecraftServer.executeNext(MinecraftServer.java:860) [bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.IAsyncTaskHandler.awaitTasks(SourceFile:127) [bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.MinecraftServer.sleepForTick(MinecraftServer.java:844) [bukkit.jar:git-Bukkit-3e3818b]

    at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:784) [bukkit.jar:git-Bukkit-3e3818b]

    at java.lang.Thread.run(Unknown Source) [?:1.8.0_231]
     
  14. Offline

    timtower Administrator Administrator Moderator

    @Jynx__ Please post your log again.
     
  15. Offline

    Jynx__

    Attached Files:

  16. Offline

    timtower Administrator Administrator Moderator

    @Jynx__ It has no database access
     
  17. Offline

    Jynx__

  18. Offline

    timtower Administrator Administrator Moderator

    @Jynx__
    Code:
    [20:48:13] [Craft Scheduler Thread - 10/INFO]: HikariPool-1 - Shutdown initiated...
    [20:48:13] [Craft Scheduler Thread - 9/ERROR]: [ShopChest] Failed to get shops from database
    [20:48:13] [Craft Scheduler Thread - 10/INFO]: HikariPool-1 - Shutdown completed.
    [20:48:13] [Craft Scheduler Thread - 10/INFO]: HikariPool-2 - Starting...
    [20:48:13] [Craft Scheduler Thread - 10/INFO]: HikariPool-2 - Start completed.
    [20:48:13] [Craft Scheduler Thread - 10/INFO]: [ShopChest] Cleaned up economy log
    [20:48:14] [Server thread/ERROR]: [ShopChest] No database access. Disabling ShopChest
    [20:48:14] [Server thread/ERROR]: [ShopChest] HikariDataSource HikariDataSource (HikariPool-1) has been closed.
    [20:48:14] [Server thread/INFO]: [ShopChest] Disabling ShopChest v1.13-SNAPSHOT
    I just know how to read this, not how to fix
     
  19. Offline

    Jynx__

    @timtower ok thank you for all the help now i know what to do a little less thx
     
  20. Offline

    timtower Administrator Administrator Moderator

  21. Offline

    Jynx__

  22. Offline

    timtower Administrator Administrator Moderator

    Then I suggest waiting for his response instead.
     
Thread Status:
Not open for further replies.

Share This Page