Pickup Item Lock

Discussion in 'Plugin Help/Development/Requests' started by si7vder, May 24, 2015.

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

    si7vder

    Suggested name: DeathItemTimer

    What I want: When a player dies he drops all his inventory. I need those items to be locked so only the player that died can pick them up. After a certain amount of time (in config or maybe set with a command) then any player can pick up the items.


    Ideas for commands: /DIT timer 300 --- (in seconds) for example to set the item timer to 5 minutes.

    Ideas for permissions: dit.pickup --- give this and a player can always pick up the items (overrides everything and allows them to pick up all the items)

    When I'd like it by: 1st of June is the date I am starting my server so I would like it before that.

    I'll check this forum every few hours. So if you think you can make this plugin or maybe make it but with certain conditions tell me and I'll try and answer as fast as possible.
     
  2. Offline

    Signatured

  3. Offline

    meguy26

    @Signatured
     
  4. Offline

    Signatured

    Oh I see. In that case I'll get started on it when I get home soon :)
     
  5. Offline

    si7vder

    @Signatured
    That plugin looks pretty fun but it's the opposite of what I am looking for.
    I need the person that died to be able to pick up his items within the timer and the killer would have to wait and stay on top of the loot before he can grab it.
    Just keep me updated on how it goes :)
     
  6. Offline

    meguy26

    @si7vder

    look at the other posts :)
     
  7. Offline

    si7vder

    To: meguy26
    Just wandering why you replied ?
    I know he posted that and that is why I said: "Just keep me updated on how it goes". Implying I know he is working on it and that if there is something he can't make or maybe some issue then he only needs to reply here.
    Now I get an alert saying someone replied and all I find is your message which isn't an issue or any help to the topic.

    As for Signature, I forgot to mention I am running on 1.8. I hope that doesn't make it harder.
    Also I am currently running multiverse to have multiple worlds, I don't know if that matters either, I guess the plugin should just be across all worlds if possible.
     
  8. Offline

    Signatured

  9. Offline

    si7vder

    @Signatured

    The plugin isn't loading on my server. I get this error (if you need the whole logs tell me):

    ...
    [12:41:17] [Server thread/ERROR]: Could not load 'plugins\DeathItemTimer.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/signatured/deathitemtimer/Main : Unsupported major.minor version 52.0
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) ~[craftbukkit-1.8.jar:git-Bukkit-7019900]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:328) ~[craftbukkit-1.8.jar:git-Bukkit-7019900]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [craftbukkit-1.8.jar:git-Bukkit-7019900]
    at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugins(CraftServer.java:288) [craftbukkit-1.8.jar:git-Bukkit-7019900]
    at org.bukkit.craftbukkit.v1_8_R1.CraftServer.<init>(CraftServer.java:250) [craftbukkit-1.8.jar:git-Bukkit-7019900]
    at net.minecraft.server.v1_8_R1.PlayerList.<init>(PlayerList.java:69) [craftbukkit-1.8.jar:git-Bukkit-7019900]
    at net.minecraft.server.v1_8_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit-1.8.jar:git-Bukkit-7019900]
    at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:133) [craftbukkit-1.8.jar:git-Bukkit-7019900]
    at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:484) [craftbukkit-1.8.jar:git-Bukkit-7019900]
    at java.lang.Thread.run(Unknown Source) [?:1.7.0_80]
    Caused by: java.lang.UnsupportedClassVersionError: me/signatured/deathitemtimer/Main : Unsupported major.minor version 52.0
    at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.7.0_80]
    at java.lang.ClassLoader.defineClass(Unknown Source) ~[?:1.7.0_80]
    at java.security.SecureClassLoader.defineClass(Unknown Source) ~[?:1.7.0_80]
    at java.net.URLClassLoader.defineClass(Unknown Source) ~[?:1.7.0_80]
    at java.net.URLClassLoader.access$100(Unknown Source) ~[?:1.7.0_80]
    at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_80]
    at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_80]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_80]
    at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.7.0_80]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit-1.8.jar:git-Bukkit-7019900]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit-1.8.jar:git-Bukkit-7019900]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_80]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_80]
    at java.lang.Class.forName0(Native Method) ~[?:1.7.0_80]
    at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_80]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit-1.8.jar:git-Bukkit-7019900]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129) ~[craftbukkit-1.8.jar:git-Bukkit-7019900]
    ... 9 more
    [12:41:18] [Server thread/INFO]: [WorldBorder] Loading WorldBorder v1.8.1
    ...
     
  10. Offline

    I Al Istannen

    @si7vder He compiled the plugin with Java 8, you are using a lower version. Are you able to upgrade your java version? Otherwise @Signatured has to compile it again with Java 7.
     
  11. Offline

    si7vder

    I can't actually update java. I am currently hosting my server on a friend's computer and yes it runs Java 7.
    Would be great if you could compile it with Java 7.
    Much appreciated.
     
Thread Status:
Not open for further replies.

Share This Page