TurtyWurty Posted March 21, 2020 Posted March 21, 2020 (edited) Hello everyone, I was wondering how you get the name of the world. Just to solve any confusion with this, i mean the save name so for example, the default name is New World. So basically I want to get this name. I have already tried several things, but sadly none have given me what I have been looking for, I have tried: world.getWorldInfo().getWorldName() But this gave me back MpServer, which was not the world name. I also tried: world.getProviderName() but that gave me something about chunks, so basically not what I was looking for. So if anyone knows that would be much appreciated! ?? I solved it by doing: world.getServer().getWorldName() Edited March 21, 2020 by TurtyWurty solved Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.