How To Enable Or Disable Ground and Space Zones - SWG-Source/swg-main GitHub Wiki

It is quite useful to be able to specify which planets and space zones load up at server start. The primary reason for doing this is system resources, less zones loaded means less RAM needed and less CPU stress. A secondary reason is when testing modifications, if you run just one zone then the server will reboot very quickly.

There is a config (cfg) file on the VM that handles this procedure: /home/swg/swg-main/exe/linux/localOptions.cfg

You can edit it using any text editor and you will then see this:

Every ground, space and instance zone is listed there and can be disabled by simply placing a # at the beginning of the appropriate line as shown in this example:

The only zones that will load when that server boots up are Tatooine ground and space, which are highlighted in that screenshot. Those two entries do no have a # symbol preceding them and so the server knows it has to load those up. So with the server offline, edit the cfg file as desired and then reboot the server for your new cfg to take effect.

You can use that process to easily configure what loads and what doesn't but more importantly, you can use this method to ease the strain on your PC hardware if you need to.

It is also worth noting that some of those zone names do not immediately give a clear idea of they actually do, this list should help with any confusion in that regard:

  • corellia [Corellia Ground Zone]

  • dantooine [Dantooine Ground Zone]

  • dathomir [Dathomir Ground Zone]

  • endor [Endor Ground Zone]

  • lok [Lok Ground Zone]

  • kashyyyk_dead_forest [Kkowir Forest Ground Zone]

  • kashyyyk_hunting [Etyyy Hunting Grounds]

  • kashyyyk_main [Kachirho Ground Zone]

  • kashyyyk_north_dungeons [Arena & Blackscale Slaver Ground Zones]

  • kashyyyk_pob_dungeons [Avatar Platform & Myyydril Caverns Ground Zones]

  • kashyyyk_rryatt_trail [Rryatt Trail Ground Zone]

  • kashyyyk_south_dungeons [Bocctyyy & Hracca Glade Ground Zones]

  • mustafar [Mustafar Ground Zone]

  • naboo [Naboo Ground Zone]

  • rori [Rori Ground Zone]

  • talus [Talus Ground Zone]

  • tatooine [Tatooine Ground Zone]

  • yavin4 [Yavin IV Ground Zone]

  • space_corellia [Corellia Space Zone]

  • space_dantooine [Dantooine Space Zone]

  • space_dathomir [Dathomir Space Zone]

  • space_endor [Endor Space Zone]

  • space_lok [Lok Space Zone]

  • space_kashyyyk [Kashyyyk Space Zone]

  • space_naboo [Naboo Space Zone]

  • space_nova_orion [Nova Orion Space Zone]

  • space_tatooine [Tatooine Space Zone]

  • space_yavin4 [Yavin Space Zone]

  • space_heavy1 [Deep Space Space Zone]

  • space_light1 [Kessel Space Zone]

  • tutorial [Tutorial Ground Zone]

  • dungeon1 [Corellian Corvette, Tansarii & Dungeon, ISD, Axkva Min, Exar Kun, IG-88, Meatlump, Nova Orion Zones]

  • adventure1 [Tusken Army Heroic Instance Zone]

  • adventure2 [Hoth Heroic Instance Zone]

  • space_npe_falcon [Tutorial Space Zone (Instance 1)]

  • space_npe_falcon_2 [Tutorial Space Zone (Instance 2)]

  • space_npe_falcon_3 [Tutorial Space Zone (Instance 3)]

  • space_ord_mantell [Tutorial Ord Mantell Space Zone]

You can teleport to most of the zones by entering god mode and using this command:

/planetWarp x y z or /planetWarp

The first command allows you to specify exact co-ordinates on the planet, the second just teleports you to the default location.

⚠️ **GitHub.com Fallback** ⚠️