[GEN] OddGive 0.9.1 - Item giving (and taking) [1.2.5-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by petteyg359, Feb 16, 2011.

  1. Offline

    petteyg359

    See OddGive on dev.bukkit.org.

    A not-so-basic /give plugin. Uses OddItem.

    /give command accepts multiple player names and multiple items with optional quantities
    /give command is restricted to giving items to others
    /i command accepts multiple items with optional quantities
    /i command is restricted to giving items to self
    /i0 command allows clearing inventories of self or other players (depending on permissions) - accepts multiple items and quantities, or no item parameters to clear inventory completely

    See OddGive on dev.bukkit.org.
     
    MasterMeNL and ne0nx3r0 like this.
  2. Offline

    Eddie Diller

    /i
     
  3. Offline

    petteyg359

    /i by itself does nothing. Give me the whole line.
     
  4. Offline

    Eddie Diller

    /i glass

    It works for me, but not for other admins
     
  5. Offline

    petteyg359

    Is there any error, or just nothing happens?
     
  6. Offline

    Eddie Diller

    Nothing happens.
     
  7. does this work on build 602 yet?
     
  8. Offline

    petteyg359

    It should.
     
  9. from the error messages it seems odditem is failing because groupmanager is broken in 602? and then oddgive fails because of odditem failing.

    heres the errors:
    Code:
    2011-03-31 03:25:13 [INFO] [OddItem] 0.6.3 enabled
    2011-03-31 03:25:13 [SEVERE] tried to access class org.anjocaido.groupmanager.GroupManager$1 from class org.anjocaido.groupmanager.GroupManager loading OddItem v0.6.3 (Is it up to date?)
    java.lang.IllegalAccessError: tried to access class org.anjocaido.groupmanager.GroupManager$1 from class org.anjocaido.groupmanager.GroupManager
        at org.anjocaido.groupmanager.GroupManager.enableScheduler(GroupManager.java:106)
        at org.anjocaido.groupmanager.GroupManager.onEnable(GroupManager.java:83)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at com.nijikokun.bukkit.Permissions.Permissions.onEnable(Permissions.java:61)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at info.somethingodd.bukkit.OddItem.OddItem.onEnable(OddItem.java:156)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:93)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:71)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Code:
    2011-03-31 03:25:15 [INFO] [OddGive] 0.7.7 enabled
    2011-03-31 03:25:15 [SEVERE] info.somethingodd.bukkit.OddItem.OddItem.getAliases(Ljava/lang/String;)Ljava/util/HashSet; loading OddGive v0.7.7 (Is it up to date?)
    java.lang.NoSuchMethodError: info.somethingodd.bukkit.OddItem.OddItem.getAliases(Ljava/lang/String;)Ljava/util/HashSet;
        at info.somethingodd.bukkit.OddGive.OddGive.parseConfig(OddGive.java:240)
        at info.somethingodd.bukkit.OddGive.OddGive.onEnable(OddGive.java:208)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:93)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:71)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  10. Offline

    petteyg359

    Nothing I can do about GroupManager, but Permissions 2.5.5 works with 602 :)
     
  11. Offline

    fireb33

    Code:
    2011-03-31 14:45:20 [INFO] [OddItem] 0.6.3 enabled
    2011-03-31 14:45:20 [INFO] [OddItem] Parsed 476 entries.
    2011-03-31 14:45:20 [INFO] [OddGive] 0.7.7 enabled
    2011-03-31 14:45:20 [SEVERE] info.somethingodd.bukkit.OddItem.OddItem.getAliases(Ljava/lang/String;)Ljava/util/HashSet; loading OddGive v0.7.7 (Is it up to date?)
    java.lang.NoSuchMethodError: info.somethingodd.bukkit.OddItem.OddItem.getAliases(Ljava/lang/String;)Ljava/util/HashSet;
        at info.somethingodd.bukkit.OddGive.OddGive.parseConfig(OddGive.java:240)
        at info.somethingodd.bukkit.OddGive.OddGive.onEnable(OddGive.java:208)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:93)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:71)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    CB 602....

    could you fix it?

    thanks for this great plugin :D
     
  12. Offline

    petteyg359

    Oops. Should be fixed now; download 0.7.8.
     
  13. Offline

    fireb33

    thanks!
     
  14. works with essentialsgroupmanager as a temp replacement for groupmanager :)
     
  15. Offline

    fireb33

    I think I found a bug: /give player dirt works fine (giving 1 of dirt to player, as I configured default stack to 1), but /give player dirt 10 doesn't work, no item is given.... no problems using /i

    :(
     
  16. Offline

    petteyg359

    Uploaded 0.7.9, should fix /give with quantity specified.
     
  17. Offline

    fireb33

    thanks :D
     
  18. Offline

    finking4

    i dont know why but this plugin isnt working with 612 :( please fix
     
  19. Offline

    fireb33

    you need to update to latest RB 617
     
  20. Offline

    petteyg359

  21. Offline

    finking4

    well it loads perfectly then when you go to do /i or /give doesnt work and a internal error message is displayed
     
  22. Offline

    petteyg359

    It works fine for me in both 612 and 617. You still haven't provided any information that could possibly help me to fix your problem (did you read the thread I linked?).

    It doesn't say "internal error" and then do nothing. There will be something in the console.
     
  23. Offline

    finking4

    theres the console

    ok that didnt put photo there

    19:51:11 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'i' i
    n plugin OddGive v0.7.9
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80
    )
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    54)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:596)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:559)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.NullPointerException
    at info.somethingodd.bukkit.OddItem.bktree.BKTree.findBestWordMatch(BKTr
    ee.java:75)
    at info.somethingodd.bukkit.OddItem.OddItem.findItem(OddItem.java:40)
    at info.somethingodd.bukkit.OddItem.OddItem.getItemStack(OddItem.java:80
    )
    at info.somethingodd.bukkit.OddGive.OddGive.give(OddGive.java:57)
    at info.somethingodd.bukkit.OddGive.OddGive.onCommand(OddGive.java:169)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 9, 2016
  24. Offline

    petteyg359

    Is your item.txt empty?
     
  25. Offline

    finking4

    yes it is empty should it?
     
  26. Offline

    nubpro

    Can you update the plugins pls? I'm using Craftbukkit 617. (Client Version.1.40.01)
    Exampls: ...update...blah.blah...
     
  27. Offline

    petteyg359

    Can you tell me what is wrong with it?
     
  28. Offline

    nubpro

    Cannot support Beta Version 1.40_01
     
  29. Offline

    petteyg359

    You're going to have to be more specific.
     
  30. Offline

    nubpro

    nvm I fixed /solved ^^ btw Thanks
     
  31. for some odd reason this plugin only gives items if you already have them, not new ones.
    no errors in console
    even if we have odd.give.override ( have * on my server)
     

Share This Page