
Use Server Name
Use the server name instead of the ip to save server related data
- Загрузки
- 2K
- Подписчики
- 10
- Обновлён
- 3 октября 2025 г.
- Лицензия
- GPL-3.0-only
Опубликован 13 декабря 2023 г.
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:
Ченджлог
2.6.0+mc1.21.9Релиз1.21.9 · 3 октября 2025 г.
Update to Minecraft Version 1.21.9
2.5.0+mc1.21Релиз1.21, 1.21.1 · 4 сентября 2024 г.
Make compatible with Xaero's Minimap 24.4.0
2.4.0+mc1.21Релиз1.21, 1.21.1 · 29 августа 2024 г.
Make compatible with Xaero's Minimap 24.3.0 and Xaero's World Map 1.39.0
2.3.0+mc1.21Релиз1.21, 1.21.1 · 28 августа 2024 г.
- Add Distant Horizons support
- Add option to disable mod for specific mods
2.2.0+mc1.21Релиз1.21, 1.21.1 · 20 июня 2024 г.
Update to 1.21
2.1.0+mc1.20.4Релиз1.20.2, 1.20.3, 1.20.4 · 7 марта 2024 г.
Add support for Xaero's Minimap and Worldmap
2.0.0+mc1.20.4Релиз1.20.2, 1.20.3, 1.20.4 · 9 февраля 2024 г.
Add server side code and completely rewrite the code
1.5Релиз1.20.2, 1.20.3, 1.20.4 · 24 января 2024 г.
Universal jar 1.20
Комментарии
Загружаем…