[ADMN] AutoFill 0.4 - Auto Filling Chests [1000]

Discussion in 'Inactive/Unsupported Plugins' started by Andrey, Aug 12, 2011.

     
  1. Offline

    Andrey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    AutoFill - Chests that fill themselves:
    Version: v0.4 [CB #1000]

    This is my first plugin (Also the first time I used Java), it worked good when I tested it, but I think there still could be some bugs, if you find any, please please please tell me.

    AutoFill easily let's you refill chest's automatically, just set the interval in your config.yml inside the AutoFill folder, and you're all set. This Plugin is very lightweight, it only refills chests, nothing more nothing less.

    Chat Commands:
    Code:
    /af set <block (name/id)> <amount> - Autofill a chest.
        e.g. /af set diamond 5
    /af unset - Stop autofilling targeted chest.
    /af info - Shows informations about the targeted chest.
    Default config.yml
    Code:
    # Interval between Chest Filling (In seconds)
    interval: 60
    Permission Nodes
    Code:
    autofill.set - /af set
    autofill.unset - /af unset
    autofill.info - /af info
    
    Oh, by the way, if you have any problems with the /af command, you can remove the alias from the plugin.yml, and it'll be /autofill.

    Known Bugs:
    • Chests in unloaded chunks are kind of self aware, sometimes It works, sometimes it does. (Please tell me if it worked for you.)
    • Don't touch the storage.yml unless you know what you're doing, you could easily ruin your saved settings.
    Features:
    • Configuration and storage file in .yml format.
    • Auto removes bad entries (e.g. destroyed chests) from the schedule and the storage file.
    Download 0.4
    Source Code

    Changelog:
    Version 0.4
    • Initial Release (Yes, I start at 0.4)

    This post has been edited 2 times. It was last edited by Andrey Aug 12, 2011.
  2.  
  3. Offline

    Ferus Grim

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    This plugin looks really useful. :) Good work, Andrey.
  4. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    the category is ADMN and the title is missing plugin version
  5. Offline

    Andrey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    There you go.
  6. Offline

    FarSideX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    All this plugin does is create a folder named AutoFill and two files named autofill\config.yml and autofill\strorage.yml in the plugins directory.
    Renaming and moving the two files into the AutoFill directory didn't fix it.
    Typing /af does return with help but that is all the plugin seems to be doing.
  7. Offline

    Andrey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oh god, like I said, it's my first plugin. I'm very sorry, I'll try to fix it ASAP.

    Edit:

    Could you tell me if you get any errors on startup, or what OS you're running on?

    This post has been edited 1 time. It was last edited by Andrey Aug 15, 2011.
  8. Offline

    FarSideX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No errors (that I can remember) but it is running on linux (Ubuntu server 11.xx). Looks like you got the path string messed up a bit.
  9. Offline

    Andrey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah, I didn't knew Linux had problems with Backslashes. I tried using the path with a normal slash, but it had problems executing when I started it. I'll get it fixed for you ASAP. Sorry again.

    Also, do you got Permissions or what do you use the OP System?
  10. Offline

    FarSideX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have permissions 2.something
  11. Offline

    xB3Nx98

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    First Plugin? Its great, simple, but works, and well i like it, it does the job, well done mate :)
  12. Offline

    Sithnar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have tested this also, and i get the same error with Ubuntu server.

    If i rename the file, and reboot teh server, it just recreates them again.
  13. Offline

    Robert Pendell

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm no expert on java but could this be causing issues? (the part bolded and in red)

    "File config = new File(this.getDataFolder().getAbsolutePath() + "\\" + "config.yml");"

    As of right now the plugin is creating the files...
    AutoFill\config.yml
    AutoFill\storage.yml

    They are literally named that (the \ isn't a folder separator in this case).

    P.S. - Interestingly enough it's writing to the files and working...

    Request: Please add in support for damage values so we can have specific colored wool in a chest. Thanks.

    This post has been edited 5 times. It was last edited by Robert Pendell Sep 1, 2011.
  14. Offline

    killertudse

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It's not generating any config file for me..
  15. Offline

    jakimfett

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I love the concept, it's super lightweight, but it's not creating the config files correctly. It creates an "AutoFill" directory correctly, but the .yml files are named "AQO6BQ~W.YML" and "AU9HHH~V.YML". The plugin works, and is autofilling, but only until my server reloads the plugins...then it stops working.

    Awesome idea, can't wait for it to work properly!
  16. Offline

    Andrey

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It's broken, at the moment. Thanks for your Feedback! I really appreciate it, I'll update it when I find the time for it.
  17. Offline

    jakimfett

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Got it, I have this thread watched. I was able to get around it by manually adding my autofill locations to the config files inside the .jar, but not all the items are autofilling properly, so it's kinda a temporary fix.
  18. Offline

    Fightcraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    how can you fill the chests with wool?
    orange, blue and so on...?
  19. Offline

    jakimfett

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Use data values. For instance, "98:1" and "98:2" are both stone bricks, but one is smooth and the other is (I think) cracked. Look it up on the minecraft wiki page on Wool
  20. Offline

    Fightcraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    if i do it, the there stand: Uknow!
  21. Offline

    jakimfett

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    English, please?
  22. Offline

    Fightcraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry, I was just prescribed me. I meant when I type, for example 35:1 for orange wool, is there: Not known! You know what thisproblem? And again sorry for my English in the last post xD
  23. Offline

    3ric

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Plugin works with Minecraft 1.1, RB 1818.

    Posting because this is something I was looking for, and it meets expectations.

Share This Page