CustomCrates Help.

Status
This thread has been locked.

Lofi

inactive for a while.
Supreme
Feedback score
30
Posts
625
Reactions
122
Resources
0
Hey guys,

So I was working with the plugin CustomCrates and I don't see an error in the config or anything but when I go click on the crate it either doesn't give me the reward or just completely doesn't open the crate. I am using a crate GUI however, I don't think this has anything to do with it.

Here is the config:

Code:
Crate-GUI:
  name: '&7Select a key.'
  size: 27
  crates:
    Vote:
      name: '&6? &eVote Keys'
      lore:
      - ''
      - '&f? &dAmount &7» &dx%amount% &fKeys'
      - '&f? &dRight-Click &fto see Items'
      - ''
      slot: 11
      material: DIAMOND
    Supreme:
      name: '&6? &cSupreme Keys&r'
      lore:
      - ''
      - '&f? &dAmount &7» &dx%amount% &fKeys'
      - '&f? &dRight-Click &fto see Items'
      - ''
      slot: 13
      material: GHAST_TEAR
    Insane:
      name: '&6? &aInsane Keys&r'
      lore:
      - ''
      - '&f? &dAmount &7» &dx%amount% &fKeys'
      - '&f? &dRight-Click &fto see Items'
      - ''
      slot: 15
      material: SLIME_BALL
Crates:
  Vote:
    ParticleEffect:
      enabled: true
      onlywhenopening: false
      particle: MOBSPELL
    Key:
      material: DIAMOND
      name: '&8&l(&aDefault Crate Key&8&l)'
      enchanted: false
      lore:
      - '&7&oThis is a %Crate% Crate key'
    Sound:
      movingSound: WOOD_CLICK
      prizesound: BAT_TAKEOFF
      closeInventorySound: CHEST_CLOSE
    LeftClickInv:
      enabled: true
      enablechancelore: true
      lore:
      - ''
      name: '&7Viewing items for &7&nVote&7.'
    OpenInv:
      name: '&7Spinning...'
    PrizeItem:
      material: BEACON
      name: '&dPrice'
      enchanted: false
    PreCommands:
    - msg:%prefix%&fYou are now spinning a &d&n%crate%&r &fcrate.
    BlockType: NOTEBLOCK
    Items:
      '1':
        enchanted: false
        material: 322
        name: '&55x Golden Apples'
        chance: 10
        amount: 1
        commands:
        - give %player% 322 5
      '2':
        enchanted: false
        material: DIAMOND_BLOCK
        name: '&d5x Diamond Blocks'
        chance: 10
        amount: 1
        commands:
        - give %player% DIAMONDBLOCK 5
      '3':
        enchanted: false
        material: TNT
        name: '&516x TNT'
        chance: 10
        amount: 1
        commands:
        - give %player% TNT 16
      '4':
        enchanted: false
        material: BEACON
        name: '&dBeacon'
        chance: 10
        amount: 1
        commands:
        - give %player% beacon 1
      '5':
        enchanted: false
        material: PAPER
        name: '&5$2,500'
        chance: 10
        amount: 1
        commands:
        - eco give %player% 2500
      '6':
        enchanted: false
        material: PAPER
        name: '&d$5,000'
        chance: 10
        amount: 1
        commands:
        - eco give %pvlayer% 5000
      '7':
        enchanted: false
        material: PAPER
        name: '&5$10,000'
        chance: 10
        amount: 1
        commands:
        - eco give %player% 10000
      '8':
        enchanted: false
        material: MONSTER_SPAWNER
        name: '&dChicken Spawner'
        chance: 3
        amount: 1
        commands:
        - ss give %player% Chicken 1
      '9':
        enchanted: false
        material: COAL
        name: '&5Coal Kit'
        chance: 5
        amount: 1
        commands:
        - kit coal %player%
  Supreme:
    ParticleEffect:
      enabled: true
      onlywhenopening: false
      particle: SPELL
    Key:
      material: GHAST_TEAR
      name: '&8&l(&aDefault Crate Key&8&l)'
      enchanted: false
      lore:
      - '&7&oThis is a %Crate% Crate key'
    Sound:
      movingSound: WOOD_CLICK
      prizesound: BAT_TAKEOFF
      closeInventorySound: CHEST_CLOSE
    LeftClickInv:
      enabled: true
      enablechancelore: true
      lore:
      - '&8&m-------------------------'
      - '&fPurchase crate keys &d@YourStoreURL'
      name: '&7Viewing items for &7&nUnique&7.'
    OpenInv:
      name: '&7Spinning...'
    PrizeItem:
      material: BEACON
      name: '&e&l(&7Prize&e&l)'
      enchanted: false
    PreCommands:
    - msg:%prefix%&7You are now spinning a &e&n%crate%&r &7crate.
    BlockType: CHEST
    Items:
      '1':
        enchanted: false
        material: MOB_SPAWNER
        name: '&eBlaze &7Spawner'
        chance: 35
        amount: 1
        commands:
        - ss give %player% BLAZE 1
  Insane:
    ParticleEffect:
      enabled: true
      onlywhenopening: false
      particle: SPELL
    Key:
      material: SLIME_BALL
      name: '&8&l(&aDefault Crate Key&8&l)'
      enchanted: false
      lore:
      - '&7&oThis is a %Crate% Crate key'
    Sound:
      movingSound: WOOD_CLICK
      prizesound: BAT_TAKEOFF
      closeInventorySound: CHEST_CLOSE
    LeftClickInv:
      enabled: true
      enablechancelore: true
      lore:
      - '&8&m-------------------------'
      - '&fPurchase crate keys &d@YourStoreURL'
      name: '&7Viewing items for &7&nSupreme&7.'
    OpenInv:
      name: '&7Spinning...'
    PrizeItem:
      material: BEACON
      name: '&e&l(&7Prize&e&l)'
      enchanted: false
    PreCommands:
    - msg:%prefix%&7You are now spinning a &e&n%crate%&r &7crate.
    BlockType: CHEST
    Items:
      '1':
        enchanted: false
        material: MOB_SPAWNER
        name: '&ex8 Creeper &7Spawner'
        chance: 3
        amount: 1
        commands:
        - ss give %player% CREEPER 8
        - bc &a%player% &7has won something good from a crate!
        - bc &7Winnings &8» &7"&3x8 Creeper Spawners&7"

