1.2
Compatibility
Changes
Added /rpadd a command for adding users to the whitelist.
[Core]
- Safe, clean server restart system
- Prevents joins during restart
- Kicks players safely before shutdown
- Waits for 0 players online before shutting down
- Designed for use with external auto-restart systems
[Scheduling]
- Automatic restarts based on configurable hour interval
- Manual restart scheduling in minutes
- Restart timer persists during runtime
- Countdown warnings before restart
[Commands]
-
/rptime Shows time remaining until next restart
-
/rprestart Starts immediate safe restart
-
/rprestart <minutes> Schedules a safe restart after X minutes Displays chat + large title countdown warnings
-
/rplock Enables partial lock (only ops/whitelist can join)
-
/rplock off Disables partial lock
-
/rplock status Shows lock status
-
/rpkick Kicks all players who are not ops or whitelisted
-
/rpadd Command for adding users to the whitelist.
[Access Control]
- OP / permission-based command access
- Name-based whitelist support via whitelist.yml
- Whitelist auto-created on first startup
- Whitelist auto-reloaded on relevant commands
[Config Handling]
- Auto-detects legacy configs
- Backs up old config files automatically
- Migrates old keys to new format without data loss
[UX]
- Chat broadcast restart warnings
- Large on-screen title alerts
- Customizable messages via config.yml
[Safety]
- Prevents duplicate restart sequences
- Prevents overlapping countdowns
- Prevents joins during critical shutdown phase
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:1D0waE47:YxOE71sU"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:1D0waE47:YxOE71sU"
}

