PC Noob question on seeds if I may please?

Derringer68

New member
Hi guys I wasn't exactly sure where to post this so please move it if I have done the wrong thing. I am just a little confused about seeds. Map seeds I mean. For example, if I make a dedicated server, (which I have) do I need to generate a seed in a single player game first and then transfer the whole map into my dedicated server directory or do I just need to put the name of the seed in the server config file, (where is asks for map name) and then the server generates that map as it boots up? I just can't seem to find anything concrete about this issue and was really hoping you guys might know. Thanks in advance for any and all help. :)  Oh I'm on version 1.0 if that makes a difference, (latest experimental.)

 
I thought there was a command for generating a world on the server, but I could be wrong. IIRC, generating a map on a client and copying it over should work too.

I don't think you can just put a seed in a config file and automatically have a world generated for you.

I've not messed with running a server in over a year so I hope I'm not giving you bad information.

 
Hi Derringer68,
Maps are generated on the dedicated server by using the servercfg.xml. You would want to make sure you update the following settings:

    <!-- GAMEPLAY -->
    
    <!-- World -->
    <property name="GameWorld"                        value="Navezgane"/>            <!-- "RWG" (see WorldGenSeed and WorldGenSize options below) or any already existing world name in the Worlds folder (currently shipping with e.g. "Navezgane", "Pregen04kA", "Pregen04kB", "Pregen04kC", "Pregen04kD", "Pregen06kA", "Pregen06kB", "Pregen06kC", "Pregen06kD", "Pregen08kA", "Pregen08kB", "Pregen08kC", "Pregen08kD", "Pregen10kA", "Pregen10kB", "Pregen10kC", "Pregen10kD", ...) -->

    <property name="WorldGenSeed"                    value="asdf"/>                <!-- If RWG this is the seed for the generation of the new world. If a world with the resulting name already exists it will simply load it -->

    <property name="WorldGenSize"                    value="6144"/>                <!-- If RWG, this controls the width and height of the created world. Officially supported sizes are between 6144 and 10240 and must be a multiple of 2048, e.g. 6144, 8192, 10240. -->

    <property name="GameName"                        value="My Game"/>            <!-- Whatever you want the game name to be (allowed [A-Za-z0-9_-. ]). This affects the save game name as well as the seed used when placing decoration (trees etc) in the world. It does not control the generic layout of the world if creating an RWG world -->

    <property name="GameMode"                        value="GameModeSurvival"/>    <!-- GameModeSurvival -->

If you decide to generate the map locally and FTP it to your server, you will want to make sure you update the server config with the same information. If you leave the server cfg as default, it will generate another map based on the default info.

Hope this helps.

 
Back
Top