Hey guys go use this instead https://modrinth.com/mod/sensible-sleepiness
I made this mod, along with a collection of other small mods, as tweaks to an SMP I used to run. That SMP died three years ago (mid-2021) and my life since has basically diverged from Minecraft, at least the vanilla variant, and I also don't have the time for modding anymore now that I'm in college. I came back just now (8/23/24) because one of my old friends from that server messaged me if we could play on the server again, to see that my mod was actually somewhat used, enough for someone else to fork it. While I recover from my surprise, you can download the forked version of the mod from there. Thanks.
Completely server-side mod for Fabric that allows players to disable phantom spawning (doInsomnia) individually a.k.a. per-player phantom spawning. This means that one player can farm phantom membranes on a server while another player can live their life unbothered by them. By default, however, phantoms are enabled for everyone.
Usage: /insomnia <enable|disable|status>
NOTE: This mod requires the Fabric API.