[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

    petteyg359

    Good, then. 0.8.5 will be made the current version in the first post :)
     
  3. Offline

    DestinysCourage

    Hi, Pettey! I love your idea, but can you tell me how to install it? I'm not much of a bukkit-plugins installer, so..yeah, can you help me out? Thanks!
     
  4. Offline

    MasterMeNL

    Download OddGive here (download the jar file) and place it in the plugins folder.
    Next download OddItem here and put the jar in the plugins folder too.
    Now create a folder in the plugins folder called "Odd" (plugins/Odd) and create a text file called "item.txt", look in the OddItem Main Post for the format of it, you can also find a item.txt I keep up to date here.

    Optional is the give.txt (plugins/Odd/give.txt) used to blacklist certain items, the format is in the main post of OddGive.

    I assume you know how to use permissions (I don't know how it works with OP-only and stuff).
    Note that as far as I know, OddGive and OddItem don't support PermissionsBukkit yet (I use superpermbridge for this).

    Greetings,
    MasterMe.
     
  5. Offline

    DestinysCourage

    A
    Ah, thanks! :)
     
  6. Offline

    petteyg359

    Is there anybody using this who desperately needs to stay with Nijikokun/TheYeti/rcjrrjcr Permissions? If not, the next version will be Bukkit permissions only.
     
  7. Offline

    MasterMeNL

    I suggest to just have a download link for the latest non-Bukkit permissions OddGive in the main thread for the people who still want it for around 1 month and to remove it afterwards.
    After that I guess almost everybody updated to the new Bukkit permissions.

    Greetings,
    MasterMe.
     
  8. Offline

    ClearTranquil

    I use rcjrrjcr's Permissions and I've been using this plugin for a few days now. I really like the plugin and it would be a shame if Permissions no longer was supported - It's the only reason I picked this one - for the blacklist of items my moderators can't spawn but I can.
     
  9. Offline

    drats666

    error
     
  10. Offline

    petteyg359

    Read the error.

    Read the first post.

     
  11. Offline

    drats666

    your response is of no help since i already have odditem, which is why i posted the log. next suggestion please?
    OddItem.jar is 92.3 kbs
    OddGive.jar is 7.75 kbs
     
  12. Offline

    petteyg359

    OddItem.jar is not in your plugins folder. The error is very clear on that.
     
  13. Offline

    drats666

    it is in the folder, the error is wrong! its beside OddGive.jar, it even generated a file called OddItem.yml
    check the photo your'll see it there, -.- as i said error, appearently there is 2, there is the error of the plugin not working, and error of the error message it gives
    odditem.jpg
     
  14. Offline

    petteyg359

    Then there's another error somewhere. Did you paste the whole log?
     
  15. Offline

    drats666

    151 recipes
    16 achievements
    12:18:47 [INFO] Starting minecraft server version Beta 1.7.3
    12:18:47 [INFO] Loading properties
    12:18:47 [INFO] Starting Minecraft server on *:25565
    12:18:47 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    12:18:47 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    12:18:47 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    12:18:47 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    12:18:47 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-
    g73697a4-b1000jnks (MC: 1.7.3)
    12:18:47 [SEVERE] ebean.properties not found
    12:18:47 [INFO] DataSourcePool [TimeShift] autoCommit[false] transIsolation[SERI
    ALIZABLE] min[2] max[20]
    12:18:48 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.Plugi
    nClassLoader]
    12:18:48 [INFO] Entities enhanced[0] subclassed[1]
    12:18:48 [SEVERE] Could not load 'plugins\OddGive.jar' in folder 'plugins': OddI
    tem
    org.bukkit.plugin.UnknownDependencyException: OddItem
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:133)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:207)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:130)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    12:18:48 [INFO] Preparing level "world"
    12:18:48 [INFO] Preparing start region for level 0 (Seed: -157620145)
    12:18:49 [INFO] Preparing start region for level 1 (Seed: -7252875014614488475)
    12:18:49 [INFO] Preparing spawn area: 56%
    12:18:49 [INFO] AntiBreak version 1.4 is enabled!
    12:18:49 [INFO] AutoRepair version 1.11.4 is enabled
    12:18:49 [INFO] Permission system not enabled. AutoRepair plugin defaulting to e
    verybody can use all commands
    12:18:49 [INFO] ClothCommand v1.3 enabled.
    12:18:49 [INFO] Permissions not detected. Defaulting to OP restrictions.
    12:18:49 [INFO] CraftBookCommon 114-fe0e96e enabled.
    12:18:49 [INFO] CraftBookCommon: No known permissions plugin detected. Using con
    figuration file for permissions.
    12:18:49 [INFO] CraftBookCircuits 114-fe0e96e enabled.
    12:18:49 [INFO] CraftBookCircuits: No known permissions plugin detected. Using c
    onfiguration file for permissions.
    12:18:49 [INFO] CraftBookCircuits: No known permissions plugin detected. Using c
    onfiguration file for permissions.
    12:18:49 [INFO] CraftBook: Enumerating chunks for self-triggered components...
    12:18:49 [INFO] CraftBook: 1250 chunk(s) for 2 world(s) processed (0s elapsed)
    12:18:49 [INFO] CraftBookMechanisms 114-fe0e96e enabled.
    12:18:49 [INFO] CraftBookMechanisms: No known permissions plugin detected. Using
    configuration file for permissions.
    12:18:49 [INFO] 1 cauldron recipe(s) loaded
    12:18:49 [INFO] CraftBookVehicles 114-fe0e96e enabled.
    12:18:49 [INFO] CraftBookVehicles: No known permissions plugin detected. Using c
    onfiguration file for permissions.
    12:18:49 [INFO] CraftBukkitUpToDate version 2.6.1 is enabled!
    12:18:49 [INFO] CButD: Permission system not detected, defaulting to OP
    12:18:49 [INFO] [FishPeople] version 1.6 is enabled!
    12:18:49 [INFO] [MagicCarpet] MagicCarpet version 1.5.6 is enabled!
    12:18:49 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet
    or /mc.
    12:18:49 [INFO] [MagicCarpet] Anyone can use the Magic Carpet.
    12:18:49 [INFO] [MultipleHomes] Settings Loaded!
    12:18:49 [INFO] [MultipleHomes] MultipleHomes version 0.7 is enabled!
    12:18:49 [INFO] Permission system not detected, defaulting to OP
    12:18:49 [INFO] SpawnX enabled
    12:18:49 [INFO] TimeShift version 2.0.3 is enabled!
    12:18:49 [INFO] [WolfPound] - Version 1.0.2 Enabled
    12:18:49 [INFO] [AllPay] - Version .5.1 - using only an item based economy for W
    olfPound v1.0.2
    12:18:49 [INFO] WorldEdit 4.6 enabled.
    12:18:49 [INFO] WorldEdit: No known permissions plugin detected. Using configura
    tion file for permissions.
    12:18:50 [INFO] [Citizens] Loaded 0 quests.
    12:18:50 [INFO] [Citizens] A Permissions plugin isn't loaded, commands can only
    be used by ops.
    12:18:50 [INFO] [Citizens] version [1.0.9d] (Odyssey) loaded
    12:18:50 [INFO] [OddItem] 0.7 enabled
    12:18:50 [INFO] [OddItem] Using RefinedSoundEx for suggestions.
    12:18:50 [INFO] [OddItem] 608 aliases loaded.
    12:18:50 [INFO] Server permissions file permissions.yml is empty, ignoring it
    12:18:50 [INFO] Done (0.174s)! For help, type "help" or "?"
    12:18:50 [INFO] CButD: CraftBukkit is up to Date
    12:18:50 [INFO] [Citizens] Loaded 0 NPCs.
    12:18:59 [INFO] The automatic update-Check only work every 6 hours, the last che
    ck was 48 minutes ago.
    >
     
  16. Offline

    PiotrLegnica

    Rename OddGive.jar to Z_OddGive.jar, to force it to load after OddItem.
     
  17. Offline

    petteyg359

    It is already doing that (it is trying to load the OddItem dependency first, as seen in the error). Can't hurt to try, though. I did add a softdepend on Permissions to OddItem in 0.7; perhaps Bukkit has some kind of bug with nested dependencies.
     
  18. Offline

    drats666

    renaming it seemed to work. though now the update plugin keeps complaining about it >.<
    however now it seems to be conflicting with a single player/multi player plugin i have called toomanyitems. when i try spawning something with toomanyitems it says "[OddGive] Invalid item: ### Closest match: air" seems the oddgive replaces the give command completely making any plugin that uses /give command no longer function properly.
     
  19. Offline

    petteyg359

    Have you modified OddItem.yml? I thought I had it adding the ID keys as aliases, but I may've broken it.
     
  20. Offline

    drats666

    i haven't touched the yml at all, haven't even opened it. its the default file the odditems generated.

    this is the top section of the yml
    looks like it doesn't actually list the number underneith them, the plugin just looks for the names like cob and scrolls up to the number. so if you use /i 20 64 it wont know its glass.
     
  21. Offline

    petteyg359

    Download latest OddItem and see if it works.
     
  22. Offline

    drats666

    seems the items command now works with the number, but still not compatable with toomanyitems . :(
     
  23. Offline

    Stephen304

    It doesn't seem to work when I try to give myself map_5(/give 358,5). I keep getting closest match air. Just typing map gives me map_0.

    Btw I use permissions (Yeti) 3.1.6, I hope you don't drop support for it
     
  24. Offline

    petteyg359

    Have you put that in OddItem?

    It'll keep supporting Permissions as long as Permissions doesn't break compatibility with 2.7.4, which is what I'm building against, but it may get some extra features for Bukkit's permissions at some point :)

    For next version, I'm working on group-based black/whitelists, with some kind of inheritance, so lower groups would inherit higher blacklists, or higher groups would inherit lower whitelists.
     
  25. Offline

    Stephen304

    So every time someone makes a map if I want to give that map then I have to add it to odditem?
     
  26. Offline

    petteyg359

    For now, yes. I'll see if that can be made easier.
     
  27. Offline

    Stephen304

    Okay that would be great, since it seems maps have sorta infinite data/damage values. Also, it seems that using /give 1:0 for stone doesn't work as opposed to just using /give 1. This was very confusing to me at first. Perhaps this could be fixed as well?
     
  28. Offline

    petteyg359

    Why would you add :0 to it?
     
  29. Offline

    Stephen304

    Isn't 1 and 1:0 supposed to be the same anyways?
     
  30. Offline

    petteyg359

    Yes, but:
    1. there's no point typing a zero value
    2. the data separator is ';', not ':'
     
  31. Offline

    Stephen304

    Oh whoops i meant to put ";"
    It just seems that OddGive should support the full data value even if it is redundant.
    Edit: Also because some information plugins will show x;0.
    Btw /iteminfo seems to be broken while using this, I haven't done any conclusive testing but I'm fairly sure it's this plugin and whatever plugin gives that command (I can't keep track of where all my commands come from anymore, too many. Maybe worldedit?)
     

Share This Page