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.
@ConquestServer
WorldGuard already has that built-in :D
/region flag <region> item-drop <allow/deny>
I see you made it so we can allow or deny picking up in a region, but could you make it so we can deny players from dropping items from their inventory when in certain regions? Maybe like /region flag <region> allow-drop deny ??? thanks. really need this, cant further my server along without it!!
Hey, it works with "should not drop", but if somebody die in region where its not allowed to drop, he drops always his inventary. Does anybody have an idea to fix this? Aso not with these plugin? (But please don't say Modifyword ;) )
@lecraeman
The reason why you doesn't work is cause you forgot that it realizes on another plugin bottom of the page for WorldGuard Drop Flags.
Dependencies
The plugin requires the latest WorldGuard Custom Flags.
But none of the flags do there job right now so it does need some updating because I can still pick with deny the pick up flag and clear items flag nothing is happening.
@BlockWar
What did you do to fix it? Doesn't work at all for me....
Doesn't seem to be working at all :L
Working Now :D
@BlockWar
It should work with 1.7, if you have problems please create a thread in the forum.
Dont work with 1.7 :(
@der_mewin
I was using this for 1.6.2 a while back and it didn't work for it.
Drop flags keep desappearing, plase look into it!
@XPassw0rd
Why do you think it does not work with 1.7.2?
Please update to 1.7.2
@sharqman
Why do you think an update is needed? :O
An update would be much appreciated!
Items don't despawn instantly with despawn time and death-despawn time 0, and allow-pickup doesn't work either. It broke in 1.6.2 randomly. I am now using 1.6.4 Please do fix :)
Hi, Im trying to use this on my PvP kits server, however I get the message that death-drop-despawn-time isn't known? This should be in the 0.2 release.
Im Having some Trouble Guys.
Im a relatively new member to the serve scene :P.
Im running a Galacticraft server, When people return from the Moon, they return with a Parachute Chest. It contains Their items wihich they've returned with from the Moon.
Here lies the problem. When they Break that chest it turns into 'unnamed 609' It looks like a normal chest, it acts like a normal chest, except when they try and combine said chest with a 'normal' wooden chest to make a double chest. It Crashes the server.
Is there an updated version, of this plugin that Works with 1.5.2?
Thanks in advance! - Wardzinc!
"(it does not override the default despawning of minecraft)"
Why?
@ReallyDumbVideo
This plugin will definitely not do anything after you deleted it. Maybe give me more information about your server setup and post it in the forum pls.