Scheduled Dimension Lock is a server-side only NeoForge mod for Minecraft 1.21.1 and 26.x (26.1.2 / 26.2 / 26.3) that schedules when dimensions unlock — and lock again. Vanilla clients can join without installing the mod. English and Japanese language files are built in, with automatic English fallbacks for vanilla clients.
Features:
- Open windows — schedule an unlock time and a re-lock time as a pair. When an event ends, the dimension automatically locks again and evacuates players back to the Overworld world spawn.
- Countdown announcements — server-wide chat notices as the remaining time crosses configurable thresholds (default 7d, 1d, 12h, 1h, 10m, 5m, 1m).
- Catch-up on restart — schedules run on real-world wall-clock time, not in-game ticks. Transitions missed while the server was offline are applied on startup.
- Public status — any player can run /sdl status; no OP needed.
- In-game scheduling — operators lock, unlock, schedule, clear, evacuate, and reload entirely via commands. No config edits or restarts.
- Defense in depth — portal/gateway/command travel into a locked dimension is cancelled for players and non-player entities alike, and a periodic check (plus login/respawn checks) removes anyone found inside a locked dimension. OPs (permission level 2+) can bypass when opBypass = true.
- Per-world persistence — lock states and schedules are stored in world SavedData. The Overworld can never be locked.
Commands: /sdl status [dimension] (public); /sdl lock|unlock <dimension>; /sdl schedule ...; /sdl evacuate <dimension>; /sdl reload (OP commands are permission level 2).
Configuration: scheduleddimensionlock-server.toml is generated in the server's config/ folder on all supported versions (on 26.3 a per-world override under <world>/syncedconfig/ is also recognized). Keys: timezone, opBypass, evacuateOnLock, announceCountdown, countdownThresholds, blockedMessageCooldownSeconds, plus per-dimension default schedules. See the GitHub README for the full table.
Note: custom teleport mechanisms from other mods that bypass NeoForge's travel event may not be intercepted immediately; the periodic check acts as the final safety net.