TShock/TShock — pull request #332 by k0rd (2012-01-24 05:07:41+00:00)
Title: Prevents users from sneaking items onto server in their hands!

This code adds 1 Configuration option - LogonDiscardThreshold. It is a time, in milliseconds, to disallow player drops from the time they logon to the server when ServerSideInventory is enabled.

Previously, a user could sneak items onto a server by holding the item in their hand while they quit another world. The item is automagically dropped when they login to the new world, bypassing inventory checks.

It defaults at 250ms. The thinking behind this is that there aren't any items legitimately discarded 1/4 of a second within joining a server.