This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
If you have worldguard or essentials (which 99% of people do) this plugin is useless. Just add enderpearl and/or spawn eggs to the blacklist and give certain users access. Unless you dont use either of those plugins, this one is useless.
I am not the author of this plugin, so, this is an unofficial fix. Take it as that, i am not responsible if ur server blows up into a million pieces( it shouldnt but u know, shit happens :) Read the Whole Post or dont complain when it doesnt work. if it still doesnt work after that, then ./blame NinjaWolf nonono jk just let me know and ill help you out
Note, this is in english, feel free to use my source and change it to language specified
A: Because of the way permissions were coded.
the code basically says if the user has the perm(DEP.prevent.ME ) then
they cant use monster eggs, the problem with this is Op's receive all perms, no matter what. SO, with the current code, Op's would never be able to place monster eggs, ever.
The Fix:
Simply state that if the player doesnt have this perm, then block monster eggs.
Q: Why cant we keep it as DEP.prevent.ME and DEP.prevent.EP?
A: Because:
the current code blocks ops from placing monster eggs, my revised code simply makes it to where ops can place, everyone else it is blocked unless they have the permission.
It makes more sense(bypass would bypass that block on monster eggs/ender pearls
I went and fixed this, reversed perm names(prevent is now bypass), same plugin, i just reversed the perm code. So now if u have the following perms:(also, the true part in the description of the orig post isnt needed, dont know why he put that in there
*Allow EnderPearl teleportation
DEP.bypass.EP
*Allow Monster egg spawner
DEP.bypass.ME
U will be able to use pearls, and monster eggs, if u dont have the perms, u will not be able to use the pearl/monster egg.
I also cleaned up the code(few unused imports, extra uneeded code)
Remember! if u have the perms listed, u will be able to use that item, and vice-versa.
So, heres the fixed jar:
Jar D/l is at top of post
Please let me know if its not working, or ur confused on something, as i tend to ramble alot of gibberish sometimes.
And one last time, this will disable enderpearls/monster eggs for everyone except Op users and people who have the perm to bypass the block.
Does this work with permissions EX? I added "DEP.prevent.EP: true" to my permissions yml and it didn't do anything. As far as I can tell only my admins are disallowed from using ender pearls. I also just tried to add "DEP.prevent.EP" and that didn't work either.
2012-03-23 17:26:29 [SEVERE] Could not load 'plugins/DEP-en_US.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: fr/Madlaine/DEP/DEP : Unsupported major.minor version 51.0
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150)
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305)
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230)
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207)
at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183)
at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
Caused by: java.lang.UnsupportedClassVersionError: fr/Madlaine/DEP/DEP : 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:41)
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:139)
... 8 more
So i put this into my plugins folder and it did not work. i can still toss ender pearls and they teleport me. on a non-admin account. And nothing about DEP shows in the console.
@gustebeast
Worldguard blacklist doesn't work for Enderpearls at the moment.
If you have worldguard or essentials (which 99% of people do) this plugin is useless. Just add enderpearl and/or spawn eggs to the blacklist and give certain users access. Unless you dont use either of those plugins, this one is useless.
* Firstly:
I am not the author of this plugin, so, this is an unofficial fix. Take it as that, i am not responsible if ur server blows up into a million pieces( it shouldnt but u know, shit happens :) Read the Whole Post or dont complain when it doesnt work. if it still doesnt work after that, then ./blame NinjaWolf nonono jk just let me know and ill help you out
Download:
DEP Fixed v1.1
Source:
Source Files
Ok, to clear any confusion:
^
This goes for ender pearls as well.
I went and fixed this, reversed perm names(prevent is now bypass), same plugin, i just reversed the perm code. So now if u have the following perms:(also, the true part in the description of the orig post isnt needed, dont know why he put that in there
*Allow EnderPearl teleportation
*Allow Monster egg spawner
U will be able to use pearls, and monster eggs, if u dont have the perms, u will not be able to use the pearl/monster egg. I also cleaned up the code(few unused imports, extra uneeded code)
So, heres the fixed jar: Jar D/l is at top of post
Please let me know if its not working, or ur confused on something, as i tend to ramble alot of gibberish sometimes. And one last time, this will disable enderpearls/monster eggs for everyone except Op users and people who have the perm to bypass the block.
Enderpearls are disabled, however, I cannot place egg spawners with this plugin. Please help!
Does this work with permissions EX? I added "DEP.prevent.EP: true" to my permissions yml and it didn't do anything. As far as I can tell only my admins are disallowed from using ender pearls. I also just tried to add "DEP.prevent.EP" and that didn't work either.
Im haveing a problem were EVERYONE except OPs,can use them... IDeas what is wrong?
OP's cant place eggs, please make some kind of exeption permission
@Dmck2b
Do you know wich java version is working ?
@MadlaineCraft
I dont have access to my servers mainframe, only FTP. Is there anychance you could offer a version for my java?
@Dmck2b
Update your Java version and it should work.
Refuses to load for me,
2012-03-23 17:26:29 [SEVERE] Could not load 'plugins/DEP-en_US.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: fr/Madlaine/DEP/DEP : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.UnsupportedClassVersionError: fr/Madlaine/DEP/DEP : 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:41) 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:139) ... 8 more
Both your French and English versions.
Updated to v1.1 : Permissions and Monster Egg spawner support
@deleted_7589031
Thanks :D You know, SRM is nice too ;)
Nice plugin ;)
@MrFIji
OK ! If you need some help, tell me !
Never mind Brother Fixed it
So i put this into my plugins folder and it did not work. i can still toss ender pearls and they teleport me. on a non-admin account. And nothing about DEP shows in the console.
@Wannezz
Hi, i just add the (french) source on Github.
Hello, can you add the source to the .Jar please? I think it's nice if we can all learn from this kind of plugins. grtz, Wannezz