
JetsPrisonMines | 1.8 - 1.16 3.8.4
A 1.8 - 1.16 Prison Mines plugin, TONS of features!

JetsPrisonMines is a way to manage Mines through simple-to-use GUI's ingame.
Spigot Versions 1.8 - 1.16 (As well as Paper/Taco Spigot) supported.
JetsPrisonMines is written to be efficient, simple but feature rich - and with an active developer, you can expect more features to be added often

Come and join our official Discord Server!

- GUI Based
- Timed / Percentage Resets
- Gradual / Instant reset types (Configurable & Efficient!) - As well as configure reset direction (I.E Reset blocks from Top-To-Bottom, or Bottom-To-Top) and the amount of blocks to paste per tick
- Player Effects (20 + Different Effects!)
- Mine Effects - SPAWN Fireworks when the mine resets - more to come soon!
- Statistic Holograms
- Schematics
- Hide the surface of the mine, by selecting a block to reset the mine surface with
- Configure reset percentages per block
- Messages
- Very Customisable
- Disable block placing within mines
- Support for TokenEnchant
- Support for 1.8 - 1.16
- PrisonMines (By Twyzl) and MineResetLite/MineResetLitePlus (By Boomclaw/vk2gpz) and Mines (By PCPSells) Conversion
- PlaceholderAPI support - integrate mine stats into any plugin that supports PlaceholderAPI!
- TokenEnchant support
- AutoSell support
- AsylumBombs support

Images

[dropdown=GOODIES]
Mine List:

Mine Panel:

Blocks:

Effects given to users in the mine:

+ A bunch more inventories to configure various aspects of a mine
Holograms:

> Can configure text on the holograms as well as other display other variables such as blocks left in the mine, percentages mined / left, etc.
> You can also use standard holographic displays, and mine placeholders
[/dropdown]
[dropdown=Video]
Video courtesy of @DiamondRushXD - Old plugin version
[/dropdown]

The majority of configuration is done through ingame GUI's, rather than commands.
Admin Permissions:
- /PrisonMines createmine - Creates a mine with the defined name - jetsprisonmines.admin.createmine
- /PrisonMines list - lists all the current mines that are active - jetsprisonmines.admin.list
- /PrisonMines panel - Opens the mine panel for a particular mine - jetsprisonmines.admin.panel
- /PrisonMines deletemine - Deletes the specified mine - jetsprisonmines.admin.delete
- /PrisonMines wand - Gives you the Mine Selection Tool - jetsprisonmines.admin.wand
- /PrisonMines convert - Converts another mines plugin into this- jetsprisonmines.admin.convert
- /PrisonMines resize - resizes the mines region to the current selection this- jetsprisonmines.admin.createmine
- /PrisonMines reset - resets a mines block area- jetsprisonmines.reset and either jetsprisonmines.reset. OR jetsprisonmines.admin.reset to be able to reset all mines
- /PrisonMines resetdir - sets the reset direction of a mine - jetsprisonmines.admin.resetdir
- /PrisonMines settp - sets the teleport location of the mine - Jetsprisonmines.admin.createmine
- /PrisonMines srp - Sets the percentage reset of a mine - jetsprisonmines.admin.createmine
- /PrisonMines str - Sets the timed reset of a mine - jetsprisonmines.admin.createmine
- /PrisonMines resettype - Sets the reset type for that particular mine, or all mines - jetsprisonmines.admin.resettype
- /PrisonMines debug - Debugs a mine with useful information - jetsprisonmines.admin.debug
- /PrisonMines setblocksinmine - Sets all blocks in a mine temporarily to a certain material - jetsprisonmines.admin.setblocks
- /PrisonMines addblock - jetsprisonmines.admin.setblocks
- /PrisonMines rename - jetsprisonmines.admin.rename
jetsprisonmines.admin.blockbreak - Ability to place blocks in mines

Pretty simple, just drop the plugin in the /plugins folder

