RemoveThis
Automatically Clean Up Abandoned Chests, Furnaces, Anything!
Ever been on a server that is so loaded with abandoned chests and other items that you have to walk miles (well, lots of blocks) just to find some where to build? Well then your server admins need this plugin!
This plugin lets an operator place a special sign on items like chests or furnaces that tells the owner to remove the item or it will automatically be removed by the expiration time.
All the operator has to do is click on the object to be flagged for removal while holding a sign, and RemoveThis automatically generates a sign and schedules a removal time.
For example the sign might look like this:
This created sign is placed on the item and is unbreakable by players. After the set expiration time the sign and the flagged item will be removed automatically, this includes any items that may be inside the removed item (i.e a chest full of items, everything will be deleted).
Future releases will also add the ability to remove a cuboid region instead of just one item.
This is aimed at cleaning up all the abandoned chests, furnaces and other items that end up lying around on many servers.
Installation
Simply copy the RemoveThis.jar file to your server's plugin folder and reload your plugins or restart your server.
Configuration
No configuration is necessary but you can change the amount of time before the flagged items are deleted.
Run RemoveThis at least once and it will generate a config.yml file in the RemoveThis Folder inside your plugins folder. Change the time value in the config.yml file to the amount of time you would like, save the file and then reload your plugins or restart your server.
Permissions
Setting permissions isn't required, but the following permissions exist if you would like to use them:
"removethis.create"
Description: Place RemoveThis Sign and Schedule Item Removal
Default: op
"removethis.destroy"
Description: Delete RemoveThis Sign and Scheduled Item Removal
Default: op
Come and try out ChairStairs and some of my other plugsins like BoomStick, BlastFurnace, ProtectionStones, ExtraRecipes, RubySlippers, and SuperSmelter on AuthentiCity (acmc.game.nfoservers.com) 1.7.2 Survival Server.
@Marium0505
Region support was going to be the initial goal of the plugin then I was going to make a separate one for regions, but it has come full circle and region support will be coming to this plugin.
@AxelDios
Can't wait! :)
Also, I really hope region support comes in the next version! :D :)
@Marium0505
Soon.
Update?
@Brainiacguy
This is for moderators to remove old items, like chests, whether they have lwc or other protections.
This lets people acces locked chests with lwc ...
@AxelDios
two more things. you need to make sure that you dont cast a block to a chest if it isnt one. Also when the player breaks the chest it shouldnt drop signs. It is causing duping.
Also, why are you uncanceling the event if it doesnt meet conditions? it would make more sense to just return.
@SonarBeserk
Yes, I knew it was a null check, just not when you were getting it, removing, destroying, etc.
Thanks I'll update it.
@AxelDios
you forgot null checks and checks to make sure they are not empty handed. should be fixed after that.
the npe i was getting is i had nothing in my hand so there was no item to get the type of.
@SonarBeserk
Not sure why you are getting that error.
Is the player in creative or survival mode when placing the sign?
What are they placing the sign on?
Do they have the "removethis.create" permission?
well version 1.0 constantly npes with http://pastie.org/6416288 upon interact when running craftbukkit 1.4.7-R1 (build #2624)
Okay, finally a release version is in testing mode, as soon as it appears to be stable it will be released.
Version 1.0 will only have single block removal, but has it's own database, so doing a clean stop and start of the server should work perfectly.
@xtremetom
That feature won't be added, it would require a player database with all blocks they added and constant monitoring which would be pretty server intensive.
nice idea. Any plans to automate the block selection based on user last login date?
Like my plugins, please donate to my favorite minecraft server AuthentiCity, better yet, donate and then join us!
@draccydragon
What's confusing?
And then a confused admin deletes this page...
@eddoras
Waiting for the rewrite of the Bukkit API and ProtectionStones (one of my other plugins) has been very busy.
Will update ASAP.
Please update this unique plugin , i have about 4.5k signs in mu server and i vant find any other plugin like this, i hope u can update, ppllleeeaaaseee :(