Directories

‚Äč

All LinuxGSM directories are set through the following variables.

  • ${rootdir} | The top level directory for LinuxGSM

  • |__ ${lgsmdir} | ${rootdir}/lgsm |Contains all LinuxGSM related files

  • | \__ ${functionsdir} | ${lgsmdir}/functions | All LinuxGSM script functions

  • | \__ ${libdir} | ${lgsmdir}/lib | Any lib files required for game servers

  • | \__ ${tmpdir} | ${lgsmdir}/tmp | Temp directory

  • | \__ ${backupdir} | ${lgsmdir}/backups | Backups are saved here

  • |__ ${serverfiles} | ${rootdir}\serverfiles | Game server files

  • |__ ${logdir} | ${rootdir}\log | Logs directory

  • |\__ ${scriptlogdir} | ${logdir}\script | LinuxGSM specific logs

  • |\__ ${consolelogdir} | ${logdir}\console | TMUX (console output) logs

  • |\__ ${gamelogdir} | ${systemdir}/logs | symbolic link to game logs

Server Specific Directories

Each game server also has its own specific directories these are defined through the following variables

Server Specific Directories

  • ${systemdir} | ${serverfiles}/ShooterGame |

  • ${executabledir} | ${systemdir}/Binaries/Linux | Location of the binary file

  • ${executable} | ./ShooterGameServer | The binary file

  • ${servercfgdir} | ${systemdir}/Saved/Config/LinuxServer | Server config location

  • ${servercfg} | GameUserSettings.ini | Server config name

  • ${servercfgdefault} | GameUserSettings.ini | Default Server config name

  • ${servercfgfullpath}| ${servercfgdir}/${servercfg} | Default Server config location