Inactive [MISC] InfChests 1.0 BETA - Infinite Chests And Dispensers! [1.2.5-R3.0]

Discussion in 'Inactive/Unsupported Plugins' started by WMisiedjan, Feb 20, 2011.

  1. Offline

    WMisiedjan

    [​IMG]
    InfChests - Infinite Chests And Dispensers!
    Version: v1.0 BETA (1.0-b1)
    Tested Against: Bukkit-1.2.5-R3.0 (build 2203)
    Download / BukkitDev: InfChests
    Source-Code: Github.com
    What is InfChests?
    InfChests is a simple plugin that lets you create chests that will never run out. (Infinite)

    Feutures:
    * Infinite Chests
    * Infinite Dispensers

    How does it work?
    It's simple!

    We use signs to get your information that we need to handle the chests with.
    All our signs require on the first line of the sign our plugin tag: [infchest]

    If you want a basic infinite chest with your own contents, you must first place a chest, and then place a sign above it with our plugin tag as described above.

    If you want a infinite chest with a specific item, you can place a sign anywhere, with on the first line our tag and the second line you desired item name.

    We have an advanced item name handler so you can use item names like: Red Wool, Golden Axe, Diamond Sword and many more.


    More detailed tutorial can be found here.

    Permission Node: "infchests.create"

    Since 1.0 InfChests requires Vault installed!

    What happened with 1.0?
    InfChests 1.0 the rewritten and improved plugin. I did this because I didn't like how I developed a year ago. And now it's much more stable.

    1.0 is rewritten and a beta version as of now. It's still slightly in development while a final version is in-sight.

    You may ask now, why release it now and not when you're 100% finished?
    That is because I write plugins to make you happy.

    I want to suite your needs. If you have any feedback, bugs, requests or ideas, I love to hear them all. So I can improve InfChests to be a better plugin.


    The way I'm going to release my plugins from now on is that I'll start with Alpha versions. I build a beta version using feedback that I got from the users. I'll improve the beta versions based on feedback form the beta. After that the final product should have taken shape the 'release candidate' will appear. If after bugs fixes i'm happy and the users are happy then I'll release it as a official 1.0 release.


    1.0 is also opensource now, Why is that handy? Developers can help me make patches and stuff and can learn from my code. Also 1.1-a1 is available on github.com right now.
    Protection:

    You can use LWC to protect your chests and/or Dispensers!

    Download:
    * dev.bukkit.org - InfChests 1.0 BETA - Custom Infinite Chests and Dispensers!

    Older Downloads

    Show Spoiler
    * <Edit by Moderator: Redacted mediafire url>
    * Dropbox.com - InfChests 0.4 - Powered by HMPF, and Permissions powered by FrozenCow
    * <Edit by Moderator: Redacted mediafire url>
    * <Edit by Moderator: Redacted mediafire url>
    * <Edit by Moderator: Redacted mediafire url>
    * <Edit by Moderator: Redacted mediafire url>
    * <Edit by Moderator: Redacted mediafire url>

    - Please like and comment on this thread and BukkitDev!


    Changelog:

    Version 1.0 - Rewritten
    for newest changelogs check out our BukkitDev page.

    Show Spoiler
    Version 0.5.1
    * Updated for build 818.
    * Removed unnecessary lib folder, file now a lot of smaller.
    * Removed some unnecessary console outputs.

    Version 0.5
    * Updated for build 803.
    * Written my own Permission loader etc.
    * Rewritten a lot of things because of new/better events.
    * Sign now gets destroyed when wrong!
    * Signs can now be placed at multiple places for Dispenser.

    Version 0.4


    * Updated for build 614. Permissions support (limited).

    Version 0.3.6.1


    * Forgot to Reload Project, (plugin.yml was not imported in 0.3.6) - Fixed

    Version 0.3.6 - Not working Version


    * Fixed Linux/Mac File creating/reading.

    Version 0.3.5


    * Now Really fixed item Caps, Added Full Dispenser Supprt, Allowed World list.

    Version 0.2.5


    * Fixed names of items. & Added Limited* Dispenser support.

    Version 0.1


    * Initial Release
     
    Last edited by a moderator: Dec 15, 2016
  2. Offline

    darknesschaos

    I dont quite understand what this does. Does it hold an infinite amount of a single item, or does it infinitely generate the item on the sign? Does it support double chests?
     
  3. Offline

    WMisiedjan

    It fills a chest with a specific item thats on the sign.

    And if someone takes something out, it just refills it.
     
  4. Offline

    sumTard

    Any way to make the items inside respawn on a timer or limit the amount a person can take per day? That and permissions and this would be golden :D
     
  5. Offline

    Yurij

    +1
     
  6. Offline

    WMisiedjan

    Updated.

    Added Limited* Dispenser support, Fixed item names that weren't caps look to error.
     
  7. Offline

    doubleobond

    Yes, a timer or a amount per time would be great.
     
  8. Offline

    WMisiedjan

    Yeah, Added it on the TODO list, I'm now trying to work with SQLLite to save such data.
     
  9. Offline

    spoonikle

    how many of the specified item does the chest hold before it refills? 1 item? 1 stack? 2 stacks? 1 item in each slot?
     
  10. Offline

    SplenectomY

    EXCELLENT! This will work well in conjunction with ships that fire missile/arrows via dispenser in MoveCraft. Autoreload ftw!
     
  11. Offline

    WMisiedjan

    Dispenser´s are only refilled when they are interact with a player.

    I Did a pull request for a Dispenser Fired event, So thats comming real soon.

    Also, It only refills if 1 item slot is empty, So, Someone takes 32 wood. It won´t get updated. If it takes 64 wood from 1 stack it will be refilled again.
     
  12. Offline

    spoonikle


    so the chest is full of 20 stacks of 64? or just one stack?
     
  13. Offline

    WMisiedjan

    The chest is full of 20 stacks of 64 of that Item that's on the sign, Soon I will add SQLLite support with more advanced features and Permissions.
     
  14. Offline

    MicroDark

    Possibility to allow building of infinite chests for op only ?
    Thanks !
    Sorry for my english :(
     
  15. Offline

    WMisiedjan

    Updated! Added:
    AcceptedWorlds list, Changeable in configuration file. (Worlds on where InfChests is useable)
    Infinite Dispensers added!
     
  16. Offline

    Kostronor

    2011-02-24 19:52:52 [INFO] InfChests: Loading Configuration...
    2011-02-24 19:52:52 [SEVERE] null (Is it up to date?)
    java.lang.NullPointerException
    at org.bukkit.util.config.ConfigurationNode.getProperty(ConfigurationNode.java:33)
    at org.bukkit.util.config.ConfigurationNode.getList(ConfigurationNode.java:219)
    at org.bukkit.util.config.ConfigurationNode.getStringList(ConfigurationNode.java:242)
    at net.WMisiedjan.Infchests.InfChestConfiguration.LoadConfiguration(InfChestConfiguration.java:82)
    at net.WMisiedjan.Infchests.Infchests.LoadConfiguration(Infchests.java:64)
    at net.WMisiedjan.Infchests.Infchests.onEnable(Infchests.java:25)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:140)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:76)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:57)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

    Just got this, fails to load and crashes some other plugins
    Using 400+ Craftbukkit
     
  17. Offline

    ghundaee

    is this compatible with 1.3?
     
  18. Offline

    WMisiedjan

    That's really weird, I thought I fixed all of the Configuration issues.

    Can you please tell me in which exact build you got this error?

    I think This build isn't compatible with your build since it's an NULL-POINTER within Bukkit itself as you can see on the first line of the Error.
     
  19. Offline

    M1sT3rM4n

    Congratulations on finally being able to tackle something that I've always wanted to use :D
     
    Last edited by a moderator: Dec 15, 2016
  20. Offline

    WMisiedjan

    Yes this is compatible with 1.3!
    Great! :D
    Let me know how it works out for you!
     
  21. Offline

    ellisgeek

    Really cool! you get a invisible notch and some [diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond][diamond]

    P.S. hows the dispenser activate API call coming?
     
  22. Offline

    WMisiedjan

    I look at the code of: FluidDispensers (It's included in Jar)
    And he used REDSTONE_CHANGED, He uses a lot of while's within while's that I don't understand yet. Although it somehow works.
     
  23. Offline

    ursa_arcadius

    I am getting this error in CraftBukkit 439

    Code:
    2011-02-24 20:32:44 [INFO] InfChests: Loading Configuration...
    2011-02-24 20:32:44 [SEVERE] null (Is it up to date?)
    java.lang.NullPointerException
            at org.bukkit.util.config.ConfigurationNode.getProperty(ConfigurationNode.java:33)
            at org.bukkit.util.config.ConfigurationNode.getList(ConfigurationNode.java:219)
            at org.bukkit.util.config.ConfigurationNode.getStringList(ConfigurationNode.java:242)
            at net.WMisiedjan.Infchests.InfChestConfiguration.LoadConfiguration(InfChestConfiguration.java:82)
            at net.WMisiedjan.Infchests.Infchests.LoadConfiguration(Infchests.java:64)
            at net.WMisiedjan.Infchests.Infchests.onEnable(Infchests.java:25)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:140)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:79)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:60)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     
  24. Offline

    Kostronor

    This:
    This server is running Craftbukkit version git-Bukkit-0.0.0-444-g9e8ca13-b424jnks (MC: 1.2_01)
    Please tell, which version of craftbukkit is supportet :)
     
  25. Offline

    WMisiedjan

    I tested this with build 440 Vanilla, And it works fine.
    Code:
    2011-02-25 10:29:02 [INFO] InfChests: Loading Configuration...
    2011-02-25 10:29:02 [INFO] InfChests: Count: 1
    2011-02-25 10:29:02 [INFO] InfChests: Loading Configuration Succes...
    2011-02-25 10:29:02 [INFO] InfChests: Configuration Loaded!
    2011-02-25 10:29:02 [INFO] InfChests: Allowed Worlds:
    2011-02-25 10:29:02 [INFO] InfChests: world
    2011-02-25 10:29:02 [INFO] InfChests: Registering Events...
    2011-02-25 10:29:02 [INFO] InfChests version 0.3.5 is enabled!
     
  26. Offline

    humankapital

    Hello [​IMG]

    It seems that there's a slight problem running this plugin on a Linux host. Or maybe it's a bukkit bug? I don't know...

    First of all, this exception occurs when starting the server:

    Code:
    2011-02-25 11:44:21 [WARNING] InfChests: Error Creating plugin Configuration.
    2011-02-25 11:44:21 [WARNING] InfChests: Something went wrong! Disabling myself!
    2011-02-25 11:44:21 [SEVERE] null (Is it up to date?)
    java.lang.NullPointerException
            at net.WMisiedjan.Infchests.Infchests.LoadConfiguration(Infchests.java:72)
            at net.WMisiedjan.Infchests.Infchests.onEnable(Infchests.java:25)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:140)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:426)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:79)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:60)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    I had a look at my minecraft directory and stumbled upon a directory "plugins\InfChests" and a file "plugins\InfChests\config.yml".

    So I thought that the plugin somehow cannot detect that it's running on a non-Windows host and that's why it tries to create directories with backslashes instead of slashes?

    Hope this helps!
    Johannes
     
  27. Offline

    WMisiedjan

    Aha, Tanks for your information, Will fix this now!

    Fixed in 0.3.6 ;)

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

    humankapital

    Thanks for that fast fix. :)

    But now I'm getting:

    Code:
    2011-02-25 12:11:40 [SEVERE] Could not load plugins/InfChests.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:56)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:58)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
            ... 9 more
    Excuse me if I'm doing something wrong.
     
  29. Offline

    WMisiedjan

    No, Excuse me! I forgot to reload plugin.yml again, so it wasn't imported. Should be fixed now.
     
  30. Offline

    humankapital

    2011-02-25 12:31:49 [INFO] InfChests version 0.3.6.1 is enabled!

    Works! Thanks a lot! [​IMG]
     

Share This Page