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

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

⬇ Download on Spigot
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:
Features described briefly below.

Sub-features:

Upcomming features:
Spawning a MineCrate with an x precent chance when player fx. mines a stone. Rewards/chest items will be configurable.
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.


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):
Spoiler
Image with 50% autosmelt, 50% doubledrop
[​IMG]

MineTorch:
[​IMG]

Instsall:

  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:
Spoiler
# Configuration file for 'BetterMining'
# For more info, visit the plugin page:
# Made by iversen & MATH045B

#Start of config:
options:
version: 0.1

# Mining-Torch blocks
# Blocks where torches can be placed
blocks: stone, dirt, gravel, cobblestone, obsidian or any ore

# Right format: 'blocks: block, block or block'

# Messages
prefix: &8[&aBM&8]
No_Permission_Message: &cNope, you can't do that.
Autosmelt_Message: &b&oAutosmelt!
Doubledrop_Message: &b&oDouble-drop!
DoubleDrop_and_Autosmelt_Message: &b&lLucky Double-Smelt!
# MineTorch toggle messages
Toggle_on_message: &8&l**&a&oMineTorch toggled on&8&l**
Toggle_off_message: &8&l**&a&oMineTorch toggled off&8&l**

# MineCrate rewards
# "command" is optional
#Reward one
1_enabled: true
1_chance: 100%
1_items: 16 tnt, 64 dirt and 2 diamonds
1_command: none

#Reward two
2_enabled: true
2_chance: 50%
2_items: 16 tnt, 64 dirt and 2 diamonds
2_command: none

#Reward three
3_enabled: true
3_chance: 50%
3_items: 16 tnt, 64 dirt and 2 diamonds
3_command: none

# Required Y-level for any of the actions to be active (smaller/lower than given level)
Y_level: 40

# Enable or disable features: (True or false)
MineTorch: true
Autosmelt: true
Doubledrop: true
Click to expand...

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.
Spoiler
Soon
Click to expand...
Source: http://www.skunity.com/types#Sound
SkUnity

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

Commands.png

There currently are two commands;
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
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

BetterMining - [Autosmelt - double drop & more! (Skript)] is a free Minecraft Java mod. Downloaded 2,093 times (via Spigot). Download it and open it directly in the game.

Explore more