Updated for 1.13+ servers. Removed hard dependence of minecraft server version, so next (1.14) should in theory work without additional work. Tho knowing Mojang, they will mess that too anyways.
Now reward categories optionally accepts Material: [MaterialName] instead of id and meta lines, as they become deprecated as of 1.13+ servers. Old format is still valid.