Couldn't find this issue in the forum, so creating a new Thread. I have imported a world in pmmp. This went fine and the world loades ok, but when I try to warp to this world with the "world" command from the essentialspe plugin I cannot specify a world name with spaces in it. One thing I could do is rename the world, but then I also have to edit the level.dat file in order to let pmmp load the world in a correct way without loading it as a new world. Or I have to find out how to warp to a world with spaces in the name. Things I tried: - name with " " - name with ' ' - world folder name and world name in the start.sh output differ, so tryed both Nothing worked.
Hi @TuxerP! The world command from EssentialsPE currently only accepts one parameter. Spaces don't work. I would like to recommend you to either edit the folder name of the world, and the name inside of the level.dat with an nbt editor. If you don't feel like doing this with a nbt editor, you could use the ManyWorlds plugin and do /mw fixname to change the NBT name to the folder name.
Alright. I was already suspecting such a thing . I'll use the ManyWorlds plugin since that looks like the fastes way to fix this. Thx for you're fast response!!
Very cool @Sandertv!!! This worked like a charm. Stopped pmmp, renamed the folder. Then started pmmp again and then did a "mw fixname FunWorld". This triggered the level.dat fix and then I could use the EssentialsPE "world" command to warp to the world. Thx. Hmmm, something for an FAQ or tutorial section xD???
still supporting spaces wouldnt be a bad idea like "world with ton of spaces" that's how windows handle things that has spaces in it
@Sandertv maybe you can make underscores represent spaces in world/folder names, but that would make underscores in names unusable...
Lots of maps are named with spaces in the world name and level.dat file. Linux does something with an escape charater like "Fun\ World\ V1.0.1" when there are spaces in a name. I don't know how php handles this in variable names.