Solved CratesPlus-NOT WORKING

Discussion in 'Plugin Help/Development/Requests' started by TigerNeptune, Mar 20, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    TigerNeptune

    CratesPlus Version- 4.0.0
    Info: Before i change the color of a crate everything works fine once i do so when i issue the command /crate nothing happens just nothing.
    What Console spits out:
    [20:14:45] [Server thread/ERROR]: Error occurred while enabling CratesPlus v4.0.0 (Is it up to date?)
    java.lang.IllegalArgumentException: No enum constant org.bukkit.ChatColor.PURPLE
    at java.lang.Enum.valueOf(Unknown Source) ~[?:1.7.0_80]
    at org.bukkit.ChatColor.valueOf(ChatColor.java:1) ~[craftbukkit-1.8.8-R0.1.jar:git-Bukkit-e1ebe52]
    at plus.crates.Crate.(Crate.java:37) ~[?:?]
    at plus.crates.Handlers.ConfigHandler.(ConfigHandler.java:24) ~[?:?]
    at plus.crates.CratesPlus.onEnable(CratesPlus.java:91) ~[?:?]
    Plugins List:
    CratesPlus, GroupManager, NoCheatPlus, WorldEdit,JoinMessage,NoSwear,MassiveCore,Buycraft,CClearChat,Vault,MultiVerse-Core,WorldGuard,TabList,AutoBroadcaster,CustomEnchantments,AntiKillAura,ClearLag,AntiAdvertiser,PlayerVaults,Votifier,NameTagEdit,AutoSaveWorld,Holographic Displays,mcMMo,Essentials,ServerShop-GUI,SimpleRename,EssentialsSpawn,EssentialsChat,EssentialsKitManager,Factions,FactionsPerms,Silkspawners,CombatLog,FBasics,FactionChat
    Config:
    # [][][][][][][][][][][][][][][][][][][][][]
    # CratesPlus V4.0.0 Config
    # [][][][][][][][][][][][][][][][][][][][][]
    # ------------------------------------------
    # There are many placeholders that can now be used withing the config file for commands and messages, place holders are as followed:
    # - %name% - Replaces with the players name, Example: "Notch".
    # - %displayname% - Replaces with the players display name, Example: "[Owner] Notch".
    # - %uuid% - Replaces with the players UUID.
    # - %crate% - The crate types name.
    # - %prize% - The name of the item won.
    # ------------------------------------------
    # Don't change the config version!

    Config Version: 5
    Update Checks: true
    Update Branch: spigot
    Metrics: true
    Use GUI: true
    GUI Time: 10
    Cooldown: 5
    Crate Protection: true
    Disable Key Dropping: false
    Hologram Text:
    - '%crate%'
    - Right-Click to Open!
    - Left-Click to Preview!
    Messages:
    Prefix: '&7[&bCratesPlus&7]'
    Command No Permission: '&cYou do not have the correct permission to run this command'
    Crate Open Without Key: '&cYou must be holding a %crate% &ckey to open this crate'
    Key Given: '&aYou have been given a %crate% &acrate key'
    Broadcast: '&d%displayname% &dopened a %crate% &dcrate'
    Cant Place: '&cYou can not place crate keys'
    Cant Drop: '&cYou can not drop crate keys'
    Crates:
    Vote:
    Winnings:
    '1':
    Type: ITEM
    Item Type: IRON_SWORD
    Item Data: 0
    Percentage: 0
    Name: '&6&lExample Sword'
    Amount: 1
    Key:
    Item: TRIPWIRE_HOOK
    Name: '%type% Crate Key'
    Enchanted: true
    Knockback: 0.0
    Broadcast: false
    Firework: false
    Preview: true
    Block: CHEST
    Color: GREEN
    Common:
    Winnings:
    '1':
    Type: ITEM
    Item Type: IRON_SWORD
    Item Data: 0
    Percentage: 0
    Name: '&6&lExample Sword'
    Amount: 1
    Key:
    Item: TRIPWIRE_HOOK
    Name: '%type% Crate Key'
    Enchanted: true
    Knockback: 0.0
    Broadcast: false
    Firework: false
    Preview: true
    Block: CHEST
    Color: PURPLE
    Uncommon:
    Winnings:
    '1':
    Type: ITEM
    Item Type: IRON_SWORD
    Item Data: 0
    Percentage: 0
    Name: '&6&lExample Sword'
    Amount: 1
    Key:
    Item: TRIPWIRE_HOOK
    Name: '%type% Crate Key'
    Enchanted: true
    Knockback: 0.0
    Broadcast: false
    Firework: false
    Preview: true
    Block: CHEST
    Color: BLUE
    Rare:
    Winnings:
    '1':
    Type: ITEM
    Item Type: IRON_SWORD
    Item Data: 0
    Percentage: 0
    Name: '&6&lExample Sword'
    Amount: 1
    Key:
    Item: TRIPWIRE_HOOK
    Name: '%type% Crate Key'
    Enchanted: true
    Knockback: 0.0
    Broadcast: false
    Firework: false
    Preview: true
    Block: CHEST
    Color: GOLD
    Ultra:
    Winnings:
    '1':
    Type: ITEM
    Item Type: IRON_SWORD
    Item Data: 0
    Percentage: 0
    Name: '&6&lExample Sword'
    Amount: 1
    Key:
    Item: TRIPWIRE_HOOK
    Name: '%type% Crate Key'
    Enchanted: true
    Knockback: 0.0
    Broadcast: false
    Firework: false
    Preview: true
    Block: CHEST
    Color: YELLOW
    Legend:
    Winnings:
    '1':
    Type: ITEM
    Item Type: IRON_SWORD
    Item Data: 0
    Percentage: 0
    Name: '&6&lExample Sword'
    Amount: 1
    Key:
    Item: TRIPWIRE_HOOK
    Name: '%type% Crate Key'
    Enchanted: true
    Knockback: 0.0
    Broadcast: false
    Firework: false
    Preview: true
    Block: CHEST
    Color: AQUA
    Ancient:
    Winnings:
    '1':
    Type: ITEM
    Item Type: IRON_SWORD
    Item Data: 0
    Percentage: 0
    Name: '&6&lExample Sword'
    Amount: 1
    Key:
    Item: TRIPWIRE_HOOK
    Name: '%type% Crate Key'
    Enchanted: true
    Knockback: 0.0
    Broadcast: false
    Firework: false
    Preview: true
    Block: CHEST
    Color: RED
    Rank:
    Winnings:
    '1':
    Type: ITEM
    Item Type: IRON_SWORD
    Item Data: 0
    Percentage: 0
    Name: '&6&lExample Sword'
    Amount: 1
    Key:
    Item: TRIPWIRE_HOOK
    Name: '%type% Crate Key'
    Enchanted: true
    Knockback: 0.0
    Broadcast: false
    Firework: false
    Preview: true
    Block: CHEST
    Color: DARK_RED
     
  2. Offline

    MisterErwin

    @TigerNeptune
    There is your answer :)

    Use LIGHT_PURPLE or DARK_PURPLE instead ;)
     
    ThePerfectoPiggy likes this.
Thread Status:
Not open for further replies.

Share This Page