PrisonMine
Prison Mine 1.3
Tired of a tedious and complicated process of creating refillable mines on your prison server? Tired of different plugins not working together? Tired of people going straight for the diamonds, the location of which they remember? I have good news for you.
With PrisonMine, all you need to do is set up an area, set up the block ratios using an easy-to-remember command, and now you can set it to a randomized pattern using one command, any time you want, anywhere you want. Reset the mine manually through a command, let the timer decide when the reset should occur, or make the mine reset itself once it is mined out to a certain extent! Or let your players reset the mine by clicking a button, for a price that you set.
PrisonMine + Tutorials + Commands + Permissions + Configuration + Source + Issues + Development Builds Optional Dependencies: + Vault + WorldEdit | PrisonSuite 1.3 PrisonMine 1.3 |
Features
The plugin is packed the features; all of them are listed on the Commands page, but here's a quick glimpse:
- Select a region with ease, either with built-in commands or with a World Edit wand
- Add a custom block ratio - all materials supported
- Reset the mine with one command or with a click on a sign!
- Multiple generators – control the way your mine is to be reset
- Set up an automatic reset timer for each of the mines
- Link mines together and make them share the same timer
- Teleport players out of the mine before it resets
- Permissions support
- Per-mine permissions!
- Customizable messages to be broadcasted to players
- Plugin update notifications
Tutorials
The most up-to-date tutorial was made by Koz4christ
Tutorial in Portuguese by AbsintoJ.
Outdated tutorial: Plugin Showcase: Mine Reset by MarchOfTheForsaken
Disclaimers
Statistical Data Collection
This plugin utilizes Plugin Metrics, a tool used to collect anonymous data that will help me in the development of the plugin. Only basic information about the server is collected, no personal data is compromised. The full description of Plugin Metrics can be found on Bukkit Dev forums.
Development Builds
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
@Koz4christ
probably wont be 1.2 more like 2.0 because of the amount of changes
@bitWolfy
Awesome, thanks! Looking forward to 1.2!
@bobthenobster
Yes, just set one mine to be the Parent as bitWolfy outlined. This will then have all the mines reset at the same time. I would suggest editing your english.yml file to reflect this. By default it has the mine name in the reset
hey bit you wanted me to find out some bugs well i found one add me on skype: Speedrookie il show you!
@PaPa_SMuRF2468
What exactly do you not get? Unless you want to go really fancy, all you have to do is put this on the first line of the sign:
On three other lines, you can put whatever you want, including the variables that will update dynamically. Don't forget to right-click the sign after you created it in order to have the plugin know that you are done editing.
If you want the mine to be reset via button, here is what the first line of the sign should be:
After that, pressing the button immediately under that sign will cause the mine to reset (as long as you have the permissions, and the cooldown is not in effect).
If you want to have players pay for the reset, you'll need to install Vault. After that, you can use the following syntax for the first line of the sign:
This setup will subtract $50 from the player's balance.
You can use the two pictures at the tutorial for reference.
@PaPa_SMuRF2468
Unfortunately, the warning seems to have a bug that no one noticed. The fix will go to PrisonMine 1.2, which will be released as soon as the testing is complete.
@bitWolfy
and also, Even me being an op I still don't see the Warnings that I put
@bitWolfy
I looked over the Tutorial and I still can't get the sign too work. Say The mine is named Test. How would the sign go?
@Speedrookie
If you are feeling courageous, pick up development builds from the download site. The latest builds seem to have the reset problem fixed, but no guarantees.
@bobthenobster
This is a very common request, and the answer is "yes, kinda". You can link two mines together via the following commands:
These commands will cause the mine called "child" to reset when the mine called "parent" resets, it will not send any notifications of its own either.
@PaPa_SMuRF2468
There is a tutorial on the wiki: link. Feel free to ask any questions if it is not clear enough.
How Do You make a sign with the time until the mine resets?
Thanks a lot Koz4christ completely missed that :), btw is it possible to get all your mines to reset at one time? And have a warning such as "All Mines Resetting in 1 min"?
In fact i would love to help!
@Koz4christ
Are you talking about the /mine time command? It is still there, in a way. If you give a player the prison.mine.info.time permission, he'll only see the time remaining until the reset if he types /mine info <mine id>. Only players with the prison.mine.info.* permission see the entire info screen.
I can separate it into an individual command, if you think that it is necessary.
@bobthenobster https://github.com/bitWolfy/PrisonMine/wiki/Commands You need to do these steps after you've created the mine.
1.) /mine trigger time toggle (turns on the timer) 2.) /mine trigger time <time>
You'll prolly also want to setup the warning
1.) /mine warning toggle (Toggles the reset warnings on and off) 2.) /mine warning add <time> (Adds a time to display the reset warning at)
I don't suppose we could request a way to check the time remaining on a mine cause I really liked that feature of Mine Reset.
@bobthenobster
Was something not clear in the tutorial?
/mine timer is not a command, it is displayed due to an error, as it says on the page where you downloaded the plugin. /mine warning does not set the mine reset time at all. The command you are looking for is /mine trigger, as it says in the tutorial, on the commands page, and in the in-game help docs.
Hey, just downloaded this on my server cant get the mines to auto reset cant do /mine timer and /mine warning does not set the mine reset time.
Thanks Bobby,
@Speedrookie
Would you like to lend a helping hand? Here is the development build of PrisonMine: link. It has a critical bug that causes a random mine to reset indefinitely after a random period of time. The bug only appears on certain days of the week, on certain machines, and only if the gods of our realm specifically decide to ruin your day.
Me and Ramo909 have been on it for the past four days, as you can see by the commits. Would you like to help us out and find the source of this problem?
Not trying to be disrespectful but does it really take 4 days to report and FIX bugs?
@lyrow
It is a mistake in the help docs, It's supposed to say /mine warning
Why i can't use /mine timer ? The plugin say: Invalid Command! '-'