Dimensions not working
Closed this issue · 12 comments
When I type /dimensions I see names of the servers that I added to config.js
But when I type / and one of the names, I get the standard "Invalid command" message
I can connect to each of the servers individually just fine (using the listenPort port from the config, so I guess the routing is working)
Make sure the names you specified in the config are lowercase.
Okay, I changed the names to lowercase and now the command is working (also, on the config wiki page all server names start with capitals, you should probably change that). However I noticed a problem: after switching to another world the map becomes messed up. It has some weird chunks of terrain from previous server and the new one. Also some NPCs get transferred to the second server. After reconnecting to the second server the NPCs disappear, but the map is still broken
If you are talking about the map only and not the world itself, then the map data is not cleared when switching because the game does not support this.
As for NPCs it's possible this is due to the current release not supporting certain npc parameters. If you are willing, you can try to build from the latest source and see if that has the same problem.
Yeah, only the map is not working, the world is fine. Are you sure the map can't be reset using a plugin or something?
Okay, I can try building from source. What do I need to build, the plugin or the node app?
The server doesn't really have power to tell the client what to do with their map. You could do some hacky thing with empty chunks maybe but it's going to make switching take longer and maybe not reliable. Either way you are going to have trouble getting separate maps for each dimension because the game fundamentally doesn't support it.
You will only need to build the node app. For building the primary instructions are https://github.com/popstarfreas/Dimensions#development
Okay, I see
Cool, I will try to build and report back
Nope, I can still see NPCs from previous server when joining another one
To confirm is this on the dev
branch?
Yep. Github Desktop says so
I'll check it out locally and see if I can replicate this.
Okay
Also, if this helps you, it seems like the "ghost" NPCs appear when you switch from the world that has those NPCs, to the world were they haven't arrived yet.