Keycrate error! #16


  • Defect
  • Replied
Open
Assigned to imwillxz
  • _ForgeUser16683305 created this issue Jan 28, 2015

    What steps will reproduce the problem?
    1. I had downloaded this plugin for about a week and I've had an error with the keycrate type.
    2. I configure it to what I wanted but it seems not to work.
    3. The mysterycrate is working just fine though so I don't understand why keycrates wouldn't
    What is the expected output? What do you see instead?

    *** Also I am running this on a modded server (Pixelmon)

    CONFIG:

    food:
        type: SUPPLYCRATE
        buy:
            enabled: false
            cost: 0
        message:
            onOpen: '%prefix%You have opened an food crate!'
            broadcast: ''
        item:
            name: 'Food Chest'
            lore:
                - '%white%Mmmm, something smells good.'
        effect: #Developental Effects v0.1 If any bugs occur, disable this.
            onOpenFirework: false
        reward:
            minimumRewards: 2
            maximumRewards: 8
            rewards:
                - 'item:(apple 4),chance:(25),item:(bread 4)'
                - 'item:(bread 4),chance:(25),item:(pork 4)'
                - 'item:(372 4),chance:(25),item:(373 4)'
                - 'item:(364 4),chance:(25),item:(351:7 4)'
    ShinyStarterGift:
        type: MYSTERYCRATE
        buy:
            enabled: false
            cost: 0
        message:
            onOpen: '%aqua%You have obtained a new shiny starter pokemon!'
            broadcast: ''
        item:
            item: 322
            name: '%gold%%bold%MYSTERY_SHINY_STARTER_GIFT'
            lore:
                - '%gray%(Right-Click)Open for a random shiny pokemon!'
        effect:
            onOpenFirework: true
        reward:
            rewards:
                - 'cmd:(/pokegive %player% Bulbasaur lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Squirtle lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Charmander lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Chikorita lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Totodile lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Cyndaquil lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Treecko lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Mudkip lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Torchic lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Turtwig lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Piplup lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Chimchar lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Snivy lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Oshawott lvl1 s),chance:(1)'
                - 'cmd:(/pokegive %player% Tepig lvl1 s),chance:(1)'
    menu1:
        type: MENUCRATE
        buy:
            enabled: false
            cost: 0
        message:
            onOpen: '%prefix%You have opened an menu crate!'
            broadcast: ''
        item:
            item: bread
            name: 'Menu Crate #01'
            lore:
                - '[Common]'
        key:
            enabled: false
        reward:
            minimumRewards: 5
            maximumRewards: 10
            rewards:
                - 'item:(apple 4),chance:(25),item:(bread 4)'
                - 'item:(bread 4),chance:(25),item:(pork 4)'
                - 'item:(372 4),chance:(25),item:(373 4)'
                - 'item:(364 4),chance:(25),item:(351:7 4)'
    menu2:
        type: MENUCRATE
        buy:
            enabled: false
            cost: 0
        message:
            onOpen: ''
            broadcast: '%prefix%%player% has opened an menu crate!'
        item:
            item: diamond
            name: 'Menu Crate #02'
            lore:
                - '[Rare]'
        key:
            enabled: false
        reward:
            minimumRewards: 1
            maximumRewards: 2
            rewards:
                - 'cmd:(/give %player% diamond_sword 1 name:Donator_Sword 16:5 17:5 18:5 19:2 20:2 21:3),chance:(1),broadcast:(%prefix%Donator Sword!)'
                - 'cmd:(/give %player% diamond_sword 1 16:5 20:2),chance:(1.5),broadcast:(%prefix%Diamond Sword!)'
                - 'cmd:(/give %player% diamond_sword 1 17:3 21:2),chance:(2),broadcast:(%prefix%Diamond Sword!)'
                - 'cmd:(/give %player% diamond_sword 1 20:2 19:2),chance:(2),broadcast:(%prefix%Diamond Sword!)'
                - 'cmd:(/give %player% diamond_pickaxe 1 name:Donator_Pick 32:5 33:1 34:3 35:3),chance:(1),broadcast:(%prefix%Donator Pick!)'
                - 'cmd:(/give %player% diamond_pickaxe 1 32:3 35:1),chance:(2),broadcast:(%prefix%Diamond Pick!)'
                - 'cmd:(/give %player% diamond_pickaxe 1 32:1 35:1),chance:(2),broadcast:(%prefix%Diamond Pick!)'
                - 'cmd:(/give %player% diamond_axe 1 name:Donator_Axe 32:5 33:1 34:3 35:3),chance:(1),broadcast:(%prefix%Donator Axe!)'
                - 'cmd:(/give %player% diamond_axe 1 32:3 35:1),chance:(2),broadcast:(%prefix%Diamond Axe!)'
                - 'cmd:(/give %player% diamond_axe 1 32:1 35:1),chance:(2),broadcast:(%prefix%Diamond Axe!)'
                - 'cmd:(/give %player% 277 1 name:Donator_Shovel 32:5 33:1 34:3 35:3),chance:(1),broadcast:(%prefix%Donator Shovel!)'
                - 'cmd:(/give %player% 277 1 32:3 35:1),chance:(2),broadcast:(%prefix%Diamond Shovel!)'
                - 'cmd:(/give %player% 277 1 32:1 35:1),chance:(2),broadcast:(%prefix%Diamond Shovel!)'

    key1:
        type: KEYCRATE
        buy:
            enabled: false
            cost: 0
        message:
            onOpen: 'You have opened an key chest!'
            broadcast: ''
        key:
            item: 'tripwire_hook'
            name: '%dark_aqua%Common Key'
            lore:
                - 'Right click on the Common Crate with this key to open it!'
        effect:
            onOpenFirework: true
        reward:
            minimumRewards: 1
            maximumRewards: 5
            rewards:
                - 'item:(10111 1 name:&4Poke&fHammer Efficiency:5 Unbreaking:3),chance:(1)'
                - 'item:(DiamondPickaxe 1 name:&4Poke&fPickaxe Efficiency:5 Unbreaking:3 Fortune:3),chance:(1)'
                - 'item:(DiamondAxe 1 name:&4Poke&fAxe Efficiency:5 Unbreaking:3),chance:(1)'
                - 'item:(DiamondSpade 1 name:&4Poke&fShovel Efficiency:5 Unbreaking:3),chance:(1)'

    key2:
        type: KEYCRATE
        buy:
            enabled: false
            cost: 0
        message:
            onOpen: ''
            broadcast: '%prefix%%player% has opened an key crate and recieved...'
        key:
            item: 'diamond'
            name: 'Key #02'
            lore:
                - 'Go to the nearest key chest to open it and recieve an reward!'
        effect:
            onOpenFirework: true
        reward:
            minimumRewards: 1
            maximumRewards: 1
            rewards:
                - 'cmd:(/give %player% diamond_sword 1 name:Donator_Sword 16:5 17:5 18:5 19:2 20:2 21:3),chance:(1),broadcast:(%prefix%Donator Sword!)'
                - 'cmd:(/give %player% diamond_sword 1 16:5 20:2),chance:(1.5),broadcast:(%prefix%Diamond Sword!)'
                - 'cmd:(/give %player% diamond_sword 1 17:3 21:2),chance:(2),broadcast:(%prefix%Diamond Sword!)'
                - 'cmd:(/give %player% diamond_sword 1 20:2 19:2),chance:(2),broadcast:(%prefix%Diamond Sword!)'
                - 'cmd:(/give %player% diamond_pickaxe 1 name:Donator_Pick 32:5 33:1 34:3 35:3),chance:(1),broadcast:(%prefix%Donator Pick!)'
                - 'cmd:(/give %player% diamond_pickaxe 1 32:3 35:1),chance:(2),broadcast:(%prefix%Diamond Pick!)'
                - 'cmd:(/give %player% diamond_pickaxe 1 32:1 35:1),chance:(2),broadcast:(%prefix%Diamond Pick!)'
                - 'cmd:(/give %player% diamond_axe 1 name:Donator_Axe 32:5 33:1 34:3 35:3),chance:(1),broadcast:(%prefix%Donator Axe!)'
                - 'cmd:(/give %player% diamond_axe 1 32:3 35:1),chance:(2),broadcast:(%prefix%Diamond Axe!)'
                - 'cmd:(/give %player% diamond_axe 1 32:1 35:1),chance:(2),broadcast:(%prefix%Diamond Axe!)'
                - 'cmd:(/give %player% 277 1 name:Donator_Shovel 32:5 33:1 34:3 35:3),chance:(1),broadcast:(%prefix%Donator Shovel!)'
                - 'cmd:(/give %player% 277 1 32:3 35:1),chance:(2),broadcast:(%prefix%Diamond Shovel!)'
                - 'cmd:(/give %player% 277 1 32:1 35:1),chance:(2),broadcast:(%prefix%Diamond Shovel!)'

  • _ForgeUser16683305 added the tags New Defect Jan 28, 2015
  • _ForgeUser16683305 added an attachment Error.PNG Jan 28, 2015

    Error.PNG

  • imwillxz removed a tag New Jan 29, 2015
  • imwillxz added a tag Waiting Jan 29, 2015
  • imwillxz posted a comment Jan 29, 2015

    Which KeyCrate are you using in order to vary it down.

  • imwillxz removed a tag Waiting Jan 29, 2015
  • imwillxz added a tag Replied Jan 29, 2015
  • _ForgeUser16683305 posted a comment Feb 2, 2015

    Key1 Thanks for looking this over.

  • imwillxz posted a comment Feb 3, 2015

    - 'item:(10111 1 name:&4Poke&fHammer Efficiency:5 Unbreaking:3),chance:(1)' - 'item:(DiamondPickaxe 1 name:&4Poke&fPickaxe Efficiency:5 Unbreaking:3 Fortune:3),chance:(1)' - 'item:(DiamondAxe 1 name:&4Poke&fAxe Efficiency:5 Unbreaking:3),chance:(1)' - 'item:(DiamondSpade 1 name:&4Poke&fShovel Efficiency:5 Unbreaking:3),chance:(1)'

    These item values are all incorrect. Please look over the item-ids in the link below and replace "10111","DiamondPickaxe, ect, ect to the correct values.

    http://minecraft-ids.grahamedgecombe.com/

    An easier way is to use a command.


    Edited Feb 3, 2015
  • _ForgeUser16683305 posted a comment Feb 5, 2015

    Thank you so much! :)


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