McMines icon

McMines 1.3.3

Fully Configurable | Mine Hologram | Custom Placeholders | Developer API

McMines is a highly customizable complex prison mine generator plugin. It contains amazing and high-tech features such as Timed Resets, Percent Resets, Holograms, and more. Without a big clunky confusing GUI, this plugin gets straight to the point. With one of the most customizable configurations on the market, this plugin will be truly unique for your server. The possibilities are endless.
With a highly active plugin author, whether its new features, bug fixes, or something else, the plugin will be staying active! McMines is one of the strongest prison mine generator plugins currently on the market!
Features

  • Highly Customizable Configuration File
  • Reset Prisons Based on Mine Percent Left
  • Reset Prisons Based on Timer
  • Multiple Easy-to-Use Mine Holograms
  • Add Blocks to Mine with Decimal Precision
  • Custom Placeholders, Including Progress Bar
  • Edit Mines via Commands
  • Edit Mines via Files
  • Many Permissions
  • Many Commands
  • Teleport Player on Reset
  • Notify Player on Reset (with Radius)
  • Developer API
  • Support for HolographicDisplays
  • Highly Active Author

Dependencies

DecentHolograms (Optional)
PlaceholderAPI (Optional)
[World Guard & World Edit] (Optional)

Commands & Permissions

  • /mine - mcmine.command.mine.*
  • /mine create [name] - mcmine.command.mine.create
  • /mine delete [name] - mcmine.command.mine.delete
  • /mine add [name] [material] [chance] - mcmine.command.mine.add
  • /mine remove [name] [material] - mcmine.command.mine.remove
  • /mine rename [old name] [new name] - mcmine.command.mine.rename
  • /mine reset [name] - mcmine.command.mine.reset
  • /mine option [name] [option] [value] - mcmine.command.mine.option
  • /mine warp [name] - mcmine.command.warp.MINENAME
  • /mine reload - mcmine.command.mine.reload
  • /mine version - mcmine.command.mine.version
  • /mine info [name] - mcmine.command.mine.info
  • /mine hologram [name] [hologram] [command] [value] - mcmine.command.mine.hologram
  • mcmine.interact.MINENAME
  config.yml

 

Developer API

  First Steps


McMines throws a few custom events,

  • MineBlockBreakEvent - Thrown when a block inside a mine has been broken
  • MineResetEvent - Thrown when a mine has been reset
  • MineCreateEvent - Thrown when a mine has been created
  World Guard Setup

Figure 1 - Container of Mine

68747470733a2f2f692e696d6775722e636f6d2f4d6233436e70642e6a706567.jpg

Once your region is selected, you will want to define it as such, /region define [mine_name]_exterior (e.g. "A_exterior") This creates a region around our mine that is protected from players being able to break your mine & mine container. Next, select the interior of the container, where the blocks would go, using the same wand. Once your region is selected, you will want to define it as such, /region define [min ename] (e.g. "A") This creates a region in our mind, that we can allow players to interact with. To allow players to break blocks inside our mine, we first need to add the correct flag using /region flag [mine name] block-break allow. This flag allows the player to be able to break blocks in our mine. Finally, give the player the required permission to interact with the mine mcmine.interact.[mine name] (e.g. "mcmine.interact.A"). You now have your basic mine setup!

 

  First Steps

 

  Adding Blocks

 

  Editing Mine's Options

Figure 2 - Tab Completer

68747470733a2f2f692e696d6775722e636f6d2f6737484d31624d2e706e67.png

If we wanted the mine to reset when 75% of the mine has been mined, when can enable this option by using the command /mine option [mine name] Reset-When-%-Empty 75, or, if you only want a timed reset, you can just disable this feature by doing the command /mine option [mine name] Reset-When-%-Empty 0.
Each mine also supports "children" or "submines". To attach a child mine to your mine, you will need to execute the command /mine option [mine name] child [child mine name]. This will then set that mine as a child. A child mine simply resets when the parent mine resets.

  Adding Holograms

Hologram Placeholders

This is a little bit of a tricky area, so try to stay with me. For each hologram, you can add as my placeholders as you want. Unlike other placeholders, each hologram placeholder is unique and has its mine name attached to it.
Here are the list of placeholders
General

  • {mine_name} - Mine's name

Specific

Replace MINENAME with the name of your mine (case-sensitive) You can also use {mine_name} as a nested placeholder (e.g. "%mcmines_block_count_{mine_name}%")

  • %mcmines_block_count_MINENAME% - Total blocks, when full, in mine
  • %mcmines_holo_name_MINENAME% - Name of mine
  • %mcmines_last_reset_MINENAME% - The date of the mines last reset
  • %mcmines_mine_percent_empty_MINENAME% - The percent of the mine that has been mined
  • %mcmines_next_reset_date_MINENAME% - The date of the next reset
  • %mcmines_next_reset_time_MINENAME% - The next reset date broken down into its components (x Weeks x Days x Hours x Minutes x Seconds)
  • %mcmines_blocks_mined_MINENAME% - The amount of blocks that have been mined
  • %mcmines_blocks_left_MINENAME% - The amount of blocks that have yet to be mined
  • %mcmines_progress_bar_MINENAME% - A progress bar made up of 25 points, each representing ~ 4%

Figure 3 - Progress Bar

68747470733a2f2f692e696d6775722e636f6d2f504762327a4e462e706e67.png

For support, please use only resource discussion

Terms of Service
By using this plugin, you agree to the following terms, which may be updated by the author at any time.

  • All payments are final and non-refundable.
  • Redistribution or resale of this plugin is prohibited.
  • You are not permitted to modify, decompile, or extract any part of the plugin's source code.
  • Support is provided exclusively to legitimate customers. We cannot offer support for plugins obtained through unauthorized or illegal means.