Configuration Layout

Config layout for version 1.4
#Note: all names support color codes
-------------------------------------------------------------------------------------------
#This is an alias for the plugin's command(animatedmenu), it's not required
Alias: am
Inventories:
    Test:
        #The header of the menu
        Menu-Name: 'Test'
        #The item that, when right clicked, will open the menu
        Menu-Opener: diamond-block
        #The displayname given to the menu opener when /animatedmenu item is typed
        Menu-Opener-Name: '&6Open a menu!'
        #The lore given to the menu opener when /animatedmenu item is typed
        Menu-Opener-Lore:
        - '&aClick me!'
        #The sound it will play when the menu opens
        Open-Sound: arrow-hit
        #The pitch of the sound it will play
        #Set to 1 if you don't know what it does
        #Or you don't want pitch
        Open-Sound-Pitch: 1
        #The amount of rows in the menu
        Rows: 1
        #The command to be performed to open the inventory(not neccasary)
        Command: 'openinv'
        Items:
            #This can be any name
            Example-item:
                #The slot it will be set into
                Slot: 0
                #The display name of the item
                Name: '&6Test'
                #The material of the item,
                #Put a material e.g. stone,
                #Then ':', and then type a number for the amount,
                #And then another ':', after that the data value.
                Material: stone:1:0
                #The commands it will run when right-clicked
                #Start with:
                #'console: ' to let the command be performed by console;
                #'server: ' to send the player to the specified server;
                #'broadcast: ' to broadcast a message to the server;
                #'message: ' to send the player a message;
                Commands:
                - 'say hi'
                #The price to use the item
                #This isn't neccasary
                Price: 100
                #When the player doesn't have enough money,
                #Send this message to him/her
                Price-Message: '&cYou do not have enough money!'
                #The amount of frames
                #of the item
                Frames: 3
                #The delay between frames
                Frame-Delay: 20
                #The item lores
                #All lores support unlimited rows
                Lore:
                    #The first lore it will play
                    1:
                    - 'test'
                    - 'test2'
                    - 'test3'
                    #The second lore it will play
                    2:
                    - 'test2'
                    - 'test3'
                    - 'test'
                    3:
                    #Etc.
                    - 'test3'
                    - 'test'
                    - 'test2'
            Another-item:
                Slot: 1
                #Set this to true to change displayname on each frame
                Change-Name: true
                #This is how the names should look when Change-Name is true
                Name:
                  1: '&1Test'
                  2: '&2Test'
                  3: '&3Test'
                  4: '&4Test'
                #If you want to change material every frame, set this to true,
                #If u don't want it, u can remove the line or set to false
                Change-Material: true
                #If u have Change-Material: true
                #This is what the material setup will have to look like
                Material:
                    1: wool:1:11
                    2: wool:2:11
                    3: wool:3:11
                    4: wool:4:11
                Commands:
                - 'say hi'
                Permission: 'animatedmenu.item.test'
                Permission-Message: '&4You do not have permission for that!'
                Frames: 4
                Frame-Delay: 5
                #Request/Optional: PlayerPoints plugin integration
                Points: 50
                #Optional: If the player doesn't have enough points, send this to him/her
                Points-Message: '&cYou do not have enough points!'
                Lore:
                    1:
                    - 'test'
                    2:
                    - 'estt'
                    3:
                    - 'stte'
                    4:
                    - 'ttes'
    Second-Inventory:
        Menu-Name: '&6Hello there&4!'
        Menu-Opener: cobblestone
        Open-Sound: note-pling
        Open-Sound-Pitch: 1
        Rows: 3
        Items:
            Example-item:
                Slot: 23
                Name: '&4Hello'
                Material: redstone-block:1:0
                Commands:
                - 'say hi'
                Frames: 3
                Frame-Delay: 20
                Lore:
                    1:
                    - 'Hello'
                    - 'Chello'
                    - 'Word'
                    2:
                    - 'Chello'
                    - 'Word'
                    - 'Hello'
                    3:
                    - 'Word'
                    - 'Hello'
                    - 'Chello'
                #Optional: add enchantments to the item
                Enchantments:
                - 'Durability:1'
            Cookies:
              Slot: 5
              Name: '&4Give yourself cookies!'
              Material: cookie:1:0
              Frames: 1
              Frame-Delay: 20
              Lore:
                1:
                - '&aPrice: &6$300'
              Price: 300
              #If a player has this permission, he/she will bypass money/points/permission
              Bypass-Permission: animatedmenu.freecookies
              Commands:
              - 'console: give %p cookie 64'
            Useful-UnlockableItem:
              Slot: 7
              Change-Name: true
              Frames: 2
              Frame-Delay: 20
              Name:
                1: '&6Buy me please'
                2: '&aBuy me please'
              Lore:
                1:
                - '&aIm only $10!'
                2:
                - '&bIm only $10!'
              Material: potato-item:1:0
              Frames: 1
              Price: 10
              Bypass-Permission: animatedmenu.unlockableitem
              #If a player buys this item either with money or playerpoints, perform these commands
              Buy-Commands:
              #Add the bypass permission so when they click the item again they don't have to pay :D
              #This is a permissionsex command, if you have a different permissions plugin
              #Just change it to the right command for that plugin
              - 'console: pex user %p add animatedmenu.unlockableitem'
              - 'message: &aYou bought a random item!'
              #Perform these commands when the player right clicks the item
              Right-Click-Commands:
              - 'message: &6You right clicked!'
              #Perform these commands when the player left clicks the item
              Left-Click-Commands:
              - 'message: &6You left clicked!'
              Commands:
              - 'console: give %p potato 10'
-------------------------------------------------------------------------------------------