To create a dragon, all you need to do is a few mouse clicks. The gif above shows how to do it.
Going from left to right:
The wooden sign allows you to change the name of the dragon (which is also shown in a boss bar). Use "&" to use color codes.
The heart allows you to set the health the dragon has. Note that it has to be lower than "settings.attribute.max-health" in your spigot.yml. As the dragon takes damage, the change will be displayed in a boss bar as well.
The chest allows you to set the loot the dragon drops once it dies. The loot follows very similar rules as specified
here.
Options you can adjust:
Weight: the weight of the drop, read the article linked above for more information
Drop probability: the probability it drops (calculated once for every player that meet the requirements, see article above)
Depend on placed eyes: if set to true, multiplies the drop probability with the amount of eyes you placed
The actual drop: to change the drop, click any item in your inventory
Major loot: whether a drop can be given out only one time or multiple times
Lastly, you can edit the probability of the dragon being summoned. Note that it is not in percent but the specified probability divided by the total probability of all dragons that exist. For example the value for dragon A is 1 and for dragon B 2. The probability for A to appear is 1/(1 + 2) = 1/3, and for B to appear 2/(1 + 3) = 2/3.