packets.lua: Added data modifying option