Plugin Request (Simple plugin) Player item drop

Discussion in 'Plugin Help/Development/Requests' started by Syraleaf, May 9, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Syraleaf

    Hey hey,
    Syra here!

    I'm here to ask for a very simple plugin.
    One that uses permissions to Allow and Deny players to drop their items.
    I was unable to find such a plugin, probably because its to easy and its very specific. ;)

    Thats all I need :)
    ~Syra

    I would like to point out that its not "Drop on Death"
    Its drop, like, throwing items out of your inventory :)

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: May 9, 2015
  2. Offline

    poepdrolify

    I will create this plugin for you, so you just want a simple plugin that stops players from dropping items from their inventory, but if they have a permission, they can drop?
     
    Syraleaf likes this.
  3. Offline

    Syraleaf

    yes. thats it :)
     
  4. Offline

    poepdrolify

  5. Offline

    Syraleaf

    Thank you :D

    Ehhrm, I've got a problem. It could just be me, but it does not seem to generate a config file! I havent seen anything in the server logs and it does not show up as "installed plugins" in game. Any idea what could have happened?

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: May 9, 2015
  6. Offline

    poepdrolify

    @Syraleaf When you type /pl or /plugins, is the plugin listed there?

    @Syraleaf I tested it, and in my own server it works fine
     
  7. Offline

    timtower Administrator Administrator Moderator

    @poepdrolify With what java version did you compile? If @Syraleaf is running java 7 and you are compiling with 8 then it won't work.
     
  8. Offline

    poepdrolify

    @timtower @Syraleaf I compiled it with Java 8 and tested it for spigot 1.8.3, so if he is using an older version it won't work. I can try to convert it to 1.7...
     
  9. Offline

    Syraleaf

    I am unsure of what java our host uses, most likely v.7. The thing I know is that our server runs on 1.8, so it should not be the version that is causing trouble here.
    I think it might be the Java Version that is the trouble maker ^^

    Edit: Thank you Tim, for making my posts one big one ;) That really helps me out!

    Edit2: Its the bukkit version made by the spigot team for 1.8, just to make sure :)
     
  10. Offline

    poepdrolify

  11. Offline

    Syraleaf

    Its not working, but I manged to get a crashfile!
    So, now we know what version the server is AND why its not working (or at least, most likely we know xD)
    The Log (open)

    [Server] INFO ... 9 more 10.05 21:14:11
    [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO at java.lang.Class.forName(Class.java:274) ~[?:1.7.0_75] 10.05 21:14:11
    [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.7.0_75] 10.05 21:14:11
    [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ~[?:1.7.0_75] 10.05 21:14:11
    [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:425) ~[?:1.7.0_75] 10.05 21:14:11
    [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO at java.net.URLClassLoader.findClass(URLClassLoader.java:354) ~[?:1.7.0_75] 10.05 21:14:11
    [Server] INFO at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_75] 10.05 21:14:11
    [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:355) ~[?:1.7.0_75] 10.05 21:14:11
    [Server] INFO at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.7.0_75] 10.05 21:14:11
    [Server] INFO at java.net.URLClassLoader.access$100(URLClassLoader.java:71) ~[?:1.7.0_75] 10.05 21:14:11
    [Server] INFO at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) ~[?:1.7.0_75] 10.05 21:14:11 [Server] INFO at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.7.0_75] 10.05 21:14:11
    [Server] INFO at java.lang.ClassLoader.defineClass(ClassLoader.java:800) ~[?:1.7.0_75] 10.05 21:14:11
    [Server] INFO at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_75] 10.05 21:14:11
    [Server] INFO Caused by: java.lang.UnsupportedClassVersionError: me/poepdrolify/droppermissions/Main : Unsupported major.minor version 52.0 10.05 21:14:11
    [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75] 10.05 21:14:11
    [Server] INFO at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:501) [craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:180) [craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO at net.minecraft.server.v1_8_R2.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO at net.minecraft.server.v1_8_R2.PlayerList.<init>(PlayerList.java:69) [craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO at org.bukkit.craftbukkit.v1_8_R2.CraftServer.<init>(CraftServer.java:250) [craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugins(CraftServer.java:288) [craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) ~[craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit-1.8.jar:git-Bukkit-63e28b1] 10.05 21:14:11
    [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/poepdrolify/droppermissions/Main : Unsupported major.minor version 52.0 10.05 21:14:11
    [Server] ERROR Could not load 'plugins/DropPermissions.jar' in folder 'plugins' 10.05 21:14:10
    [Server] INFO This server is running CraftBukkit version git-Bukkit-63e28b1 (MC: 1.8.3) (Implementing API version 1.8.3-R0.1-SNAPSHOT) 10.05 21:14:10
    [Server] INFO Using epoll channel type 10.05 21:14:10 [Server]


    There you go!
    I really hope this helps :)
     
  12. Offline

    poepdrolify

    Last edited: May 10, 2015
  13. Offline

    Syraleaf

    I would love to do so, but I use a host. :( So I have no idea on how to update it!
     
  14. Offline

    poepdrolify

    Ok, if I manage to download Java 6 I will send you a link tomorrow.
     
  15. Offline

    timtower Administrator Administrator Moderator

    Moved to Bukkit alternatives.
     
  16. Offline

    Syraleaf

    Okey! And thank you for all your support! It really helps me out!!!!!!!
    Okey :) Thank you :)
     
  17. Offline

    poepdrolify

  18. Offline

    Syraleaf

Thread Status:
Not open for further replies.

Share This Page