
Modrinth · Minecraft mod
Use Server Name
Use the server name instead of the ip to save server related data
Quick answer
Which Use Server Name release should I use?
Use Server Name 2.6.0+mc1.21.9 targets 1.21.9 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 2 required mods have matching files.
Where it goes
Is Use Server Name required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Use Server Name 2.6.0+mc1.21.9 need?
2.6.0+mc1.21.9. Change the file and its required mods may change too.
Install Fabric API, YetAnotherConfigLib (YACL) first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.
1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Use Server Name without breaking your instance.
Built for Use Server Name 2.6.0+mc1.21.9. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 2.6.0+mc1.21.9. It targets 1.21.9 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API, YetAnotherConfigLib (YACL) first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 2.6.0+mc1.21.9. It opens that exact file at the source.
About this project
What does Use Server Name add?
Use Server Name
Have you ever used a mod that saves data locally when playing on a server,
but you use a server that regularly changes IP?
If yes this mod is for you,
as long as you use the same server name in the multiplayer join screen all your data will still be there.
For server owners
Add the mod to the server so the users don't have to fiddle with configuration and can just connect.
You can change to server name in the config file under ./config/useservername.json5.
For modpack makers
Add the mod for both sides,
and you don't need to adjust the config as the servername is randomly generated on the first lauche of the server.
For modders
Don't add this mod as a dependency, use the objectShare and use the string you can get from(String) objectShare.get(useservername:serverId). The string can be null.
It is first initialized when the ClientPlayConnectionEvents.INIT event is fired but the string can be overwritten
after the firing of the ServerPlayConnectionEvents.INIT event.
Currently, supported mods:
Project description from Modrinth.
Pick your setup
Use Server Name by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.9
1 loader build1.21.1
1 loader build1.21
1 loader build1.20.4
2 loader builds1.20.3
2 loader builds1.20.2
2 loader builds1.20.1
2 loader builds1.20
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Use Server Name versions and loaders
2.6.0+mc1.21.9
UseServerName-2.6.0+mc1.21.9.jar
3 Oct 2025
2.5.0+mc1.21
UseServerName-2.5.0+mc1.21.jar
4 Sept 2024
2.4.0+mc1.21
UseServerName-2.4.0+mc1.21.jar
29 Aug 2024
2.3.0+mc1.21
UseServerName-2.3.0+mc1.21.jar
28 Aug 2024
2.2.0+mc1.21
UseServerName-2.2.0+mc1.21.jar
20 Jun 2024
2.1.0+mc1.20.4
UseServerName-2.1.0+mc1.20.4.jar
7 Mar 2024
2.0.0+mc1.20.4
UseServerName-2.0.0+mc1.20.4.jar
9 Feb 2024
1.5
UseServerName-1.5.jar
24 Jan 2024
1.4
UseServerName-1.4.jar
18 Jan 2024
1.3
UseServerName-1.3.jar
30 Dec 2023
1.2
UseServerName-1.2.jar
29 Dec 2023
1.1
UseServerName-1.1.jar
29 Dec 2023
Looking for an older file? The official Modrinth project page is in Resources.