AdminDrop
All things need limitations, why not item related interactions? This plugin allows the server to impose restrictions on a player to prevent them from throwing/picking up items, opening specific inventories, and placing/breaking blocks.
Utilizing permissions you can force a player or group to always have restrictions or paired with a region plugin for event areas. Great for a multitude of server types ranging from RPG servers (prison servers especially) to hardcore PVP servers and can even come in handy for events.
AdminDrop v3.0.0.0 Tested On:
- 1.7.2 / 1.8 / 1.9 / 1.10 / 1.11 / 1.12
Features:
- Stops the dropping of items on death for self, target or all offline/online players
- Stops the ability to throw items for self, target or all offline/online players
- Stops the ability of picking up items for self, target or all offline/online players
- Stops in the name of love; for self, target or all offline/online players
- Stops the ability of opening chests and storage items for self, target or all offline/online players
- Stops the ability to break blocks for self, target or all offline/online players
- Stops the ability to place blocks for self, target or all offline/online players
- Checks personal status of toggles and that of other players
Want the source? Go to https://github.com/pyropyro78/AdminDrop
Please note that the above link has not been reviewed by Bukkit
Want to reach out or follow me? Find me on Twitter @pyropyro78
Permissions:
Self
- AdminDrop.self.status - Check one's own status of toggles
- AdminDrop.self.deathdrop - Set one's own drops on death toggle
- AdminDrop.self.throwaway - Set one's own throwing away toggle
- AdminDrop.self.pickup - Set one's own picking up of items toggle
- AdminDrop.self.chestaccess - Set one's own ability to open chests or storage items (single, double, ender, hopper, dropper, minecart chest, brewing stand)
- AdminDrop.self.block.break - Set one’s own restriction to breaking blocks
- AdminDrop.self.block.place - Set one’s own restriction to placing blocks
Other
- AdminDrop.other.status - Check status of others' toggles.
- AdminDrop.other.deathdrop - Modify other user's drops on death toggle.
- AdminDrop.other.throwaway - Set others' throwing away toggle.
- AdminDrop.other.pickup - Modify other user's drops on death toggle.
- AdminDrop.other.chestaccess - Set others' ability to open chests or storage items (single, double, ender, hopper, dropper, minecart chest, brewing stand).
- AdminDrop.other.block.break - Set others' own restriction to breaking blocks
- AdminDrop.other.block.place - Set others' own restriction to placing blocks
Overrides
- AdminDrop.alwayson.deathdrop - Makes toggle for drops on death always on
- AdminDrop.alwayson.throwaway - Makes throwing away toggle always on
- AdminDrop.alwayson.pickup - Makes picking up of items toggle always on
- AdminDrop.alwayson.chestaccess - Makes chest access toggle always on
- AdminDrop.alwayson.block.break - Makes block breaking toggle always on
- AdminDrop.alwayson/block.place - Makes block placing toggle always on
Override Ignore Star
If you use the '*' permission on a user/group that you wish to have something like AdminDrop.alwayson.pickup you will need to use - -AdminDrop.ignore.star.pickup on the line before the '*' permission to enable it on that a user/group.
- AdminDrop.ignore.star.deathdrop - Makes toggle for drops on death always on for ‘*’ users
- AdminDrop.ignore.star.throwaway - Makes throwing away toggle always on for ‘*’ users
- AdminDrop.ignore.star.pickup - Makes picking up of items toggle always on for ‘*’ users
- AdminDrop.ignore.star.chestaccess - Makes chest access toggle always on for ‘*’ users
- AdminDrop.ignore.star.block.break - Makes block breaking toggle always on for ‘*’ users
- AdminDrop.ignore.star.block.place - Makes block placing toggle always on for ‘*’ users
Restricted
- AdminDrop.restricted.reload – Allows user to reload config files if changes are made to the files while server is running
Commands:
- /ad deathdrop - Toggles Death Drops on/off
- /ad deathdrop [player/online/all] - Toggles other's Death Drops on/off
- /ad deathdrop [player/online/all] [ON/OFF] - Toggles other's Death Drops on/off
- /ad throwaway - Toggles the ability to throw away items on/off
- /ad throwaway [player/online/all] - Toggles other's throw away items on/off
- /ad throwaway [player/online/all] [ON/OFF] - Toggles other's throw away items on/off
- /ad pickup - Toggles the ability to pick up items on/off
- /ad pickup [player/online/all] - Toggles other's ability to pick up items on/off
- /ad pickup [player/online/all] [ON/OFF] - Toggles other's ability to pick up items on/off
- /ad chestaccess - Toggles the ability to open chests on/off
- /ad chestaccess [player/online/all] - Toggles other's ability to open chests on/off
- /ad chestaccess [player/online/all] [ON/OFF] - Toggles other's ability to open chests on/off
- /ad blockbreak - Toggles the restriction to break blocks on/off
- /ad blockbreak [player/online/all] - Toggles other's restriction to break blocks on/off
- /ad blockbreak [player/online/all] [ON/OFF] - Toggles other's restriction to break blocks on/off
- /ad blockplace - Toggles the restriction to place blocks on/off
- /ad blockplace [player/online/all/all] - Toggles other's restriction to place blocks on/off
- /ad blockplace [player/online/all] [ON/OFF] - Toggles other's restriction to place blocks on/off
- /ad reload – Reloads config files
- /ad status - Gets current status
- /ad status [player] - Gets players current status
- /ad help - Displays commands
- /ad alt - Shows alternate commands
Alternate Commands:
- /ad dd - Toggles Death Drops on/off
- /ad dd [player/online/all] - Toggles other's Death Drops on/off
- /ad dd [player/online/all] [ON/OFF] - Toggles other's Death Drops on/off
- /ad ta - Toggles the ability to throw away items on/off
- /ad ta [player/online/all] - Toggles other's throw away items on/off
- /ad ta [player/online/all] [ON/OFF] - Toggles other's throw away items on/off
- /ad pu - Toggles the ability to pick up items on/off
- /ad pu [player/online/all] - Toggles other's ability to pick up items on/off
- /ad pu [player/online/all] [ON/OFF] - Toggles other's ability to pick up items on/off
- /ad ca - Toggles the ability to open chests on/off
- /ad ca [player/online/all] - Toggles other's ability to open chests on/off
- /ad ca [player/online/all] [ON/OFF] - Toggles other's ability to open chests on/off
- /ad bb - Toggles the restriction to break blocks on/off
- /ad bb [player/online/all] - Toggles other's restriction to break blocks on/off
- /ad bb [player/online/all] [ON/OFF] - Toggles other's restriction to break blocks on/off
- /ad bp - Toggles the restriction to place blocks on/off
- /ad bp [player/online/all] - Toggles other's restriction to place blocks on/off
- /ad bp [player/online/all] [ON/OFF] - Toggles other's restriction to place blocks on/off
- /ad reload – Reloads config files
- /ad status - Gets current status
- /ad status [player] - Gets players current status
- /ad help - Displays commands
- /ad ac - Shows alternate commands
Config:
https:dev.bukkit.org/bukkit-plugins/admindrop/pages/config/
Notes:
- Remember, always delete your old config or make the appropriate changes when updating to a newer version as things may have changed.
- Items do not stay in inventory on death if drops are toggled to not drop, they just simply do not drop them.
This plugin was authored by pyropyro78.
If anyone has any bugs with the new version or finds that it works on another version please either pm me or post it here. Thank you.
New update is about halfway finished. It is a massive change to how the backend is handled and will be adding in more stability and functionality. It has been lengthy but will be worth it.
* redacted comment
@renualcats
That I have and I am about to undertake writing it over from the ground up, if you have anything you want to see in it I am always open to ideas and input. Sorry it fell out of date there for a long while, shouldn't be happening like that again :)
I've used this plugin for a very long time, I love it.
I had to edit it myself though because it seemed that it was no longer fully compatible. Looks like you updated it now though so thanks!
The plugin has been updated to work better in the current version. I have not redone it from scratch but this is fully functional now.
This plugin is not suitable for use any longer. I have not done much on my plugins in 2 years but after I get my sever up again I will redo this plugin from scratch.
AdminDrop is still under development by me, I just wanted to make a note that the Git is back up for those of you who want to hack away at it and help me in making it better.
New version has been submitted. I have tried my best to test it out fully but if anyone finds anything wrong please post here or open a ticket. It will take probably a day to get the new file approved and up on bukkit for download. I am working on getting my site back up and running to open the source again, for now it is closed.
Edit: still waiting for the new file to be approved, been a couple days so hopefully soon. If you use a 0.2 version u will need to look at old versions of the description page for the permissions.
I should have a new release out here this week. The old version does not appear to have any conflicts with the newest builds from bukkit. The new build will have a revamp of all permissions. Commands will also be coming out in two forms to allow for ease of use for the people that had a hard time working with my short commands. I also have some new features that will be coming out in a future release. If you have any requests for what I should do first please post here and let me know.
EDIT: Make that hopefully before the 17th
I am going to be taking up development again on this plugin, though I will more than likely be moving from github as honestly I am not a huge fan of git.
The first thing I will be doing is checking to see what works and doesn't work in the newest dev build of bukkit and seeing what I can do to clean this up.
I have had some requests to make the permissions nodes as well as the commands simpler and more descriptive. This in mind I will also be taking into consideration giving it all a makeover of sorts.
@Oberdiah
Let me know if this isn't what you are needing. In your arena you can set the flags to give the override permissions of AdminDrop.ddo AdminDrop.puo and AdminDrop.tao. Also there is always the individual setting of /ad [function] [player]. If those will not work post back with exactly what you are needing and I will see if I can include them in a quick update.
Can you add an on/off option so I can have everyone on in an arena, whether they are on or off before I started the fight?
Please note that the above description is for version 0.2.1.0 which is currently waiting approval.
@dylamb6
Made and released as soon as they approve the file. Sending a push through to the git that will include the jar as well as source. Also waiting for the description to change as a lot more has been added.
Cool idea! make it now!!!!!!!!!!!!!!! :)