
⚡ VirtualMines ⚡ 1.9
Mining has never been so easy!

VirtualMines allows you to create complete mines in a single block!


Take advantage of custom contents to provide your players a better experience!


Never run out of blocks or content to mine!


Compatible with all digging speeds and other pickaxe features!


Plugin Features:
- Create custom mines
- Edit the mine composition
- Add as many content/blocks you need
- Edit the amount of blocks to generate
- Establish a rebuild price
- Allow certain enchantments in the blocks/content you create
- Determine the tools to use on each block
- Set the block/content chance rate for generation
- Drop random ranges of experience on each block
Custom GUI
- Customize the GUI of each mine through a simple config
- Change the sizes of the inventories
- Establish the amount of buttons and items in the inventory
Custom contents
- Use custom contents such as:
- BLOCK (The most basic type of content)
- TNT (Explodes and interacts with the blocks around it in a specified radius)
- EXECUTABLE (Once clicked it executes the instructions and commands you have decided in config)
Pickaxe features support
- Support for enchantments such as Efficiency and Fortune
- Support for pickaxe digging speeds
Holograms Support
- Use externals and free plugins to support fancy holograms
- Show a hologram above the block to display some stats
- Have a count of how many blocks you have mined and how many of them are left
Compatibility
- Vault
- ProtocolLib
- HolographicDisplays
Coming soon..
- Mobs and loots
Commands
/virtualmines give <player> <type> - Gives a specified type of mine to a player
/virtualmines list - Shows the list of available mines
/virtualmines reload - Reloads the plugin configuration
Permissions
virtualmines.admin - Gives you access to all the admin commands
Example Mines:
example.yml
# ============[VirtualMines]============= #
generation:
# The amount of content that is going to be displayed
amount: 50
# Do not forget to include the REBUILD_BUTTON in the inventory pattern
rebuild-price: 1000
content:
# You can add and remove all the content you need
block-1:
type: "BLOCK"
item:
material: "STONE"
drop: "COBBLESTONE"
percentage: 25
experience: "0"
allow-fortune: false
allow-haste: true
allow-mining-fatigue: true
allowed-tools:
- "PICKAXES"
block-2:
type: "BLOCK"
item:
material: "GOLD_ORE"
drop: "RAW_GOLD"
percentage: 5
experience: "0"
allow-fortune: true
allow-haste: true
allow-mining-fatigue: true
allowed-tools:
- "NETHERITE_PICKAXE"
- "DIAMOND_PICKAXE"
- "IRON_PICKAXE"
block-3:
type: "BLOCK"
item:
material: "DIAMOND_ORE"
drop: "DIAMOND"
percentage: 3
experience: "3-7"
allow-fortune: true
allow-haste: true
allow-mining-fatigue: true
allowed-tools:
- "NETHERITE_PICKAXE"
- "DIAMOND_PICKAXE"
- "IRON_PICKAXE"
block-4:
type: "BLOCK"
item:
material: "IRON_ORE"
drop: "RAW_IRON"
percentage: 15
experience: "0"
allow-fortune: true
allow-haste: true
allow-mining-fatigue: true
allowed-tools:
- "NETHERITE_PICKAXE"
- "DIAMOND_PICKAXE"
- "IRON_PICKAXE"
block-5:
type: "BLOCK"
item:
material: "MOSSY_COBBLESTONE"
drop: "MOSSY_COBBLESTONE"
percentage: 25
experience: "0"
allow-fortune: false
allow-haste: true
allow-mining-fatigue: true
allowed-tools:
- "NETHERITE_PICKAXE"
- "DIAMOND_PICKAXE"
- "STONE_PICKAXE"
- "IRON_PICKAXE"
block-6:
type: "BLOCK"
item:
material: "COBBLESTONE"
drop: "COBBLESTONE"
percentage: 25
experience: "0"
allow-fortune: false
allow-haste: true
allow-mining-fatigue: true
allowed-tools:
- "PICKAXES"
tnt-1:
type: "TNT"
item:
material: "TNT"
drop: "GUNPOWDER"
percentage: 3
experience: "10-20"
# The radius must be an odd number
radius: 3
allowed-tools:
- "PICKAXES"
- "SWORDS"
- "SHOVELS"
- "AXES"
- "HOES"
executable-1:
type: "EXECUTABLE"
execute:
- "EXECUTE_COMMAND: eco give %player% 10000"
- "MESSAGE: &aYou have received &f10000&6$&a!"
- "PLAY_SOUND: ENTITY_PLAYER_LEVELUP 100 1"
item:
material: "CHEST"
name: "&e&lClaim a prize!"
lore:
- "&7Click here to claim your prize"
drop: ""
percentage: 1
experience: "0"
allowed-tools:
- "HAND"
- "PICKAXES"
- "SWORDS"
- "SHOVELS"
- "AXES"
- "HOES"
inventory:
name: "&c&lVirtual Mine I"
gui:
# All the items that not appear in the pattern will be ignored
pattern:
- 'A O O O O O O O A'
- 'A O O O O O O O A'
- 'A O O O O O O O A'
- 'A O O O O O O O A'
- 'A O O O O O O O A'
- 'A A A A R A A A A'
# This item will be showed up if a button couldn't be loaded correctly
default-item: "A"
items:
O:
type: "MINE_CONTENT"
R:
type: "REBUILD_BUTTON"
A:
type: "GRAY_STAINED_GLASS_PANE"
name: " "
lore:
- ""
hologram:
# This functionality requires at least Holographic Displays
enable: true
title:
- "&a&lVirtual Mine I"
- "&7Blocks:"
- "&f%content-left%&8/&f%total-content%"
item:
material: PLAYER_HEAD
# Valid when the material is a skull
head: "454d9c488c3fbde5454e38619f9cc5b5ba8c6c0186f8aa1da60900fcbc3ea6"
name: "&2&lVirtual Mine I"
lore:
- "&7Place this mine on the floor!"
example2.yml
# ============[VirtualMines]============= #
generation:
# The amount of content that is going to be displayed
amount: 500
# Do not forget to include the REBUILD_BUTTON in the inventory pattern
rebuild-price: 1000
content:
# You can add and remove all the blocks you need
block-1:
type: "BLOCK"
item:
material: "OBSIDIAN"
drop: "OBSIDIAN"
percentage: 20
experience: '0'
allow-fortune: false
allow-haste: true
allow-mining-fatigue: true
allowed-tools:
- "PICKAXES"
block-2:
type: "BLOCK"
item:
material: "COBBLESTONE"
drop: "COBBLESTONE"
percentage: 50
experience: '0'
allow-fortune: false
allow-haste: true
allow-mining-fatigue: true
allowed-tools:
- "PICKAXES"
block-3:
type: "BLOCK"
item:
material: "STONE"
drop: "STONE"
percentage: 50
experience: '0'
allow-fortune: false
allow-haste: true
allow-mining-fatigue: true
allowed-tools:
- "PICKAXES"
block-4:
type: "BLOCK"
item:
material: "DIORITE"
drop: "DIORITE"
percentage: 50
experience: '0'
allow-fortune: false
allow-haste: true
allow-mining-fatigue: true
allowed-tools:
- "PICKAXES"
block-5:
type: "BLOCK"
item:
material: "ANDESITE"
drop: "ANDESITE"
percentage: 50
experience: '0'
allow-fortune: false
allow-haste: true
allow-mining-fatigue: true
allowed-tools:
- "PICKAXES"
tnt-1:
type: "TNT"
item:
material: "TNT"
drop: "GUNPOWDER"
percentage: 1
experience: 10-20
# The radius must be an odd number
radius: 1
allowed-tools:
- "PICKAXES"
- "SWORDS"
- "SHOVELS"
- "AXES"
- "HOES"
- "HAND"
inventory:
name: '&c&lVirtual Mine II'
gui:
# All the items that not appear in the pattern will be ignored
pattern:
- 'A O O O O O O O A'
- 'A O O O O O O O A'
- 'A O O O O O O O A'
- 'A O O O O O O O A'
- 'A O O O O O O O A'
- 'A A A A R A A A A'
# This item will be showed up if a button couldn't be loaded correctly
default-item: 'A'
items:
O:
type: "MINE_CONTENT"
R:
type: "REBUILD_BUTTON"
A:
type: "BLACK_STAINED_GLASS_PANE"
name: ' '
lore:
- ''
hologram:
# This functionality requires at least Holographic Displays
enable: true
title:
- '&c&lVirtual Mine II'
- '&7Blocks:'
- '&f%content-left%&8/&f%total-content%'
item:
material: "PLAYER_HEAD"
# Valid when the material is a skull
head: '7840b87d52271d2a755dedc82877e0ed3df67dcc42ea479ec146176b02779a5'
name: '&c&lVirtual Mine II'
lore:
- '&7Place this mine on the floor!'

If you find any bug you can also send me a private message via spigot or contact me on my personal discord: DeadSilenceIV#5307
Terms of service:
You can not impersonate the author.
You can not distribute the code.
You may ask me for support.
No refunds.
Please don't post bad reviews if you haven't asked me for support!