Set default starting values for items?

Hey there,
recently I bumped into the issue that there seems to be no way to add water via the console to any item that can store liquids. 

With your plugin i was at least able to produce tons of water fast to setup systems for recording without a water source. 
Is there a way one can change the starting values of items like the jug? so for example whenever I spawn one it holds 5L instead of the 500mL?
Or if I place down a water barrel, that it is already prefilled?

I mean the workaround with your plugin works, but if there is a way to maybe simplify it even more, then it would be interesting to know.

Thanks in advance, have a nice day :D

hi, this plugin just changes the capacity. I don't really have the time to add starting values but I can note it down

Sure, wasn't trying to dictate what you should do, it's only a suggestion. Or even more a question to maybe get a little hint how I could implement it myself.

Thanks for listening to it tho, have a nice day :D

I think you would just get the inventory of the liquid container in OnEntitySpawned, create water, then add the water to that inventory

for items like water buckets and pistols you could use OnItemCraftFinished and add water to the item.contents, and use OnLootSpawn then loop each item and add water to those item.contents. I don't like the idea of using two additional hooks though, especially not OnItemCraftFinished on servers with more than 30 players.