BetterMining - [Autosmelt - double drop & more! (Skript)] 0.1

Double-drop, Autosmelt, 'MineTorch' and more! [Skript]

  1. iversen
    Contributors:
    math045b
    BetterMining logo bigger.png
    BetterMining

    BetterMining is a Skript that adds servral new features to mining - good as donator features. Any feature is highly configurable with permissions and the option to disable any feature.

    List of features:
    • Double-drop
    • Autosmelt
    • MineTorch (toggle)
    • Auto-pickup (toggle)
    Features described briefly below.

    Sub-features:
    • Sound on any named feature (sound list below)
    • Enable/Disable option for every feature

    Upcomming features:
    • MineCrate
    Spawning a MineCrate with an x precent chance when player fx. mines a stone. Rewards/chest items will be configurable.
    • Any precent chance (permission)
    I am currently stuggling with adding any precent for Double-drop and autosmelt. Meaning you could give the permission: autosmelt.32precent, and it would be 32 precent of getting an autosmelt.
    • suggestions are very welcome


    Info.png
    Requirements:
    There are two requirements:
    1. Skript - http://dev.bukkit.org/bukkit-plugins/skript/
    2. SkQuery - http://dev.bukkit.org/bukkit-plugins/skquery/
    These two plugins are needed and not 'optional'

    Pictures / gif's (script in action):
    Image with 50% autosmelt, 50% doubledrop
    [​IMG]

    MineTorch:
    [​IMG]

    Install:

    1. Download the script (BetterMining.sk)
    2. If you do not have 'Skript' and 'SkQuery', install those.
    3. When Skript is installed correctly; place the 'BetterMining.sk' in the 'Skript -> scripts' folder
    4. Works

    Double-drop:

    This feature is given by permissions - if a player has the permission: doubledrop.10precent, the player will have a 10 precent chance of getting double-drop on any ore.
    There are 11 permissions/chances for this;
    doubledrop.5precent
    doubledrop.10precent
    doubledrop.20precent
    doubledrop.30precent
    doubledrop.40precent
    doubledrop.50precent

    To 100.

    Autosmelt:
    Same goes for Autosmelt as double-drop.
    If player has the permission autosmelt.10precent, the player will have a 10 precent chance of a autosmelt of any ore.
    autosmelt.5precent
    autosmelt.10precent
    autosmelt.20precent
    autosmelt.30precent
    autosmelt.40precent
    autosmelt.50precent

    To 100.

    MineTorch:
    This is a toggle-able feature, (doing /mt).
    If player has a torch, and right-clicks on a below-ground block (configurable) with any pickaxe the torch will automaticly be placed.
    To toggle MineTorch the player would need the permission minetorch.toggle.

    config.png
    As this is a script for the plugin Skript, there are no real configuration-file, I have made it a part of the script itself.
    This will mean, that each time you download a new update, you config would 'reset' - unless you copy the settings, which I would recommend.

    The config:

    Sound list:
    This is a complete list of all supported sound, inside the config/script I have provoided - what I think is - the most used and useable sounds.
    Source: http://www.skunity.com/types#Sound
    SkUnity

    Options are explained in the config with 'comments' ( # )

    Commands.png

    There currently are two commands;
    • /bm - /bettermining
    • /mt - /minetorch
    The /bm command just displays the version and authors (math045b and I)

    permissions.png
    Minetorch:
    minetorch.toggle

    Double-drop:

    doubledrop.5precent
    doubledrop.10precent
    doubledrop.20precent
    doubledrop.30precent
    doubledrop.40precent
    doubledrop.40precent
    doubledrop.50precent
    doubledrop.60precent
    doubledrop.70precent
    doubledrop.80precent
    doubledrop.90precent
    doubledrop.100precent

    Autosmelt:
    autosmelt.5precent
    autosmelt.10precent
    autosmelt.20precent
    autosmelt.30precent
    autosmelt.40precent
    autosmelt.40precent
    autosmelt.50precent
    autosmelt.60precent
    autosmelt.70precent
    autosmelt.80precent
    autosmelt.90precent
    autosmelt.100precent

    Permission for the command "/bm" (/bettermining)
    bettermining.command

    Warning to 'ops'
    Op's will have every permission here, which will result in 100% autosmelt, 100% doubledrop. I recommend giving the negative permission (fx. for PermissionsEx)
    -autosmelt.100precent and so on.


    And that should be it... :)

    Please message me with any problems at all

Recent Reviews

  1. Kopsukka
    Kopsukka
    4/5,
    Version: 0.1
    Looking pretty good! Will use this for my server, thanks!
    1. iversen
      Author's Response
      Thanks! Glad you can use it ^_^
  2. i_am_legend89
    i_am_legend89
    4/5,
    Version: 0.1
    I haven't added it yet but it looks like some time has been put into this with the perms and all that hope to try it
    1. iversen
      Author's Response
      Thanks :)