PrisonMain
PrisonMain
Description
PrisonMain is the an awesome plugin for prison servers, it adds all the things you may and will want. For example this plugin adds fortune on blocks, autosmelt and more. You can disable any features you don't want. Here is what PrisonMain adds to your server.
Features
- Auto smelt - Smelts ores defined in the config.
- Auto inventory - Puts all blocks in your inventory.
- Full inventory notice - When you have a full inventory it sends you a message (configurable)
- No fall damage
- No suffocation damage
- No hunger
Commands & Permissions
Command | Description | Permission | ||||
/pmreload | Reloads the config. | prisonmain.reload | ||||
/nightvision | Gives you night vision | prisonmain.nightvision | ||||
/nv | Alias for /nightvision | prisonmain.nightvision |
How to install
Download PrisonMain and drop it into your plugins folder then reload or restart your server.
Updater!
I have now added an updater for version 1.1 this will allow for the plugin to automatically download the plugin. No need to worry though because you can disable it in the config! Just change AutoUpdate to false.
TODO
- Maybe more configuration options
- Add an optional dependency.
Milestones
http://dev.bukkit.org/bukkit-plugins/prisonmain/milestones/
Donators
$2 BlazeCraft - Mc.AngelicCraftPvp.net
@ObservantCape79
You are using Java 8 to launch your server it looks like, my plugin was coded in Java 7.
@jordypwner
Ok i dint have CraftBukkit 1.7.9 so this will not work so can you giveme a download link or somwting
@ObservantCape79
This doesnt work on 1.7.2 only 1.7.9+
Every time i launch the servr it says
[15:15:27 ERROR]: Could not load 'plugins/PrisonMain.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/bwfcwalshy/prisonmain/Main : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] at org.bukkit.craftbukkit.v1_7_R2.CraftServer.loadPlugins(CraftServer.java:350) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] at org.bukkit.craftbukkit.v1_7_R2.CraftServer.<init>(CraftServer.java:312) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] at net.minecraft.server.v1_7_R2.PlayerList.<init>(PlayerList.java:63) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] at net.minecraft.server.v1_7_R2.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] at net.minecraft.server.v1_7_R2.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:426) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] Caused by: java.lang.UnsupportedClassVersionError: com/bwfcwalshy/prisonmain/Main : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) [?:1.6.0_65] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) [?:1.6.0_65] at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [?:1.6.0_65] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [?:1.6.0_65] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [?:1.6.0_65] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [?:1.6.0_65] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [?:1.6.0_65] at java.security.AccessController.doPrivileged(Native Method) [?:1.6.0_65] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [?:1.6.0_65] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [?:1.6.0_65] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [?:1.6.0_65] at java.lang.Class.forName0(Native Method) [?:1.6.0_65] at java.lang.Class.forName(Class.java:249) [?:1.6.0_65] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:127) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks]
@ObservantCape79
What exactly isn't working? And what do you mean by sell? This plugin currently doesn't have a command or sign to sell.
@Quags05
O butt if your useing a prison how will you get the blocks to sell if you delete them
I cant get it to work what do i do
@BlazeCraft7777
Thank you.
NICE PLUGIN!
@Quags05
Hmm a very interesting idea, I may add something like this in the future.
Nice plugin! Maybe add it where if your inventory gets full a GUI pops up and asks if you want to empty the inventory.