MiningCrates [Spigot 1.8] 1.2.1

Give your players a reward when they mine ores or break any block you want.

  1. IhToN
    Contributors:
    Gaelitoelquesito
    --------------------------------------------------------------
    Not tested with Spigot 1.8.3
    Compiled with Java7 and latest Spigot1.8
    --------------------------------------------------------------
    Test it on mc.minetsii.es
    --------------------------------------------------------------

    With MiningCrates you have the possibility to give your players a reward when they mine ores (or break any block you want).
    The reward MUST BE a command, if you want to give advanced rewards you should use an extra plugin like CommAndAlias.

    You can specify the breakable ores using Item-Material (at the moment it can be using ItemID and this list)

    When a player receive a crate he will be the only one not to open it but to see it, other players won't see anything. Also the Crate will disappear after a ceretain amount of time, you can change it in the config file.

    Crates have to be like name#probability#isConsole#command#effect, %p% will be the playerName of the one who open the chest, normally the owner.


    Current Effects:
    • explode
    • up
    • teleport
    Example:
    • miscPack#75#true#eco give %p% 500#explode


    Permissions:

    • groupProbability = "miningcrates.group.GroupName" - Let the player get crates at the specified probability
    • crateDestroy = "MiningCrates.destroy" - Let the player destroy any crate.

    Code (Text):
    # #############################################
    #  #             - Mining Crates -             #
    # # > gaelitoelquesito & IhToN                #
    # # Permission for groups:                    #
    # # > miningcrates.group.GroupName            #
    # #############################################

    groupPercent:
    - default:5.0
    - vip:15
    chests:
    - 100jeros#50#true#eco give %p% 100
    - 500jeros#25#true#eco give %p% 500
    - 1000jeros#10#true#eco give %p% 1000
    blocksAffected:
    - STONE:0.1
    - IRON_ORE:0.5
    - DIAMOND_ORE:1.0
    - COAL_ORE:0.2
    - REDSTONE_ORE:0.5
    - LAPIS_ORE:0.8
    - EMERALD_ORE:0.8
    Seconds_for_chest_despawn: 100

    To-Do:

    • Any suggestion is welcome :p