When I am on my friends server,(hosted from aternos.org)there are no hostile mobs spawning(except phantoms) in the Overworld but in the End and Nether dimensions they spawn as they should.
BUT, when there are two people on the server all mobs in the Overworld all hostile mobs spawn as normal and when there's only one player online none spawn.
Yes, the world is on hard mode.
Yes, mobSpawning gamerule is on true.
In single player everything is fine. It's only on the server.😞👎
Related issues
Comments

I have the same issue on my friend's and my server. To be clear, we started this world on 1.14.4, never having upgraded from a previous world like all the "duplicate"s suggest. As soon as a second player logs on to the world, the mob spawning in the overworld returns to normal.
Looking for anything I can do to resolve this issue. If mob spawning returns to normal after another person logs on, it doesn't seem like running around /kill-ing all the potential stuck mobs would resolve it. It would just return after the 2nd player logs off again.