[Request] Server-side plugin that prevents mobs spawning above ground at night but allows mobs to spawn in caves?

Ideally I would like a spigot plugin that makes the game pretend it’s “daytime” for the purpose of mob spawns, even at night. If this isn’t possible, I would also settle for a fabric mod that disables hostile spawns above sea level. Does this exist?

My use case is a “semi-peaceful” server; I want to make sure it’s always safe to explore the surface so that players don’t get ambushed by mobs when logging in at night, but I don’t want to completely remove hostile spawns because it would make some items and blocks unobtainable. I suppose a worst-case-scenario option would be to set the server to Peaceful mode and add crafting recipes for the missing mob drops?

digitalgadget,

What about allowing mobs to spawn in another dimension? Either the Nether and End or a second Overworld? It should be straightforward to get some code that lets you set difficulty per-dimension.

CodyCannoli,

Not sure if this helps but the V-Tweaks mod has something like this where you can set it so mobs don’t spawn above y=64.

Peafield,

I’m sure you know but this is a feature of terrafirmacraft. Maybe check the modlist there to see if you can adapt it for your server.

klay,

I didn’t know that! I’d prever to use server-only mods though, for Geyser compatibility, but thanks for the suggestion!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • [email protected]
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • Socialism
  • TheResearchGuardian
  • Ask_kbincafe
  • KbinCafe
  • Testmaggi
  • feritale
  • oklahoma
  • SuperSentai
  • KamenRider
  • All magazines