Menus not working #792


Open
  • Raven_Blackwell created this issue Dec 7, 2019

    I don't know why it doesn't work, here is my console log:

     

    [13:27:39] [Server thread/ERROR]: TaskChain Exception on com.gmail.filoghost.chestcommands.internal.icon.command.SoundIconCommand$$Lambda$4320/329909764: Non [a-z0-9/._-] character in path of location: minecraft:note pling
    [13:27:39] [Server thread/ERROR]: Current Action Index was: 0
    [13:27:39] [Server thread/WARN]: net.minecraft.server.v1_14_R1.ResourceKeyInvalidException: Non [a-z0-9/._-] character in path of location: minecraft:note pling
    [13:27:39] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftKey.<init>(SourceFile:38)
    [13:27:39] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftKey.<init>(SourceFile:43)
    [13:27:39] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.entity.CraftPlayer.playSound(CraftPlayer.java:462)
    [13:27:39] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.entity.CraftPlayer.playSound(CraftPlayer.java:447)
    [13:27:39] [Server thread/WARN]: at com.gmail.filoghost.chestcommands.internal.icon.command.SoundIconCommand.lambda$execute$1(SoundIconCommand.java:79)
    [13:27:39] [Server thread/WARN]: at co.aikar.taskchain.TaskChainTasks$GenericTask.run(TaskChainTasks.java:83)
    [13:27:39] [Server thread/WARN]: at co.aikar.taskchain.TaskChain$TaskHolder.run(TaskChain.java:1312)
    [13:27:39] [Server thread/WARN]: at co.aikar.taskchain.TaskChain$TaskHolder.access$100(TaskChain.java:1266)
    [13:27:39] [Server thread/WARN]: at co.aikar.taskchain.TaskChain.nextTask(TaskChain.java:1197)
    [13:27:39] [Server thread/WARN]: at co.aikar.taskchain.TaskChain.execute0(TaskChain.java:1130)
    [13:27:39] [Server thread/WARN]: at co.aikar.taskchain.TaskChain.execute(TaskChain.java:1099)
    [13:27:39] [Server thread/WARN]: at co.aikar.taskchain.TaskChain.execute(TaskChain.java:1049)
    [13:27:39] [Server thread/WARN]: at com.gmail.filoghost.chestcommands.internal.ExtendedIconMenu.open(ExtendedIconMenu.java:84)
    [13:27:39] [Server thread/WARN]: at com.gmail.filoghost.chestcommands.internal.icon.command.OpenIconCommand.lambda$execute$0(OpenIconCommand.java:47)
    [13:27:39] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81)
    [13:27:39] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:394)
    [13:27:39] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1022)
    [13:27:39] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:393)
    [13:27:39] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:970)
    [13:27:39] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:815)
    [13:27:39] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
    [13:27:40] [Server thread/ERROR]: TaskChain Exception on com.gmail.filoghost.chestcommands.internal.icon.command.SoundIconCommand$$Lambda$4320/329909764: Non [a-z0-9/._-] character in path of location: minecraft:note pling
    [13:27:40] [Server thread/ERROR]: Current Action Index was: 0
    [13:27:40] [Server thread/WARN]: net.minecraft.server.v1_14_R1.ResourceKeyInvalidException: Non [a-z0-9/._-] character in path of location: minecraft:note pling
    [13:27:40] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftKey.<init>(SourceFile:38)
    [13:27:40] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftKey.<init>(SourceFile:43)
    [13:27:40] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.entity.CraftPlayer.playSound(CraftPlayer.java:462)
    [13:27:40] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.entity.CraftPlayer.playSound(CraftPlayer.java:447)
    [13:27:40] [Server thread/WARN]: at com.gmail.filoghost.chestcommands.internal.icon.command.SoundIconCommand.lambda$execute$1(SoundIconCommand.java:79)
    [13:27:40] [Server thread/WARN]: at co.aikar.taskchain.TaskChainTasks$GenericTask.run(TaskChainTasks.java:83)
    [13:27:40] [Server thread/WARN]: at co.aikar.taskchain.TaskChain$TaskHolder.run(TaskChain.java:1312)
    [13:27:40] [Server thread/WARN]: at co.aikar.taskchain.TaskChain$TaskHolder.access$100(TaskChain.java:1266)
    [13:27:40] [Server thread/WARN]: at co.aikar.taskchain.TaskChain.nextTask(TaskChain.java:1197)
    [13:27:40] [Server thread/WARN]: at co.aikar.taskchain.TaskChain.execute0(TaskChain.java:1130)
    [13:27:40] [Server thread/WARN]: at co.aikar.taskchain.TaskChain.execute(TaskChain.java:1099)
    [13:27:40] [Server thread/WARN]: at co.aikar.taskchain.TaskChain.execute(TaskChain.java:1049)
    [13:27:40] [Server thread/WARN]: at com.gmail.filoghost.chestcommands.internal.ExtendedIconMenu.open(ExtendedIconMenu.java:84)
    [13:27:40] [Server thread/WARN]: at com.gmail.filoghost.chestcommands.internal.icon.command.OpenIconCommand.lambda$execute$0(OpenIconCommand.java:47)
    [13:27:40] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftTask.run(CraftTask.java:81)
    [13:27:40] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_14_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:394)
    [13:27:40] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1022)
    [13:27:40] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:393)
    [13:27:40] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:970)
    [13:27:40] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:815)
    [13:27:40] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
    >

     

     

    and here is my config file of the unworking menu:

     

    ######################
    #+ +#
    # MENU SETTINGS #
    #+ +#
    ######################

    menu-settings:

    # name - appears as the title - REQUIRED
    name: '&2Agriculteur'

    # rows - the number of rows of the chest - REQUIRED
    rows: 6

    # command - OPTIONAL (you can remove this or set it to '')
    # Bind multiple commands using ; (command: 'menu; m; me')
    command: ''

    # This command command will be execute when the menu is opened.
    # Supports all the icon command types.
    open-action: ''

    # open-with-item - OPTIONAL
    # The menu will open only right-clicking with orange wool [35:1]
    open-with-item:
    id:
    left-click: false
    right-click: true

     

    ######################
    #+ +#
    # ITEMS #
    #+ +#
    ######################

     

    NOPOOO:
    NAME: '&aà venir'
    ID: red_stained_glass_pane
    POSITION-X: 1
    POSITION-Y: 2

    001A:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 1
    POSITION-Y: 1

    001B:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 9
    POSITION-Y: 1

    Infos:
    NAME: '&a'
    LORE:
    - 'Voici la liste plants à récolter'
    ID: iron_hoe
    POSITION-X: 5
    POSITION-Y: 1

    01:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 2
    POSITION-Y: 1

    02:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 3
    POSITION-Y: 1

    03:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 4
    POSITION-Y: 1

    04:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 6
    POSITION-Y: 1

    05:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 7
    POSITION-Y: 1

    06:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 8
    POSITION-Y: 1

    012:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 2
    POSITION-Y: 6

    022:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 3
    POSITION-Y: 6

    032:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 4
    POSITION-Y: 6

    042:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 6
    POSITION-Y: 6

    052:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 7
    POSITION-Y: 6

    062:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 8
    POSITION-Y: 6

    001C:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 1
    POSITION-Y: 6

    001D:
    NAME: '&r'
    ID: black_stained_glass_pane
    POSITION-X: 9
    POSITION-Y: 6

    Refuser:
    NAME: '&cQuitter le métier d''agriculteur'
    ID: red_concrete
    COMMAND: 'jobs leave Agriculteur'
    LORE:
    - '&7En quitant ce métier vous perdez les niveaux acquis'
    - '&7mais vous garderez l''argent empocher'
    POSITION-X: 5
    POSITION-Y: 6

    # MHF_Spider:
    # NAME: 'Case Senstive Head'
    # LORE:
    # - 'Test'
    # ID: skull_item:3
    # SKULL-OWNER: 'MHF_Spider'
    # DATA-VALUE: 3
    # POSITION-X: 1
    # POSITION-Y: 2


To post a comment, please login or register a new account.