DisposalSign
Tired of people stealing your lava pit trashcan? Are chests and similar contraptions taking up too much space in your hutt? Here's the simple solution: a Disposal Sign. Create a DisposalSign - right-click the DisposalSign like you would any chest and dump your trash in the sign. Close the window and poof it's all gone. Couldnt be simpler.
Check the "Guide & Pictures" page for a visual experience :)
Features:
- Ultra simple sign design
- Multiple keywords for creation
- Personal / Shared or Global DisposalSigns available
- Permissions allows full control of who can create which types of Disposal Signs (/op overrules)
Sign types:
- Personal - only accessible by the person who created the sign
- Shared - share your personal DisposalSign with up to two friends - all others are denied access.
- Global - anyone can access and use these DisposalSigns
Permissions:
- disposalsign.create.personal - allows creation of Personal DisposalSigns.
- disposalsign.create.friends - allows creation of Shared DisposalSigns.
- disposalsign.create.any - allows creation of all three DisposalSign types.
"Alright - this sounds all good and dandy but how do I create these signs?" Simply input any of the keywords in brackets on the second line of the sign.
Valid keywords are:
- [Disposal]
- [Garbage]
- [Trashcan]
- [Trash] (will reorder to display: "Trashcan")
Both "Personal" and "Shared" DisposalSigns will automatically fill in the owner's name on the first line.
Players with the "disposalsign.create.any" permission will default to "Shared" DisposalSign behaviour meaning the owner's name will be filled on the first sign line. Since the "any" permission also serves as sort of an admin function players with this permission or with server OP are able to manually fill in any player name on the first line to turn over ownership of the sign to that player. Creating a Global sign requires that an asterisk / star be input on the first line - this will clear all lines except the second line containing the keyword for the sign leaving the DisposalSign open for anyone to use.
If a player has at least "disposalsign.create.friends" permission the third and fourth sign lines may contain other player names who will be granted access to this DisposalSign.
DisposalSigns are not break protected and they are not stored in any way except how the game usually saves signs. When signs are created correctly the second text line on the sign containing the keyword will turn blue. A chat text message will also be displayed. For now texts are in english only.
Future? For now I'm just releasing my plugin to the public in hopes it'll bring some joy. I might add a config file that could allow changes to the three major keywords and maybe even add some localization later on. But I'll let the community decide.
Version: 1.0.21 - first release. This is my first plugin ever. Tested on CraftBukkit 1.2.5 R5 and 1.3.1. Permissions plugin: PEX 1.19.3 (I havnt tested against other Permission plugins so please let me know if it doesnt work) (SourceCode included in the jar)
Great plugin McSharidan, It's very useful for my server! It took me a while to realize how to do the global bins though, but then I was like "time to read" and I found it more compatible than I first thought it was.
@TheOcelot4000
No this does work for 1.7.8+ as of I know.
It does work, [Disposal] on the second line of the sign, but this isn't what I'm looking for, I'm looking for a disposal sign that is able to be used by all players on the server.
Is this for 1.7.2 ?
wont work :(
DIDNT WORK U STUPID CUNT
Doesn't work for me. Huh???? :(
Version 1.1.40 is awaiting aproval.
Changes:
Note that the mentioned bug no longer produces a failure dump in the console - however this prevents the window from being shown. I have not yet been able to create a work-around for this so if the window doesnt show while you'r holding a block then simply hold something else like any item or simply empty hands.
As always: please let me know if you find any bugs or compatibilty problems. I'm also open to suggestions.
Sorry for not responding sooner - I've been out of country for a while.
@MonsterrockyXxX
DisposalSign does not require a chest to be placed under or near the sign. During my tests I have not experienced problems having chests placed around the DisposalSign. Opening the disposal sign shows a simulated chest that you can drop blocks and items in that you want to get rid of / delete. When you close this simulated chest the items and blocks are deleted from the game - they are disposed of as trash.
@bwinkl04
I did experience that particular problem a few times during the development but I couldnt reproduce the bug at the time so I shrugged it off as a glitch of sorts. I'll look into it again and post an update as soon as I've come up with a solution. Thank you for bringing this to my attention.
If I build a trashcan, and then click on it while holding a block, it places the block into the environment. also, can not click on it if you are in the same block space (probably because of it trying to place the block).
I have create a sign and then i have make my stuff in it and then i close the chest and when I open them again the chest is empty . what I doing wrong ?
Great work! Really been missing this since getting rid of Essentials. Good job!