I have a script which starts the server... and guess what it's called.
server 
Output of the file:
[Ignore the #!/bin/bash part if you're not on linux. Also, the profile is useless as you have all the environment variables loaded from the start --
Environment Variables in the
System Properties]
#!/bin/bash
source profile
/opt/planeshift_cvs/planeshift/psserver -run=/this/autorun
The
autorun file contains:
loadmap npcroom
loadmap npcroom1
loadmap npcroom2
loadmap npcroom_corr
spawn
motd Welcome to the test server
ready
The
profile file contains:
#!/bin/bash
export LD_LIBRARY_PATH=/opt/planeshift_cvs/planeshift/cal3d/cal3d/src/cal3d/.libs/:$LD_LIBRARY_PATH
export CRYSTAL=/opt/planeshift_cvs/planeshift/cs
export CEL=/opt/planeshift_cvs/planeshift/cel
export CSCONFPATH=/opt/planeshift_cvs/planeshift/cel
export CAL3D=/opt/planeshift_cvs/planeshift/cal3d/cal3d
Aaaand... you'll also need to modify
psclient.cfg and
psserver.cfg by adding the following (removing the old lines):
; ******************
; * Part 3: Game *
; ******************
Planeshift.Mount.zipmapdir = /this/art/world/
Planeshift.Mount.characterszip = /this/art/characters.zip
Planeshift.Mount.npcszip = /this/art/npcs.zip
Planeshift.Mount.weaponzip = /this/art/things/weapons.zip
Planeshift.Mount.itemzip = /this/art/things/items.zip
Planeshift.Mount.azurezip = /this/art/things/azure_way.zip
Planeshift.Mount.bluezip = /this/art/things/blue_way.zip
Planeshift.Mount.brownzip = /this/art/things/brown_way.zip
Planeshift.Mount.crystalzip = /this/art/things/crystal_way.zip
Planeshift.Mount.darkzip = /this/art/things/dark_way.zip
Planeshift.Mount.redzip = /this/art/things/red_way.zip
Planeshift.Mount.potionszip = /this/art/things/potions.zip
Planeshift.Mount.moneyzip = /this/art/things/money.zip
Planeshift.Mount.bookszip = /this/art/things/books.zip
Planeshift.Mount.shieldszip = /this/art/things/shields.zip
Planeshift.Mount.toolszip = /this/art/things/tools.zip
Planeshift.Mount.naturalreszip = /this/art/things/naturalres.zip
Planeshift.Mount.foodzip = /this/art/things/food.zip
Planeshift.Mount.helmszip = /this/art/things/helms.zip
Planeshift.Mount.jewelryzip = /this/art/things/jewelry.zip
Planeshift.GUI.Skin.Dir = /this/art/skins/
Planeshift.GUI.Skin.Selected = elves
I think the same goes for npcclient.cfg if you plan to start it as well.