Lightweight & Highly Configurable Time Based Server Access Control, Control when players can join your Minecraft server with precision and flexibility
Lightweight & Highly Configurable Time-Based Server Access Control
Control when players can join your Minecraft server with precision and flexibility
servertime.bypass<minutes>, <next_window>, and <current_time>/servertime status - View detailed server status with time information/servertime reload - Hot-reload configuration without restart/servertime forceopen - Manually override schedule to open server/servertime forceclose - Manually override schedule to close serverconfig.ymlServerTimeLock.jar from releasesplugins/ folderplugins/ServerTimeLock/config.yml to your needs/servertime reload or restart your serverPerfect for servers with consistent daily hours:
timezone: "Europe/Warsaw"
use-global-schedule: true
use-per-day-schedule: false
global-schedule:
time-windows:
- start: "09:00"
end: "23:00"
Ideal for servers with varying weekday/weekend hours:
timezone: "America/New_York"
use-global-schedule: false
use-per-day-schedule: true
per-day-schedule:
monday:
- start: "15:00"
end: "22:00"
friday:
- start: "15:00"
end: "23:59"
saturday:
- start: "00:00"
end: "23:59" # Open all day
sunday:
- start: "10:00"
end: "22:00"
Great for servers with lunch breaks or split sessions:
global-schedule:
time-windows:
- start: "08:00"
end: "12:00"
- start: "14:00"
end: "18:00"
- start: "20:00"
end: "23:00"
Check Server Status
/servertime status
Displays current open/closed state, time until next change, and next window.
Quick Configuration Update
/servertime reload
Apply config changes without restarting the server.
Emergency Override
/servertime forceopen
/servertime forceclose
Manually control server access. Automatically reverts on next scheduled window.
Players see beautiful, informative messages when:
All messages support full MiniMessage formatting with colors, gradients, and styles!
timezone: "Europe/Warsaw" # Any valid IANA timezone
allow-op-bypass: true # Let OPs bypass restrictions
enable-bypass-permission: true # Enable servertime.bypass permission
alerts:
- minutes-before: 5
types:
- CHAT
- TITLE
- ACTIONBAR
message: "<red><bold>⚠ CLOSING IN 5 MINUTES!</bold></red>"
soft-lock-enabled: true # Let online players stay, block new joins
| Permission | Description | Default |
|---|---|---|
servertime.bypass |
Bypass all time restrictions | false |
servertime.admin |
Access to all commands | op |
servertime.status |
View server status | true |
servertime.reload |
Reload configuration | op |
servertime.force |
Use force open/close commands | op |
Use these placeholders in any message:
<minutes> - Minutes remaining/until opening<next_window> - Next opening/closing time (HH:MM format)<current_time> - Current server timemonday:
- start: "22:00"
end: "02:00" # Continues into Tuesday morning
The plugin correctly handles players online during the transition and prevents kicks during valid windows.
use-per-day-schedule: true
per-day-schedule:
saturday:
- start: "00:00"
end: "23:59"
sunday:
- start: "00:00"
end: "23:59"
# Other days have no windows = always closed
per-day-schedule:
monday:
- start: "15:30" # After school
end: "21:00"
tuesday:
- start: "15:30"
end: "21:00"
wednesday:
- start: "15:30"
end: "21:00"
thursday:
- start: "15:30"
end: "21:00"
friday:
- start: "15:30"
end: "23:30" # Extended Friday hours
saturday:
- start: "10:00"
end: "23:30"
sunday:
- start: "10:00"
end: "21:00"
✅ Production-Ready: Clean code, comprehensive error handling, and thorough testing
✅ Highly Configurable: Every aspect is customizable without code changes
✅ User-Friendly: Beautiful messages and intuitive commands
✅ Performance Optimized: Lightweight with minimal resource usage
✅ Modern: Paper API, Java 17+, and MiniMessage support
✅ Actively Maintained: Regular updates and bug fixes
Made with ❤️ for the Minecraft community