Why Am I Getting An Internal Server Error. Crates Reloaded.

Discussion in 'Spigot Plugin Help' started by Blaze101xx, Jun 23, 2015.

  1. Here is my Crates file, ever since I added Key 3 I am getting this internal server error when I try to use crates reloaded commands.

    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: true
    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)'
    donator:
    type: MYSTERYCRATE
    buy:
    enabled: false
    cost: 0
    message:
    onOpen: ''
    broadcast: '%prefix%%player% has opened an donator crate and recieved...'
    item:
    item: DIAMOND_BLOCK
    name: 'Donator Crate'
    lore:
    - '%white%An crate given only to the finest players.'
    effect:
    onOpenFirework: true
    reward:
    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!)'
    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: 'Common Key'
    lore:
    - 'Go to the nearest key chest to open it and recieve an reward!'
    effect:
    onOpenFirework: true
    reward:
    minimumRewards: 1
    maximumRewards: 4
    rewards:
    - 'item:(apple 4),chance:(20),item:(bread 4)'
    - 'item:(bread 4),chance:(20),item:(pork 4)'
    - 'item:(372 4),chance:(20),item:(373 4)'
    - 'item:(364 4),chance:(20),item:(351:7 4)'
    - 'item:(368 16),chance:(5),item:(49 64)'
    - 'item:(17 64),chance:(10)item:(45 64)'
    - 'item:(46 8),chance:(5)item:(322:1 1)'
    key2:
    type: KEYCRATE
    buy:
    enabled: false
    cost: 0
    message:
    onOpen: ''
    broadcast: '%prefix%%player% has opened an key crate and recieved...'
    key:
    item: 'tripwire_hook'
    name: 'Rare Key'
    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:Rare_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:Rare_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:Rare_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:Rare_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!)'
    Key 3:
    type: KEYCRATE
    buy:
    enabled: false
    cost: 0
    message:
    onOpen: 'You have opened a Common Crate.'
    broadcast: ''
    key:
    item: 'tripwire_hook'
    name: 'Vote Key'
    lore:
    - 'Go to the nearest key chest to open it and recieve an reward!'
    effect:
    onOpenFirework: true
    reward:
    minimumRewards: 1
    maximumRewards: 4
    rewards:
    - 'item:(17 64),chance:(10)item:(45 64)'
    - 'item:(46 8),chance:(5)item:(322:1 1)'
    - 'item:(43:4 16),chance:(10)item:(49 16)'
    - 'item:(41 1),chance:(5)item:(173 1)'
    - 'item:(406 64),chance:(20)item:(338 64)'
    - 'item:(84 1),chance:(5)item:(2257 1)'
    - 'item:(337 64),chance:(20)item:(81 64)'
    - 'item:(264 1),chance:(25)item:(388 1)'
     
  2. Fist use pastebin.com and can you paste the server error your getting.
     
  3. lol, do you not revise your post(s) after posting?