Thanks for helping if you can.

- Rooftop
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Grace.

Supreme
Feedback score
19
Posts
796
Reactions
367
Resources
4
Well - I noticed this
"
'6':
enchanted: false
material: PAPER
name: '&d$5,000'
chance: 10
amount: 1
commands:
- eco give %pvlayer% 5000
"
so the variable for player isn't right, but from my experience from CustomCrates that should just make that reward not work, I'll keep working. Mind doing /custom crates reload, or the reload command, then putting console right after you run that in a paste bin?
 

Lofi

inactive for a while.
Supreme
Feedback score
30
Posts
625
Reactions
122
Resources
0
Tried it, Still doesn't work Grace.[DOUBLEPOST=1518583925][/DOUBLEPOST]And btw there wasn't anything after the command.[DOUBLEPOST=1518584570][/DOUBLEPOST]Right, Grace. Had a little look and removed MONSTER_SPAWNER and it worked fine. How weird....
 
Last edited:

Grace.

Supreme
Feedback score
19
Posts
796
Reactions
367
Resources
4
Tried it, Still doesn't work Grace.[DOUBLEPOST=1518583925][/DOUBLEPOST]And btw there wasn't anything after the command.[DOUBLEPOST=1518584570][/DOUBLEPOST]Right, Grace. Had a little look and removed MONSTER_SPAWNER and it worked fine. How weird....
try putting MOB_SPAWNER
 

Lofi

inactive for a while.
Supreme
Feedback score
30
Posts
625
Reactions
122
Resources
0
I didn't just put the ID (52) and it worked fine. Thanks!
 
Status
This thread has been locked.
Top