Spigot SimpleCrates | Easy to Configure | Spigot 1.8-1.12 v2.7

A very easy to use crate key plugin!

  1. What is the chance? Is it <number>/100 or 1/<number>?
     
  2. Can we please have the right click on the chest with out the key also Open chanceGUI

    I also think the GUI should be enabled of first run TBH was kinda confused and the config entry really was kind of unclear.

    I assumed the player message for the reward would be sent BEFORE the commands to give out the reward I was wrong this is Kinda Silly and makes the player message kind of useless.

    Some placeholders Like %RewardName% %chance% and %newline% for the Lore sections and command sections would be useful.
     
    #144 RustyDagger, Jun 29, 2015
    Last edited: Jun 30, 2015
  3. @VenomEater552
    How do we do data vaules for the GUI Display Item? And also How do we do Multi Line Lore on Both the display Item and Key.
    Really those entries in the config should be a List rather than a single entry.
     
  4. its simple but its good work! ;)
     
  5. When i try to give a key to a player, it does not work, no errors on console
    Just this: [Server thread/INFO] : SrPeter issued server command: /crates give SrPeter Crate 1
     
  6. When you do /pl is SimpleCrates in red?
     
  7. Nope, its green. "Crates" is green
     
  8. Oh! I'm having the same problem as you. You can only have crate names in lowercase letters I think.

    Note to @VenomEater552 here, this is probably because you use so much String.ValueOf(); and Boolean#booleanValue(); methods when they aren't needed. If you want help cleaning up your code, while at the same time improving performance by probably a lot, PM me, I can help you if you want.
     
  9. I created a crate called "crate" and i still cant give a key:/
     
  10. I'll be going through all your suggestions and working on fixing a bunch of bugs. If any of you have console logs of errors, please PM them to me.
    @MrPesee
    @MrEminent42
    @cloakfox
    @zDrakon
     
    • Informative Informative x 1
  11. Alrighty. Just update it and I will test asap =) though I have changed my stuff to work with the current working stages XD. I changed my decimal chances and data value objects.
     
  12. Not sure if this is the correct place to post this, but I am having trouble configuring multiple crates. The first crate (example) works fine, but any other crates I try to add do not work. When I type '/crates give Tuggers03 Test 1', nothing happens.

    Here is my config file:
    example:
    key:
    name: '&a&lExample Key Name'
    lore: '&b&lExample Key Lore'
    broadcast:
    server: '&6%player% has opened an &8Example &6crate!'
    player: '&aThank you for opening an &8Example &6crate!'
    reward:
    sample:
    command:
    command1: give %player% diamond 1
    command2: broadcast %player% has won 1 diamond!
    chance: 50
    display: Win 1 diamond!
    guiitem: 264
    guiName: '&6Pears'
    example:
    command:
    command1: eco give %player% 1000
    command2: broadcast %player% has won $1000
    chance: 50
    display: Win 1000 dollars!
    guiitem: 388
    guiName: '&aguiName'
    chanceGUI: true

    VotingTest:
    key:
    name: '&a&lTest'
    lore: '&b&lTest'
    broadcast:
    server: '&6%player% has opened an &8Example &6crate!'
    player: '&aThank you for opening an &8Example &6crate!'
    reward:
    sample:
    command:
    command1: give %player% stone 1
    command2: broadcast %player% has won 1 ball point pen!
    chance: 50
    display: Win 9001 diamonds!
    guiitem: 264
    guiName: '&6Pears'
    example:
    command:
    command1: eco give %player% 1000
    command2: broadcast %player% has won $1000
    chance: 50
    display: Win 9001 dollars!
    guiitem: 388
    guiName: '&aguiName'
    chanceGUI: true

    If anyone could help me I would be most grateful. :)
     
    #156 Tuggers03, Jul 12, 2015
    Last edited: Jul 12, 2015
  13. Hello, at first look this is an awesome plugin. My server is having trouble loading up the config file though. I tried reloading 3 times and it didnt load.
     
  14. Config please? Or it doesn't appear?
     
  15. Could anyone help me?
    The donate crate in this config file doesn't work, Here is the file:
    Thanks In Advance!
     

    Attached Files:

    #159 Bran_Rocks, Jul 20, 2015
    Last edited: Jul 20, 2015
  16. Don't Put A Blank Line between the different crates