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.
@SkyPrison
i also get the same problem. after the time goes over when its supposed to restart, it goes into an infinite loop.
there is the exeption i get
[SEVERE] Exception in thread "pool-1-thread-1377" 2012-12-27 08:38:36 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin PrisonSuite v1.1 generated an exception while executing task 33 at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(Unknown Source) at java.util.ArrayList$Itr.next(Unknown Source) at org.bukkit.craftbukkit.v1_4_6.CraftWorld.getPlayers(CraftWorld.java:619) at com.wolvencraft.prison.mines.mine.Mine.removePlayers(Mine.java:289) at com.wolvencraft.prison.mines.mine.Mine.reset(Mine.java:271) at com.wolvencraft.prison.mines.cmd.ResetCommand.run(ResetCommand.java:68) at com.wolvencraft.prison.mines.CommandHandler.run(CommandHandler.java:75) at com.wolvencraft.prison.mines.CommandHandler.run(CommandHandler.java:80) at com.wolvencraft.prison.mines.triggers.TimeTrigger.run(TimeTrigger.java:64) at com.wolvencraft.prison.PrisonSuite$1.run(PrisonSuite.java:103) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftTask.run(CraftTask.java:53) at org.bukkit.craftbukkit.v1_4_6.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
i am using 1.4.6 versions
is it possible to keep data from your old plugin minereset?
@bitWolfy
The perm nodes will not work for me, could your please make a way for simple users to easily set up perms?
@Asip
1.4.6 version is out. I have uploaded the fixed versions of corresponding plugins more then two days ago, but they were approved just now.
[ PrisonSuite 1.1 | PrisonMine 1.1 ]
Is a 1.4.6 version coming out soon?
@n13ksas
+1, have the same problem.
@n13ksas
What exactly do you mean about adding "every single permission"?
You did not give your users permission to break and place blocks in the mines. They are as follows:
You can also give users permissions for individual mines as follows:
hey guys , i installed this plugin created a mine added every permission for default user disabled black list and stuff and when i try to break i get error [prison mine] you are not allowed to break <block> in this area! any idea how to fix it ?
@bitWolfy
Come on guys, don't complain about errors then not even post them here, I posted my error and Wolfy fixed it ASAP. Give him/her a break, he/she has a life too you know.
@ThePapanoob
PrisonCells and PrisonGuard are not ready for a public release yet.
@SkyPrison
Okay, go then. Try MineResetLite, people say that it is pretty good if you do not need that many features and customizations. Oh, and not posting any errors so that I can fix them is such a great idea on your part. I am being sarcastic, of course. Not to mention the fact that you probably downloaded the version for CraftBukkit 1.4.5_R1.0, which does not work with the current beta build of CB, despite that file having a gigantic warning against that.
If you are still willing to try out PrisonMine, the versions on Bukkit Dev available through these links are working for me:
[ PrisonSuite 1.1 | PrisonMine 1.1 ]
Not my fault that the bukkit dev administration is taking ages to approve working versions of plugins.
Tried debugging several times, kept getting errors, When it worked it sometimes looped into resetting every time.
I am in search of another plugin now
Hey Buddy, are the versions of PrisonCells & PrisonGuards on github working? have no time & pc to compile them right now ;)
@bitWolfy
Got java 7 installed, finally, took me about an hour but I did :P
@bitWolfy
I will attempt to update anyways, because other plugins may use 7 and 6 is conisdered insecure since it is no longer updated.
@Dhs92
Pssst. Read comment number 30 again. I have re-compiled both projects to work with java 6, and I will be using that version from now on. No need for you to update Java or any of that silliness.
[ PrisonSuite 1.1 | PrisonMine 1.1 ]
@bitWolfy
I would update my java, but it's a huge pain on Linux
@Dhs92
No problem. My mistake.
[ PrisonSuite 1.1 | PrisonMine 1.1 ]
Both files are awaiting approval, but you should be able to download them.
@bitWolfy
THanks man!
@Dhs92
Oups. It seems like I accidentally Java, all of it. I compiled the project with Java 7, while your server is running Java 6.
Will fix.
@bitWolfy
I found an error, here it is... 10:53:35 [SEVERE] Could not load 'plugins/PrisonSuite.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/wolvencraft/prison/PrisonSuite : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:154) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_4_5.CraftServer.loadPlugins(CraftServer.java:227) at org.bukkit.craftbukkit.v1_4_5.CraftServer.<init>(CraftServer.java:205) at net.minecraft.server.v1_4_5.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:52) at net.minecraft.server.v1_4_5.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.v1_4_5.DedicatedServer.init(DedicatedServer.java:111) at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:398) at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856) Caused by: java.lang.UnsupportedClassVersionError: com/wolvencraft/prison/PrisonSuite : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:143) ... 9 more 10:53:35 [SEVERE] Could not load 'plugins/PrisonMine.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: PrisonSuite at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:195) at org.bukkit.craftbukkit.v1_4_5.CraftServer.loadPlugins(CraftServer.java:227) at org.bukkit.craftbukkit.v1_4_5.CraftServer.<init>(CraftServer.java:205) at net.minecraft.server.v1_4_5.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:52) at net.minecraft.server.v1_4_5.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.v1_4_5.DedicatedServer.init(DedicatedServer.java:111) at net.minecraft.server.v1_4_5.MinecraftServer.run(MinecraftServer.java:398) at net.minecraft.server.v1_4_5.ThreadServerApplication.run(SourceFile:856) I have also found this will work in windows, go figure, could you add Linux support please? I really need this plugin so my server stop bugging me about a non existant MineReset 3.0. Update: When I use /mine or any of the prison commands it either returns nothing, or an internal server errror :L