nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
IP as Server Name

IP as Server Name

Mod

When adding a new server, if a name isn't provided, use the IP address.

Client ManagementUtility

1,906 downloads
15 followers

IP as Server Name

Overview

When adding a new server, if a name isn't provided, the mod will save the server with its IP address as the name.

How It Works

The underlying code simply injects into the addAndClose() method inside the AddServerScreen class to check whether the server name equals "Minecraft Server" (the default server name), and if so sets the name to the address

private void addAndClose(CallbackInfo ci) {
    if (server.name.equals("Minecraft Server")) {
        server.name = server.address;
    }
}

(the server variable comes from a @Shadow)

Note

The mod should work on all versions, if it doesn't please report it on the issues page!

External resources


Project members

Now this is crazy

Now this is crazy

Organization

RedVortexDev

Developer


Technical information

License
MIT
Client side
required
Server side
unsupported
Project ID