WorldGuard Drop Flags
WorldGuard Drop Flags
"WorldGuard" extension that allows server admins to let items dropped in a region disappear after some time automatically. Additionally you can deny pickup of items in specific regions.
How to use this?
This plugin adds five new region flags to worldguard: "drop-despawn-time", "death-drop-despawn-time", "exp-despawn-time", "death-exp-despawn-time" and "allow-pickup"
If drop-despawn-time is set in a region the item will automatically be removed after the given delay (it does not override the default despawning of minecraft). The delay is set in milliseconds. It only applies on items dropped by players.
death-drop-despawn-time works the same way for items that are dropped on player death.
exp-despawn-time despawns exp dropped by players (with exp bottles) after an amount of time.
death-exp-despawn-time despawns the exp a player drops when he dies.
If allow-pickup is set to deny items in the region cannot be picked up.
So simply use the usual WorldGuard region command, like this:
/region flag <region> drop-despawn-time 5000
to let drops disappear after 5 seconds, or:
/region flag <region> drop-despawn-time 0
to instantly remove the item, or:
/region flag <region> drop-despawn-time
to set the flag back to default value (nothing).
The allow-pickup flag works as any other state flag in WorldGuard. Set it to "deny" with
/region flag <region> allow-pickup deny
to deny picking up items that are inside the region.
Permissions
- none yet
Dependencies
The plugin requires the latest WorldGuard Custom Flags.
Click here for some other plugins using WorldGuard Custom Flags.
Problems ?
If you have problems with this plugin read the F.A.Q.. If this did not help you, you can receive help here.
HELP! I put this on my server to make items not drop in a region, and it disabled drops for the whole server! And when i deleted it, it didnt change anything! Please help!
Great one!
Works for 1.5.2 :)
Would be great if this included the drop timers of items from mobs, droppers/dispensers etc as well (seems to only despawn items dropped by players or on death of players)
Great plugin, but it somehow doesn't despawn drops from dead players. Only items dropped manually are being despawned.
i can't let pep's break outside
@slamsape
It should ;)
does this work for 1.5.1?
Please update :)
you sir, is my god. now i can remove no drop plugin and use your good plugin