Melons have low food saturation level.
They don't keep you full for long.
Try a better diet, like meat (steak or porkchop) or bread. Mushroom stews are good, too.
Maybe stop sprinting or jumping excessively.
Hunger management is pretty much minecraft mechanics and has nothing to do with the server.