SupplySign
SupplySign - 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 and dispensers.
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 chest. 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.
Questions/Comments/Problems: Feel free to post questions or comments below. Other plugin users will hopefully see your plea for help and lend a hand, since I don't always have enough time to help with installation issues, or questions like "how do I make a kit?".
@muhgatus
There must be some kind of goofy interaction with simplecart. I just tested SupplySign dispensers without simplecart and a new minecart item is ejected every time I pressed the button.
But there is still a problem with dispensers, perhaps only in combination with the simplecart plugin. It only releases a minecart once. after this first drop no more minecarts are released.
@redsgreens Yes, version 1.9.4 does fix that issue :) Thanks a lot!
@Forest181 @Silarn I just uploaded SupplySign version 1.9.4 that fixes the blank signs on chests/dispensers problem. Please test and see if that fixes your issue. As usual, it is awaiting admin approval and should be available for download soon.
I have that same problem as Silarn on my server. Whenever I try to "attach" a sign to dispenser, it would erase all text from a sing and it will add only one stack of item mentioned on a sign into dispenser. Same thing happens to chests with difference, that there is no stack added into chest. There is no error message in my console when this happens. I'm using plugin version 1.9.3 and my server is 1.2.3-R0.2. If you could fix this issue, that would be great. Otherwise, what a great plugin :)
I forgot to mention this when the file was posted on 3/2, but SupplySign version 1.9.3 is out and supports Bukkit 1.2.3 builds.
Signs are just acting odd on my servers (1.1 and test 1.2.3). The sign can be placed and 'work,' but it seems to have a (high) random chance of wiping the sign even when permission is given. (I even ran debug on the perm plugin and it's properly checking and green-lighting the permission node.)
In particular this seems to be the case on dispensers. When it happens, a single stack of the item will spawn in the dispenser. But the sign then wipes and will cease to function, and the stack will quickly deplete.
I'll try testing if the same thing happens on other containers.
For some reason, the sign just wipes itself without cause. Similar plugins such as lockette appear to work properly, so it must be the plugin causing it.
-Also confirmed to occur with chests. I can sometimes get the sign to work (reliably) by placing it on an adjacent wall. Placing it on the ground almost never works.
I gave the groups the permission node below
- supplysign.access
However they still can't use them, it tells them they do not have access. I've tried reloading Essentials and the whole server (I use GroupManager) but they still cannot use it. Please help me out here, I love this plugin but it's being defective. I'm using DEV Build #1998, the year of ma birth. xD
could you have it where on the 3rd line of the sign you could also have a timer cooldown or so before a player could use the sign again. Not sure if that will be too heavy for the server to have a timer for each player.
Example: Line 1: Supply Line 2: Cobblestone Line 3: 60
They can only use the supply every 60 seconds.
I wanted to use it for dispenser to let them get free food every 5 min
I still have no idea on how to put this all together what limitation and stuff but just want to bring it out on the table. Thanks for your plugin ;]
I just uploaded SupplySign version 1.9.2 with updated event hooks for latest Bukkit builds (should work with 1.1-R5 when released). It is awaiting administrator approval but should be available soon.