האם יש דרך לציין מינימום ומקסימום עבור settings.yml עבור פלאגין?

Weird thing is that it resets the value to back to 0.0 when I enter an invalid number but only upon refreshing. But no errors are appearing on the UI side either way.