The Lost Cities

The Lost Cities

62M Downloads

Server Config for 1.14+needs to be documented.

cbabione opened this issue ยท 15 comments

commented

Awesome mod, but hard to get running on a 1.15 server in the default world and documentation is lacking for this. I was able to accomplish it by pre-seeding a profile the config in the /world/serverserverconfig/lostcities-server.toml file before generating the world and it worked. Would it be possible to get the correct way to configure servers on curse forge? It is there as a "todo" on the page. If what I described is the correct way for 1.14+ servers, I would be happy to write up a short snippet for you to use on the curse forge page.

commented

Can you document getting this mod to run on a 1.15 server? Tried for an hour last night, couldn't get it to work.

commented

The documentation on the curseforge page is not 100% complete but it should be enough to get it working on a server. What went wrong?

commented

Hmm that's weird though. Lost Cities on 1.14/1.15 really doesn't do anything weird. It's basically just a feature added with the standard vanilla system. If bukkit can't cope with that it will not be able to cope with any worldgen mod

commented

Disregard my comment, just turns out this mod isn't Bukkit compatible.

commented

For me the lost cities won't even generate in a 1.15.2 server with BOP, then again I don't know if I'm configuring it correctly since the guide for servers is scarce. If someone's able to type a quick guide, that'd be great!

commented

I have already written a guide for 1.15 on the lost cities page. What exactly is missing?

commented

I found your mod through Curseforge and for server it says I need to copy lostcities-server.toml to the server config folder, so I double checked the file in my singleplayer save and both the selectedProfile and selectedCustomJson are empty(one says ) I believe the file's not properly configured even though the cities do spawn in singleplayer.

If I were to copy that file to my server config folder, nothing spawns in my multiplayer world so I'm a bit lost with what I exactly have to configure for it to work on my forge server with BOP.

commented

Did you first create a lost City single player world as it explains on the site?

commented

I did I generated a world while tweaking the Lost Cities settings. Afterwards went to my world folder, went into the serverconfig folder and copied lostcities-server.toml, but that file just has default settings so I don't see how that'll affect the server if I were to copy it into my server config folder.

commented

Can you give me all details. Exactly what did you do step by step with file locations

commented
  1. I open minecraft and generate a world with LC tweaked.

  2. I go to .minecraft/saves//serverconfig/ and copy lostcities-server.toml

  3. I go to my server folder config folder.

  4. I paste the .toml file in there

  5. I generate a world, but the cities don't generate

commented

UPDATE: lostcities-server.toml actually has some data in it now, I'm going to test it on my server now.

EDIT: yeah it's not working

commented

Would it be better to just copy one of the profiles, edit the contents and set it up to use that profile instead?

commented

I am having the same experience. When I follow the procedure set forth in the CurseForge page, no lost cities are generated, the world/serverconfig/lostcities-server.toml file does not reflect the settings I put in the config folder, and the following messages appear in the debug log:

[21Mar2020 12:10:30.626] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Configuration file ./world/serverconfig/lostcities-server.toml is not correct. Correcting
[21Mar2020 12:10:30.627] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key profiles was corrected from null to SimpleCommentedConfig:{}
[21Mar2020 12:10:30.627] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key profiles.selectedProfile was corrected from null to <CHECK>
[21Mar2020 12:10:30.627] [Server thread/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key profiles.selectedCustomJson was corrected from null to 
commented

I believe i was having the same issue, and figured it out.

In the curse forge documentation, "copy the lostcities-server.toml file that is located in saves/yourworld/config to the server config directory."
When he says "server config directory" i think he does not mean ServerFolder/config but rather ServerFolder/world/serverconfig

That got it working for me, but i am not sure if that is the intended way.