Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
IP as Server Name

IP as Server Name

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

3,398
20
Management
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.x
1.7.x
1.6.4
1.6.1–1.6.2
1.5.x
1.4.4–1.4.7
1.4.2
1.3.x
1.2.x
1.1
1.0

Platforms

Fabric

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Join Discord server

Creators

Now this is crazy
Now this is crazyOrganization

RedVortex
RedVortex Developer

Details

Licensed MIT
Published last year
Updated 9 months ago
DescriptionGalleryChangelogVersions

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.

Outdated? Bugs? Crashes?

Join the NowThisIsCrazy Discord, most of my mods are only maintained upon request and handled within the same day, so just ask!

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!

Modrinth is open source.

app-ads@1633f40

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.