Inactive [MISC] SupplySign - Infinite Item Distribution w/ Signs(chest/dispenser also supported)

Discussion in 'Inactive/Unsupported Plugins' started by redsgreens, Mar 10, 2011.

  1. Offline

    redsgreens

    SupplySign is now on dev.bukkit.org! Go there for the latest versions, a dedicated support forum, and ticket tracking system: http://dev.bukkit.org/server-mods/supplysign/

    SupplySign - Infinite Items Distribution via Signs (now with dispenser support!)

    Use this plugin to distribute items and blocks to your players by creating [Supply] signs that load a chest interface when right-clicked. These signs can also be placed on chests.

    Download: http://dev.bukkit.org/server-mods/supplysign/

    The Basics:
    • Place a sign
    • Set the first line to [Supply]
    • On each of the remaining lines, put the name(or item id) of the contents of the supply sign
    • Right-click the sign to open the chest.
    Chest Sign: To place a sign on a chest, make sure it is not within one block of another chest. Place your supply sign on the ground next to the chest and it will attach itself to the chest after you are done editing the sign. Right-clicking the sign or the chest will display the contents of the sign. If you want, you can put two signs on a large chest.

    Dispensers: Attach a sign to a dispenser in the same way you would attach one to a sign. The inventory of the dispenser will always be full of whatever is on the sign. If you use a kit, or if you put multiple items on the sign, only the first will be used. Remember that dispensers require redstone to activate, so it might be a good idea to wire up the dispenser and test it before attaching the sign. If the dispenser doesn't work without a SupplySign on it, then I can't help you (I'm no redstone expert).

    Using Kits: To use a kit, set the first line to [Supply] as usual, then put "kit:" followed by the kit name on the second line, ie. "kit:wool".
    Default Kits: wool, dye, woodtools, woodplus, irontools, ironplus, diamondtool, diamondplus, goldtools, goldplus, desert, makecake, chainmail

    Permissions:
    • Ops and players with the "supplysign.create" permission will be able to place supply signs.
    • Ops and players with the "supplysign.access" permission will be able to access them.
    • Ops and players with the "supplysign.destroy" permission can destroy existing supply signs.
    • Ops and players with the "supplysign.reload" permission can trigger a reload of items/kits data.
    • Players with "supplysign.access.kitname" can access the kit called "kitname".
    If you don't use permissions: Only Ops will be able to place SupplySigns. There is a config file option that will allow non-op players to access signs, but not place them.

    Data Files: After the plugin has been loaded for the first time, a "supplysign" data folder will be created in the bukkit plugins folder with two files in it: items.csv and kits.yml. You can customize these files to add new kits or modify item names. Use "/supplysign reload" to load your changes without restarting the server. NOTE: When editing these files, make sure the format doesn't change. On Windows, use something like Wordpad. There has been a report that OpenOffice can change the files in a way that breaks the plugin.

    Config File: Used to configure the ShowErrorsInClient, FixSignOnSignGlitch, and AllowNonOpAccess options. Check out the (automatically created) config.yml file for more info.

    Screenshots:
    example-using-kit.png
    This is an example of a SupplySign with a kit.

    example-sign-contents.png
    And here is what you see when you right-click the sign in the previous screenshot.

    example-chest-sign.png
    This is what a chest with a sign on it looks like.

    2011-05-09_15.52.15.png
    An arrow being fired from an infinite arrow dispenser. Watch out!

    This video gives an example of how to attach a SupplySign to a dispenser.​

    Thanks:
    This plugin was originally based on the [Free] sign code from Essentials by Zenexer. Without his hard work there would be no SupplySign plugin. Thanks!
    Also thanks to vitaminmoo for testing this plugin and developing the kits.yml format.

    Old Changelog (open)

    Version 1.7.1 (08/09/2011)
    • Removed support for air blocks in signs (they break the game)
    • Corrected spelling of some items in items-base.csv
    • Replaced calls to deprecated Bukkit methods
    Version 1.7.0 (07/05/2011)
    • Added pistons and shears support
    • Access to SupplySigns on chests can now be protected by Lockette, WorldGuard, etc (allows finer grained access than previously possible)
    Version 1.6.3 (06/26/2011)
    • Added workaround for conflict with plugins that alter sign text color
    Version 1.6.2 (06/22/2011)
    • Fixed small bug related to custom items with a stack size less than the maximum for that item
    Version 1.6.1
    • The kit/item names are now case insensitive (suggested by Maxis010)
    Version 1.6
    • Replaced "items.csv" file with "items-base.csv" and "items-custom.csv" files to better handle new items added to Minecraft.
    • Added AllowNonOpAccess config file option (requested by Xiangliang2)
    Version 1.5
    • SupplySigns on dispensers now supported! (CB766 or higher required)
    Version 1.4
    • Fixed bug that prevented numeric item codes in kits.yml file (discovered by piousminion)
    • Added permission support for "supplysign.access.kitname" so you can restrict which kits a user/group can access (suggested by RaCooN)
    Version 1.3
    • Fixed bug where empty kits.yml file would break basic functionality.
    • Added support for large chests.
    Version 1.2
    • Fixed awful bug (discovered by Harushimo) that caused all signs in game to show an inventory. Oops.
    Version 1.1
    • Added new "supplysign.destroy" permission that can keep unauthorized players from destroying signs.
    • Updated to support Bukkit build 602. Servers running Bukkit 531/556 should still use version 1.0.
    Version 1.0
    • Added configurable option to hide client side error messages.
    • Fixed glitch where signs can be placed on other signs (can be disabled).
    • Config file support added.
    Version 0.9
    • Added support for signs on chests.
    Version 0.8
    • Added some diagnostic messages describing the number of items and kits loaded.
    • Fixed a typo in the items.csv file breaking birchwood and redwood. If you haven't customized your items.csv file, then just delete it and it will be recreated with the error corrected.
    Version 0.7
    • Initial release to the world.



    If you have problems: Check the diagnostic messages from SupplySign on the server console. You should see something like this when the plugin starts up, or when you use /supplysign reload :

    08:01:07 [INFO] SupplySign loaded 1092 items from items.csv.​
    08:01:07 [INFO] SupplySign loaded 16 kits from kits.yml.​

    If you see something like this:

    07:55:53 [INFO] SupplySign error: while parsing a flow sequence; expected ',' or ']', but got StreamEnd​
    07:55:53 [INFO] SupplySign loaded 1092 items from items.csv.​
    07:55:53 [INFO] SupplySign loaded 0 kits from kits.yml.​

    Then there is a typo in your kits.yml file and zero kits were loaded because of it. Unfortunately Yaml is a bit touchy about typos.

    If you can't figure out what's happening, post a capture of the SupplySign console output and attach your items.csv and kits.yml files to a your post so I can try and reproduce the problem. A screenshot of your sign could be useful as well.
     
  2. Offline

    darkcammo

    531
     
  3. Offline

    roach

    Hi there, Great plugin first off.

    but for some reason i set up my permissions for default users to interact with the sign, but seems they cannot do it. and i know it is working because admins can use it perfectly. Hope you can help.
     
  4. Offline

    redsgreens

    Do your normal users get a permissions error when they try to access the sign? Send me a PM with your permissions config and I'll try and help.
     
  5. Offline

    roach

    yes my normal users get permissions errors while trying to access the sign, tho i have the permissions set up correctly.
     
  6. Offline

    Mighty Mackinac

    just updated to the latest version, no problems, but i did notice some things.

    Its hard to get the signs onto the chests. I managed to do it by first putting the sign on a block and then changing the block to a chest. How did you guys do it?

    Second, redgreens, have you thought about supporting the update plugin? that would help a lot IMO.

    Thanks for all of your hard work!
     
  7. Offline

    redsgreens

    Thanks for the support, I appreciate it.

    As far as the signs on chests thing goes.. I'm sorry this wasn't clearly explained in the first post. To place a sign on the chest, place your supply sign on the ground next to the chest and it will attach itself to the chest after you are done editing the sign.

    Also, I'm planning on looking into the update plugin. We'll see, but maybe that will be a part of the 1.1 release.
     
  8. Offline

    Mighty Mackinac

    Awesome! Thanks!
     
  9. Offline

    TheDarkness73

    How would you set up chests with each wood and each wool and wool dye or halfstep? Also, what is the name for wooden planks? or coal ore, anything with a space pretty much? And mushroom doesnt work for some reason
     
  10. Offline

    redsgreens

    If you look at the items.csv file in the supplysign folder, you'll see the names of all the items. Here are some example lines from the file:

    plank,5,0,64
    coal,263,0,64
    brownmushroom,39,0,64
    redmushroom,40,0,64

    The text before the first comma is what goes on the sign. The wool and dye colors are in the file, and you can also use wool or dye kits to get all the colors in one sign.
     
  11. Offline

    ace22

    just posting to say, awesome plugin, and thanks!
     
  12. Offline

    snatch182

    can you make some limits? that for example, every player can take only 60 wool per 1hour or 1 day :)

    gratz.
     
  13. Offline

    Jelle

    Amazing!

    BUT:
    Maybe u can add something so the others can destroy it?
    So: supplysign.destroy
    or something like that,
    or when someone can create, he can destroy it too?

    Because everyone on my server can destroy the signs, and they can't pull them back,
    So maybe u can disable destroy signs+chest for other people.

    That would be great :)
     
  14. Offline

    redsgreens

    I'll see if there's a good way to do this. In the meantime, you can use something like WorldGuard to protect the area around where your signs are.
     
  15. Offline

    Caseykins

    For default it says they don't have permission but they have the same permissions as admins and It works for admins.
     
  16. Offline

    redsgreens

    Are your admins also Ops? It sounds to me like your permissions file is broken(it's really easy to do). Restart the server and check the console for errors from the permissions plugin.
     
  17. Offline

    Caseykins

    Yes, my admin's are ops. There's no error on the console for permissions.
     
  18. Offline

    redsgreens

    Ops automatically get all SupplySign permissions, so I still think the problem is permission related. What version of the Permissions plugin are you runnIng? I've only tested with 2.5+.
     
  19. Offline

    bushhead97

    im new to server hosting and im making a freebuild. So i thought this would be a cool plugin the sign will turn the blue at supply but wont stick to the chest. i get htis
    [​IMG]
     
  20. Offline

    redsgreens

    Post a screenshot of your sign and I might be able to help. Also try placing a sign that's not next to a chest.
     
  21. Very AWESOME, finally i don't have to fill chests with mined recourses, not that cobblestone was a problem but the rest was YAY for infinity!!

    But could you place make this compatible with dispensers (if possible ofcourse)? I'd really appreciate that, by the way dark_hunter's idea is pretty good, maybe that'd be possible.
     
  22. Offline

    Caseykins

    I'm using version 2.5.3
     
  23. Offline

    redsgreens

    Can you paste your Permissions config file into pastebin.com and PM me the link? That way I can run your perms on my test server and see what gives.
     
  24. Offline

    Solaris765

    I second this. necessary but would be really cool
     
  25. Offline

    Mighty Mackinac

    seems that the latest recommended build of craftbukkit is breaking a great deal of plugins.

    you think you could look into what is going on, redsgreens? appreciate it.

    also, I was wondering if could let us know what you are planning to add to the next release.
    from what I see in the thread it looks like a chance of dispensers and adding the compatibility for the update plugin, but that is just a guess.

    Thanks for all of the hard work!
     
  26. Offline

    redsgreens

    Thanks for the support, I appreciate it :)

    At the moment, there is no event fired when the dispenser dispenses, so there's no good way to do this. (There is a feature request for this here: http://bugs.bukkit.org/issues/170) Once that event is implemented in Bukkit, then infinite arrow traps should be simple to make :cool:

    Also, the idea dark_hunter had about putting multiple items into a SupplySign is already implemented(since version 0.1 actually). You can put up to 3 items in the sign by placing them each on a line.

    Version 1.1 is out to fix the breakage caused by Bukkit 602. It also has supplysign.destroy permission added.

    As far as the next release.. Dispenser support is out until the Bukkit event I mentioned is added. I checked into the update plugin and I have to admit I'm not that crazy about the idea of the thing. Automatic plugin updates seems like a recipe for problems.

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

    ThomasJ

    To be noted, there is no automatic update. However it is automatic download when a new release is available.
    Some admins might couple it with an automatic updating script, but most sane admins use it as a "release notification" system, myself included.

    Instead of having to keep up with xx amount of threads which largely consists of support requests, it is nice to be able to only have to check out the changelog when CBUTD tells me a new release is available.

    You really can't keep stupid admins from doing stupid things in any case, but you could help make smart admins life easier.

    Not to mention, a direct link to the jar would allow me to actually grab your plugin from the server instead of having to run everything by my desktop :)
     
  28. Offline

    redsgreens

    You make a good argument, ThomasJ. I'll take closer look at the updater. Also, I'm planning on setting up a github repo for the plugin, so a direct link to the jar should be possible there.
     
  29. Offline

    Major

    Does this allow repeated use of the sign to get multiple kits?
     
  30. Offline

    redsgreens

    Yes. If a user has permission to access the signs then they can use them as much as they want.
     
  31. Offline

    Major

    So just to check fully, if a player doesn't have permission, they can only get a certain kit once?
     

Share This Page