>> TRANSFERRING FROM OTHER MINE PLUGINS <<
Currently only conversions from Twyzl's PrisonMines and Boomclaw's/vk2gpz MineresetLite/plus is supported/ It will only convert the mine regions, spawn location, and blocks in the mine - This can be temperamental and some mines may need to be done manually.
To do a conversion
- Delete the old PrisonMines/MineResetLite plugin
- Put in my plugin and start the server up
- Type /prisonmines convert
- Restart server
- done!
Placeholders using PlaceholderAPI
[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]/papi ecloud download jetsprisonmines[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]/papi reload[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif][/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]to list placeholders[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]/papi ecloud placeholders jetsprisonmines[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]

Files are quite small, as per mine configuration is done through GUI's

[dropdown=config.yml]
[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#############################################[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# #[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# PrisonMines #[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# Created by Jet315 #[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# #[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#############################################[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif][/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#The prefix that is shown before the plugin[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]plugins_prefix: "&ePrison&bMines &7» "[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif][/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif][/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# -- Plugin Settings --[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif][/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#The check delay, in seconds, of how often Mines are checked & holograms & signs are updated[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#Changing this to a larger number will increase performance however may degrade user experience[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]check_delay: 1[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif][/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#Whether users can place blocks in the mines or not[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]place_blocks_in_mines: false[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#Whether when a mine resets, only missing blocks should be reset? This can massively help with performance![/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]only_replace_missing_blocks: true[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#Very important setting from a lag perspective. This option will determind how many blocks can be pasted per tick (The more blocks, the faster the mine will reset but the laggier it will be)[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]amount_of_blocks_to_paste_per_tick: 100[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]
[/dropdown]
[dropdown=messages.yml]
#[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# -- Mine Reset Messages --[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# CAN BE DISABLED, PER MINE, WITHIN THE IN-GAME GUI IF NEEDED[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# Placeholders:[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# %MINE% - Returns the name of the mine[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# %TIME% - Returns the time until the mine resets[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]reset:[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif] timed:[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif] times: "10,5,3,2,1" #The times (in seconds) you wish the messages below to show. If you are using gradual reset, only numbers up to 10 is supported[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif] singular: "&a%MINE% &7Will be resetting in &b%TIME% second."[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif] plural: "&a%MINE% &7Will be resetting in &b%TIME% seconds."[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif] reset: "&a%MINE% &7is now resetting! You have been teleported to &a%MINE% Spawn&7!."[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif] gradual:[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif] player_in_mine: "&a%MINE% &7is currently resetting! Please wait!" #Called if a user runs into the mine while its resetting[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# -- Hologram messages --[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# %STAT% for the corresponding statistic as a percentage[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# %STATUNFORMATTED% to get the raw statistic (I.E the exact amount of blocks left)[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# %MINE% for the mine[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]hologram:[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif] timer_holo: "&7-- &aMine &b%MINE% &awill reset in &b%STAT% &7--"[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif] blocks_left_holo: "&7-- &aTheir are &b%STAT%% &ablocks left in mine &b%MINE% &7--"[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif] blocks_mined_holo: "&7-- &b%STATUNFORMATTED% &ablocks have been mined &7--"[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif][/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]# -- Other stuff --[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]#[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]no_permission: "&cYou do not have permission for this command"
#Called if the user tries placing a block in the mine (and they can't)
place_block_in_mine: "&cHey! You can't place blocks in the mine here!"
[/dropdown]

Events will be added soon, but a few methods exist that you may use:
https://pastebin.com/CtCw2pUe
How to use?
[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]//I would suggest saving this to a field variable, so you don't have to keep keep calling the Bukkit API[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]((JetsPrisonMines) Bukkit.getPluginManager().getPlugin("JetsPrisonMines")).getAPI();[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif][/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]
Also two events:
[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]MinePostResetEvent - Called when after a mine is reset[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]OpenMineInventoryEvent - Called when a player opens a mine inventory[/font][/size][/color]
[color=#2c2c2c][size=2][font="droid sans", Arial, sans-serif]

Any problems, questions or suggestions send me a PM here, on Spigot - I'm pretty active


By buying this plugin you agree to the following terms:
- You will not chargeback - If you have a legit issue that I cannot fix then I’ll happily refund you
- I cannot guarantee support indefinitely.
- You may not redistribute or resell this plugin
- I may refuse to give you support with or without any specific reason
- If you have an issue with this plugin, please contact me before leaving a 1 or low star rating
- I can update this terms of use at any time, without notification