2.3.0
Compatibility
Required content
Changes
Security update: closes several ways around the login screen and stores passwords more safely.
Updating is recommended for every server. Existing passwords keep working and no configuration changes are needed; just replace the jar with the one matching your server, for example safeserver-2.3.0+mc26.3.jar for a 26.3 server.
Security fixes
- Players who have not logged in can no longer use the spectator menu to teleport to other players. This revealed where those players were and could move the unauthenticated player into another dimension.
- Chat is blocked until a player logs in.
/setpasswordcan no longer replace an existing password. Changing a password now always goes through/changepassword, which asks for the old one.- Players are kicked after 5 wrong passwords, or if they have not logged in within 60 seconds.
- Passwords are now stored as salted PBKDF2 hashes instead of plain SHA-256, so a leaked
passwords.jsonis far harder to crack. Old hashes still work and are upgraded automatically the next time each player logs in. - If
passwords.jsonis damaged, the server now refuses to start and explains what to do. Previously it loaded as empty, which let anyone register a new password for any account. - Saves are written to a temporary file and swapped in, and are finished before the server stops, so a crash can no longer leave a half-written password file.
Other fixes
- If the server crashes while someone is logging in, their gamemode, dimension and position are restored on their next join. Previously they were stuck in spectator mode above spawn. This state is kept in the new file
config/safeserver/auth-sessions.json, which is created automatically. - Operators get their permissions back on the client as soon as they log in, so the full command list and the gamemode switcher work without rejoining.
/resetpasswordnow works on offline players and from the server console, and requires permission level 2. Previously any op level was enough.- The
/setpasswordprompt shows the correct usage, and all password commands read their arguments the same way. New passwords cannot contain spaces.
Supplementary resources
| File | Type | Size | |
|---|---|---|---|
| safeserver-2.3.0+mc1.20.1-sources.jar | Sources jar | 24.88 KiB | |
| safeserver-2.3.0+mc1.20.1.jar | Unknown | 46.44 KiB | |
| safeserver-2.3.0+mc1.20.2-sources.jar | Sources jar | 24.86 KiB | |
| safeserver-2.3.0+mc1.20.2.jar | Unknown | 46.45 KiB | |
| safeserver-2.3.0+mc1.20.3-sources.jar | Sources jar | 24.86 KiB | |
| safeserver-2.3.0+mc1.20.3.jar | Unknown | 46.45 KiB | |
| safeserver-2.3.0+mc1.20.4-sources.jar | Sources jar | 24.86 KiB | |
| safeserver-2.3.0+mc1.20.4.jar | Unknown | 46.46 KiB | |
| safeserver-2.3.0+mc1.20.5-sources.jar | Sources jar | 24.85 KiB | |
| safeserver-2.3.0+mc1.20.5.jar | Unknown | 46.53 KiB | |
| safeserver-2.3.0+mc1.20.6-sources.jar | Sources jar | 24.85 KiB | |
| safeserver-2.3.0+mc1.20.6.jar | Unknown | 46.52 KiB | |
| safeserver-2.3.0+mc1.21-sources.jar | Sources jar | 24.87 KiB | |
| safeserver-2.3.0+mc1.21.1-sources.jar | Sources jar | 24.88 KiB | |
| safeserver-2.3.0+mc1.21.1.jar | Unknown | 46.52 KiB | |
| safeserver-2.3.0+mc1.21.10-sources.jar | Sources jar | 24.91 KiB | |
| safeserver-2.3.0+mc1.21.10.jar | Unknown | 46.69 KiB | |
| safeserver-2.3.0+mc1.21.11-sources.jar | Sources jar | 24.93 KiB | |
| safeserver-2.3.0+mc1.21.11.jar | Unknown | 46.83 KiB | |
| safeserver-2.3.0+mc1.21.2-sources.jar | Sources jar | 24.89 KiB | |
| safeserver-2.3.0+mc1.21.2.jar | Unknown | 46.51 KiB | |
| safeserver-2.3.0+mc1.21.3-sources.jar | Sources jar | 24.9 KiB | |
| safeserver-2.3.0+mc1.21.3.jar | Unknown | 46.51 KiB | |
| safeserver-2.3.0+mc1.21.4-sources.jar | Sources jar | 24.9 KiB | |
| safeserver-2.3.0+mc1.21.4.jar | Unknown | 46.51 KiB | |
| safeserver-2.3.0+mc1.21.5-sources.jar | Sources jar | 24.9 KiB | |
| safeserver-2.3.0+mc1.21.5.jar | Unknown | 46.51 KiB | |
| safeserver-2.3.0+mc1.21.6-sources.jar | Sources jar | 24.9 KiB | |
| safeserver-2.3.0+mc1.21.6.jar | Unknown | 46.5 KiB | |
| safeserver-2.3.0+mc1.21.7-sources.jar | Sources jar | 24.9 KiB | |
| safeserver-2.3.0+mc1.21.7.jar | Unknown | 46.5 KiB | |
| safeserver-2.3.0+mc1.21.8-sources.jar | Sources jar | 24.9 KiB | |
| safeserver-2.3.0+mc1.21.8.jar | Unknown | 46.5 KiB | |
| safeserver-2.3.0+mc1.21.9-sources.jar | Sources jar | 24.91 KiB | |
| safeserver-2.3.0+mc1.21.9.jar | Unknown | 46.69 KiB | |
| safeserver-2.3.0+mc1.21.jar | Unknown | 46.52 KiB | |
| safeserver-2.3.0+mc26.1-sources.jar | Sources jar | 24.38 KiB | |
| safeserver-2.3.0+mc26.1.1-sources.jar | Sources jar | 24.38 KiB | |
| safeserver-2.3.0+mc26.1.1.jar | Unknown | 46.52 KiB | |
| safeserver-2.3.0+mc26.1.2-sources.jar | Sources jar | 24.38 KiB | |
| safeserver-2.3.0+mc26.1.2.jar | Unknown | 46.52 KiB | |
| safeserver-2.3.0+mc26.1.jar | Unknown | 46.52 KiB | |
| safeserver-2.3.0+mc26.2-sources.jar | Sources jar | 24.38 KiB | |
| safeserver-2.3.0+mc26.2.jar | Unknown | 46.52 KiB | |
| safeserver-2.3.0+mc26.3-sources.jar | Sources jar | 24.37 KiB |
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:vI3MQVTo:z9hn5LMh"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:vI3MQVTo:z9hn5LMh"
}

