CustomTime
Customize the day/night cycle through various modes, such as setting specific durations for day and night or syncing in-game time with the real world
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
CustomTime
CustomTime
A Minecraft Paper/Spigot plugin to customize the day/night cycle with multiple time modes.
Features
- REALTIME – Default Minecraft behavior - REALTIME – Set custom day and night durations - REALTIME – Control 4 phases: Sunrise, Day, Sunset, Night - REALTIME – Sync in-game time with real-world time
Installation
1. Download `CustomTime` 2. Place the JAR in your server's `plugins/` folder 3. Restart or reload your server 4. Edit `plugins/CustomTime/config.yml` to configure
Commands
| Command | Description | Permission | | ----------------- | ------------------------- | ---------- | | `/ct help` | Show available commands | Everyone | | `/ct currenttime` | Show current in-game time | Everyone | | `/ct status` | Show plugin status | OP | | `/ct set <mode>` | Change time mode | OP | | `/ct setoffset <hours>` | Set timezone offset (UTC) | OP | | `/ct reload` | Reload configuration | OP |
Permissions
| Permission | Description | Default | | -------------------------------- | ----------------- | ------- | | `customtime.command.help` | View help | true | | `customtime.command.currenttime` | View current time | true | | `customtime.command.status` | View status | op | | `customtime.command.set` | Change mode | op | | `customtime.command.setoffset` | Set timezone | op | | `customtime.command.reload` | Reload config | op |
Configuration
```yaml
Active mode: VANILLA, SIMPLE, ADVANCED, REALTIME
active-mode: SIMPLE
SIMPLE mode: Set day and night durations
simple: day-duration: 10m # e.g. 10m, 30s, 1h night-duration: 5m
ADVANCED mode: Set 4 phase durations
advanced: sunrise-duration: 1m day-duration: 8m sunset-duration: 1m night-duration: 5m
REALTIME mode: Sync with real time (UTC-based)
realtime: timezone-offset: 1 # UTC offset in hours (e.g. 1 for CET, 2 for CEST) ```
Requirements
- Paper/Spigot 1.21+ - Java 21+