[MISC] InfiniteItems v0.5.1 - Infinite Items [1.1-R4]

Discussion in 'Inactive/Unsupported Plugins' started by gablank, Sep 12, 2011.

  1. Offline

    gablank

    Infinite Items
    Version 0.5.1

    Tested with Minecraft 1.1 and CraftBukkit 1.1-R4.

    0.5.x don't need to be updated for R4.



    BukkitDev link



    About 1.2: I will not be able to update the plugin over this weekend, but if CB1.2 / R5 is released before I'm back versions 0.5.x should work fine with those builds. I can't say anything certainly as I have not been able to test it.


    Features:
    * Dropping items will remove them from the world (changeable by command).
    * If you try to pick up something that's already present in your inventory it will not get picked up, and the item will despawn.
    * Every time you place a block it sets the stack of that item to 64.
    * Permissions support.

    Upcoming features:
    * Only by request.



    Notice:
    In version 0.5 I accidentally forgot to remove some debug information, I have released a new version to remove that information. If you're okay with that information being displayed, there's no need to update.
    Sorry about that!

    Download link (newest): <Edit by Moderator: Redacted mediafire url>
    WGET friendly: http://wenhaug.no/bukkitplugins/InfiniteItems-0.5.1.jar


    If you test it and got feedback for me then please let me know what I can do better/what worked well! :)

    Source code is in the .jar.


    Permissions (default in bold):
    * infiniteitems.regen: (false/true) -- Allows player to use the plugin.

    Commands:
    * /inf: Toggles whether you drop items or not.

    Changelog:

    Version 0.5.1
    * Removed some debug information.

    Version 0.5
    * Added /inf command.

    Version 0.4
    * Added permissions support.

    Version 0.3
    * Fixed the same bug with damage values not copying, which caused red wool to become white wool etc.
    * Updated event listeners to the new bukkit standard (http://wiki.bukkit.org/Introduction_to_the_New_Event_System)

    Version 0.2
    * Fixed not copying the damage value (Thanks to Wooks for reporting this bug)

    Version 0.1
    * Initial release

    Old version downloads:
    * Version 0.5: <Edit by Moderator: Redacted mediafire url>
    * Version 0.4: <Edit by Moderator: Redacted mediafire url>
    * Version 0.3: <Edit by Moderator: Redacted mediafire url>
    * Version 0.2: <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 12, 2016
  2. Offline

    Wiinick

    Why not make it so you can put a sign on the dispenser. Or even if you duplicate the items in a dispenser, wouldnt they be put in place for a reason by an admin? Its not like regular people can use the command to cheat it.
     
  3. Offline

    md_5

    Long time no see gablank. You will notice that this thread has now been placed into the Inactive Plugin subforum.
    If you wish to revive this plugin, please ensure that you update and test compatibility with the latest recommended Bukkit build before reporting your original post, asking for it to be moved back to the release forum.

    Thanks for your time.
    md_5
     
  4. Offline

    Rexel

    Code:
    2012-09-26 09:06:44 [SEVERE] Could not pass event PlayerPickupItemEvent to InfiniteItems
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
        at net.minecraft.server.EntityArrow.b_(EntityArrow.java:366)
        at net.minecraft.server.EntityHuman.o(EntityHuman.java:349)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:341)
        at net.minecraft.server.EntityLiving.h_(EntityLiving.java:447)
        at net.minecraft.server.EntityHuman.h_(EntityHuman.java:158)
        at net.minecraft.server.EntityPlayer.g(EntityPlayer.java:203)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:347)
        at net.minecraft.server.Packet10Flying.handle(SourceFile:136)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:282)
        at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
        at net.minecraft.server.ServerConnection.b(SourceFile:35)
        at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578)
        at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
        at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:405)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.NullPointerException
        at no.wenhaug.InfiniteItemsPlayerListener.onPlayerPickupItem(InfiniteItemsPlayerListener.java:75)
        at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339)
        ... 20 more
    I wish someone could revive this plugin, it mostly still works. Just has a problem with spamming that error when you stand over a dropped item that you would normally pickup...
     

Share This Page