PrivateDrops
PrivateDrops v1.1.1
Introduction
This plugin will allow protection of dropped items for an amount of time specified in the config. E.g. If a player drops a diamond, no one else will be able to pick it up for x seconds. The configuration file allows for protection for different types of drops, such as death drops, block breaking drops, and more.
Installation
To install this plugin, simply download it and put it in the plugins folder on your server. After that, restart it to generate the config.yml file.
Configuration
This section will provide more information on what each option in the config does.
- seconds-until-public | The amount of seconds until an item's protection is removed.
- enabled-worlds | List of worlds that drop protection is enabled for (besides users with privatedrops.allworlds).
Commands & Permissions
- privatedrops.private.basic | Allows the items that the player drops to be protected for an amount of time. This protection will be removed if the player leaves the server unless they have the permission node privatedrops.private.quit.
- privatedrops.private.break | Allows the items that drop when a block is broken by the player to be protected for an amount of time (via mining, punching, excavating, etc.).
- privatedrops.private.death | Allows the items that the drop on the players death to stay protected for an amount of time.
- privatedrops.private.quit | Allows the items that the player drops to be protected when they quit for an amount of time.
- privatedrops.allworlds | Allows the items that the player drops to be protected in all worlds, not just enabled ones.
- privatedrops.ignore | Allows player to ignore protections and pick up items regardless. Since OPs will get this by default, you can give the actual player * -privatedrops.ignore (notice the hyphen at the start) which will negate the permission if you don't want OPs doing this.
Current Features
- Different types of protection.
- Configurable length of time until protection is removed.
- Per-world support (added in v1.1.0) [suggested by 2008Choco]
Planned Features
- Add more types of protection.
Requests are welcome!
Donations
If you like my work and want to support what I do, this is my PayPal donation link: https://paypal.me/OceanSharma :)
Changelog
View download page for an up-to-date changelog!
-
If you run in to any errors, please submit a ticket or direct message me instead of leaving a negative comment :)
@oceantheskatr
(without gamemode) PrivateDrops 1.1.0 . use silk touch to mine the redstone block (ID:73) the redstone become stone . and the block id: 78 when break no drop . and spam console. plx fix
[01:57:47 ERROR]: Item entity 1322 has no item?! SPAWN X ~ 100
@2008Choco
Thanks for the help, I've gotta YouTube how to set up tickets, lol!
@samueli5750
Developers work VERY hard, my friend. Some people also don't realize that we do have lives as well. People seem to think we have all the time in the world. Me for example, I am almost 16 years of age, and in Grade 11 of highschool. It's tough managing plugins and school work at the same time, whilst maintaining a proper and active social life as well.
The best you can do, is cooperate and help us out a bit ^-^ And the comments section of a plugin isn't the best place to leave a bug report. Please view the ticket section of every BukkitDev post to report a bug. In oceantheskatr's case, the link would be as followed: http://dev.bukkit.org/bukkit-plugins/privatedrops/tickets
(I notice he has not set that up, so that might be a good thing to do, ocean :D Use internal ticket/bug tracker)
@samueli5750
I have tested a lot. Why don't you tell me how you get errors and how I can recreate them so that they can be fixed. Thank you.
PrivateDrops v1.1.0 error message. when drop some item on the ground....please test more when your release.
@2008Choco
I've added per-world support and credited you in the description :) It will be available in the v1.1.0 release which is now awaiting approval.
@oceantheskatr
Of course! I love just browsing random plugins and leaving feedback / nice comments. I love seeing them on my projects, so why wouldn't I leave them on other projects? :D
@samueli5750
Hmm? I fixed banner last update.
also with banner
@samueli5750
What are you doing when that happens? I've fixed it for banners already. I have a suspicion that I will test out in a little bit, however let me know soon if you can :)
@2008Choco
Surprisingly, I've actually never used GriefPrevention, and know next to nothing about it. I've managed Towny, Factions, and Prison servers, so the closest I would've gotten is something like PlotMe. Anyways, I actually saw this on Wynncraft a while back and thought it'd be an amazing plugin for people to have (especially for prison servers). Yes, not originally my idea, however on there it simply protected your items for a bit when you dropped them.
I had been thinking about different features to make it really awesome, as I didn't know of any public plugins that offered this. I will make sure to add in per-world-support, as I'm sure many people will like that!
Thank you for the feedback :)
This is a great idea. I could only imagine you got the idea for this plugin from GriefPrevention. It's not an idea theft though because you put a twist on it. GriefPrevention protects item, ON DEATH. Your plugin prevents all items 100% of the time for a specified amount of time in the config. Very nice idea, as this feature can be very useful for many servers. Survival servers with no PvP being one that I can immediately think of.
If I were you, I would add a List config option to determine which worlds this plugin will be enabled in. If I don't suggest this to you now, someone will put in a ticket suggesting this in the future. For a plugin in this category, someone is bound to ask for it.
Other than that, very great job. Keep doing what you're doing, man
STILL HAVE BUG . I don;t know my player doing what. however , spam the consle and server.log
PrivateDrops-v1.0.4
[20:05:08] [Server thread][ERROR]: Item entity 68284 has no item?! [20:05:08] [Server thread][ERROR]: Item entity 68284 has no item?! [20:05:08] [Server thread][ERROR]: Item entity 68284 has no item?! [20:05:08] [Server thread][ERROR]: Item entity 68284 has no item?!
[20:27:49] [Server thread][ERROR]: Item entity 273451 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273451 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273451 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273451 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273500 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273500 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273500 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273451 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273451 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273451 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273500 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273500 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273500 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273451 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273500 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273500 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273500 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 273451 has no item?! [20:27:49] [Server thread][ERROR]: Item entity 272734 has no item?!
Sexy
@samueli5750
I'll take a look at this and get it fixed as soon as possible!
Bug report.
[19:13:20 ERROR]: Item entity 887 has no item?! [19:13:20 ERROR]: Item entity 887 has no item?! [19:13:20 ERROR]: Item entity 887 has no item?! [19:13:20 ERROR]: Item entity 887 has no item?! [19:13:20 ERROR]: Item entity 887 has no item?! [19:13:20 ERROR]: Item entity 887 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:23 ERROR]: Item entity 888 has no item?! [19:13:24 ERROR]: Item entity 888 has no item?! [19:13:24 ERROR]: Item entity 888 has no item?!
when you use the silk touch break the banner then it will show above error message to spam your console
@oceantheskatr
You are welcome! Because you plugin is very useful us.
@samueli5750
I'm loving the bug reports! Just squashed that one :) Fixed silk touch support.
BUG. PrivateDrops v1.0.2
if you have silk touch then when you break the glass or dirt IT will disappear
@samueli5750
I've fixed the problems you notified me of. Updated file pending approval.