All versions
1.2.0
Beta
Server Restart Command 1.2.03 months ago 42
Compatibility
Minecraft: Java Edition
26.2
26.1.x
Platform
Fabric
Supported environments
Dedicated servers only
Changes
Server Restart Command 1.2.0 Beta
Added
- Added
/shutdown. - Added
/shutdown <delay_seconds>. - Added configurable player restart/shutdown warnings.
- Added
warningIndicatorconfig option:chatactionbarboth
- Added
warningColorconfig option. - Added configurable restart warning messages.
- Added configurable shutdown warning messages.
- Added message placeholders:
{seconds}{second_word}{operation}
Changed
- Existing config files are automatically updated with the new warning settings on startup.
- Restart and shutdown scheduled messages now use configurable text.
Example Config
warningIndicator=both
warningColor=yellow
restartWarningMessage=[SERVER] Restart in {seconds} {second_word}.
restartNowMessage=[SERVER] Restarting now.
restartScheduledMessage=Restart scheduled in {seconds} {second_word}.
shutdownWarningMessage=[SERVER] Shutdown in {seconds} {second_word}.
shutdownNowMessage=[SERVER] Shutting down now.
shutdownScheduledMessage=Shutdown scheduled in {seconds} {second_word}.
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:9Hb41uwj:HlbO0gzi"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:9Hb41uwj:HlbO0gzi"
}

