This version will work with both 1.12.2 and 1.13 -- I haven't tested extensively, but very basic attempt hasn't shown anything wrong.
Added smoothsleep.ignore permission that will allow players to bypass being counted as awake without needing another plugin to mark them as sleep ignored.
Added metrics. If you don't want to use the metrics on your server, set enable-metrics: false in the config or use /ssmetrics to toggle it.
Replaced several instances of iterating over Map keySets with entrySets to prevent doing several map look-ups for loop.