Commit Graph

34 Commits

Author SHA1 Message Date
Stephan Schaffner
ce27b7301b
feat(newserver): add Xonotic (#4633)
* Adding default_cfg and Distro Requirements

* Adding Shellscripts for Xonotic

* Fixing serverlist.csv

* Fixing again serverlist.csv

* Fixed Typo

* Changing Shortname to XNT

* Fixing missed _default.cfg change

* Fixing _default.cfg

* Updating Modules and Server installation

* Updating paths and install script

* Fixing install Scripts Issues

* Update info_game.sh

* Updating Game Info Curling

* fix bug with npm download of gamedig on branches

* styling fix

* move to fix

* typo

* bug

* add missing details

* edit using config

* add missing servercfgfullpath

* bug

* config settings update

* update cp command based off warn message

* fix dir

* update dirs

* fix exit code

* fix dir install

* remove -v

* update settings

* update info game

* update config type

* fix dir

* update config parsing

* change to remove config

* add server.cfg

* remove serverconfigdefault

* add new default

* move to use an updater

* send key to update function

* typo

* change extract location

* update directory location

* filename fix

* update dirs

* fix extraction

* creatre datadir if missing

* consoleinteract yes

* lint

---------

Co-authored-by: Stephan Schaffner <stephan.schaffner@check24.de>
Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
2024-08-28 21:32:38 +01:00
Thomas S
493a3a82fa
feat(newserver): soulmask (#4590)
* feat: reference new smserver

* feat: add default config

* feat: add stop command using telnet

* fix: remove duplicate unused telnetpassword var

* feat: add soulmask to config & info functions

* fix: remove ini config for now

* fix: startparameter initialization fix

* feat: remove pve fixed param in startparameters

* fix: update default gamelogdir

* fix: handle telnet response during stop process

* add sm fix

* add fix_sm.sh

* add ss command

* and

* add memory requirements

* adjust start parameters

* remove telnetpassword

* add backup interval

a

* comments

* rename variables to telnetpassword

* var name change

---------

Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
2024-06-16 19:18:00 +01:00
Daniel Gibbs
88f8890229
feat: deprecate Memories of Mars (#4593) 2024-06-13 11:45:06 +01:00
Maciej Głowacki
a2bea8d791
feat(vhserver): enable crossplay support (#4544)
* Install valheim dependencies for crossplay on Ubuntu

* Setup minimal required dependencies for valheim crossplay

* will set crossplay to default on and add instance id

* add ubuntu 24.04

---------

Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
2024-05-22 22:16:33 +01:00
Cristopfer Luis
7cc5b6b520
feat(new server): humanitz (#4518)
* feat: add config for humanitz

* fix: pending changes required

* fix: install config

* bug

---------

Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
2024-03-14 15:38:01 +00:00
MicLieg
476ed02bec
feat(backup): add parallel backup creation using pigz (#4509) 2024-02-26 13:57:55 +00:00
Daniel Gibbs
9bad6cfea9
feat(new server): Palworld (#4449)
* add palworld

* add palworld

* add palworld to ubuntu

* add server to serverlist

* rework _default.cfg for pwserver

* fix servercfgdir for palworld

* edit _default.cfg for pwserver

* first try info_game.sh

* debug info_game.sh

* update info_game.sh

* update info_game.sh

* update info_game.sh

* add package check for rhel, rocky, debian & ubuntu

* add details port info

* add details port change

* improve _default.cfg for pwserver

* improve _default.cfg for pwserver

* fix issues mentioned in pr

* change servername parameter for pwserver

* add: steamport var for Palworld

* fix: info_game for palworld

* change: load palworld settings from serverconfig file & change unknow port

* update ports info

* change to binary file from .sh

prevents issues with ss command

---------

Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
add palworld game icon

add missing pw
2024-01-21 20:54:19 +00:00
Daniel Gibbs
5685ece4bc
deprecate cd 2023-12-03 19:56:58 +00:00
Daniel Gibbs
38079bac84
feat(new server): Quake 4 (#4398) 2023-11-30 21:21:11 +00:00
Daniel Gibbs
67472a824f
feat(new server): The Front (#4359)
* add the front

* config

* appid

* config

* parameters

* params

* params

* ports

* update parameters

* verbose

* variable

* fix

* multihome

* update ip addressing

* add ip vars

* info

* add ft-icon

* add missing tf
2023-10-29 21:27:21 +00:00
Daniel Gibbs
f33bfdf47c
feat(new server): Counter Strike 2 (#4356)
* cs2

* config

* fix: remove lo code

* config

* params

* source2

* game info

* messages

* config changes

* dirs

* config

* refactor: refactor info message functions in alert.sh, command_details.sh, command_dev_query_raw.sh, and command_postdetails.sh

- Refactored the info message functions in multiple files to have consistent naming conventions.
- Renamed fn_info_message_* functions to fn_info_messages_* for clarity and consistency.
- Updated function calls accordingly.

* refactor: remove unnecessary code duplication in info_game.sh

The commit removes duplicated code for retrieving server information from the game configuration file. Specifically, it removes redundant lines related to rconpassword, rconport, and serverpassword. This improves code readability and maintainability.

* cs2

* cs2

* cs2 icon

* remove lo

* remove file

* remove lo

* update url

* ignore games with no configs

* remove configs from games that have non

* details check fix

* details check

* details check

* ignore systemdir check if running github actions

* fix name
2023-10-27 23:59:57 +01:00
Daniel Gibbs
20f5e8d5dc feat(ps): Renamed pstbs to ps
Post Scriptum changed is name removing "The Bloody Seventh" part. I have updated the naming of this game server.
2023-09-06 19:27:05 +01:00
Daniel Gibbs
5f0f12a9b2
feat(vint): migrate to dotnet from mono (#4304)
* adde dotnet repo

* feat: update package dependencies for Ubuntu 16.04, 18.04, and 20.04

- Updated the package dependency for "vints" from "mono-complete" to "aspnetcore-runtime-7.0" in the Ubuntu 16.04, 18.04, and 20.04 CSV files.
- Also updated the package dependency for "vpmc" from "openjdk-8-jre" to "openjdk-11-jre" in the Ubuntu 18.04 and 20.04 CSV files.

This commit ensures that the correct package dependencies are specified for these Ubuntu versions, improving compatibility and functionality of the codebase.

* refactor: update dependency check for ASP.NET Core runtime

The code has been refactored to update the dependency check for the ASP.NET Core runtime. The condition that checks for the presence of "dotnet-runtime-7.0" has been changed to "aspnetcore-runtime-7.0". This ensures that the correct dependency is being checked and improves accuracy in determining if the required runtime is installed.

* fix: fix conditional statement in check_deps.sh

The commit fixes a bug in the conditional statement of the check_deps.sh script. Previously, it incorrectly checked if dotnetversion was empty instead of checking if it was not empty. This caused an incorrect value to be assigned to depstatus and dotnetinstalled variables. The bug has been fixed by correcting the conditional statement.

* refactor: simplify install_config.sh

This commit simplifies the `install_config.sh` file by removing unnecessary code for the "vints" configuration. The configuration is now generated on first run, and the list of config locations is still provided.

* refactor: improve error handling and display in core_exit.sh and install_config.sh

- In core_exit.sh, added a check to set exit code to 4 if it is not already set.
- In install_config.sh, improved the display of missing config file by highlighting the file path.

These changes aim to enhance the error handling and provide clearer information to users.

* feat: add exitcode handling to command_install.sh

The commit adds a check for the exitcode variable in command_install.sh. If it is empty, it sets it to 0. This change ensures proper handling of the exitcode in the script.

* refactor: improve installation process

The code changes in this commit refactor the installation process. The `command_install.sh` file has been modified to remove unnecessary code. Additionally, the `install_complete.sh` file has been updated to provide more informative messages based on the exit code. This improves the overall clarity and user experience during installation.

Co-authored-by: AI Assistant <assistant@example.com>

* refactor: remove redundant code in install_config.sh

The commit removes a redundant function call in the install_config.sh file. The "fn_list_config_locations" function is no longer needed for the "vints" configuration.

* a

* refactor: improve logging in command_stop.sh

- Changed `fn_script_log_error` to `fn_script_log_info` for consistency
- Removed unnecessary empty line

* refactor: dont try to stop a server that is already stopped

* refactor: remove redundant code and improve socket name generation

The commit refactors the code in `command_start.sh` and `linuxgsm.sh` to remove redundant code related to generating a unique tmux socket name. The code now creates a uid file if it doesn't exist, stops the running server, generates a uid using the current timestamp, and updates the socketname accordingly. This change improves the efficiency and reliability of socket name generation.

* refactor: remove unnecessary command_stop.sh call

The code change removes the unnecessary call to `command_stop.sh` in the `linuxgsm.sh` file. This improves efficiency and prevents lingering tmux sessions.

* refactor: remove duplicate code for creating unique tmux socket name

The code changes in `command_start.sh` and `linuxgsm.sh` refactor the creation of a unique tmux socket name. The duplicate code in `linuxgsm.sh` has been removed, resulting in cleaner and more efficient code.

* refactor: improve socketname assignment

The code change refactors the socketname assignment in the linuxgsm.sh script. Instead of directly assigning it to "${sessionname}-$(cat "${datadir}/${selfname}.uid")", it now checks if the file "${datadir}/${selfname}.uid" exists before assigning the value. This improves error handling and prevents potential issues when the file doesn't exist.
2023-09-04 21:24:27 +01:00
Daniel Gibbs
7d958ea222 fix(st): update st settings to get it working again 2023-06-30 00:52:31 +01:00
Daniel Gibbs
d9d6b6ebd3 fix(bt): add missing libxml2-utils
The commit adds the libxml2-utils package to several CSV files. This change is necessary for the proper functioning of some scripts that depend on this package.
2023-06-19 17:52:15 +01:00
Christian
561206ccb4
feat(newserver): Craftopia (#3739)
* feat(newserver): Craftopia
* exitcode 0
---------

Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
2023-05-26 22:57:26 +01:00
Christian
099d94017a
feature(newserver): Operation: Harsh Doorstop (#4112)
* feat(newserver): Operation: Harsh Doorstop

---------

Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
2023-05-25 21:36:03 +01:00
Daniel Gibbs
03365ca5a7
feat: serverlist validate (#4207)
* server list validate

* dir

* dir

* dir

* cr

* add missing pc2

* pc2

* fix branch

* exit code

* repo

* branch

* fix csv

* letter

* tidy

* codacy

* exit code
2023-05-19 18:58:48 +01:00
Daniel Gibbs
40757ae9b5
feat(details): refactor of game info (#4174)
* feat(btl): rename bt1944 to btl (#4124)

* fix(bt1944): update binary file

* feat(btl): rename bt1944 to btl

* rename gameworld to worldname

* rename autosaveinverval to saveinterval

* rust seed

* add exit code to details

* update some variables

* comment

* update random

* current refactor

* modules

* json

* xml

* add core modules to functions dir

* functions

* fix

* use xmllint for parsing xml

* check root

* check logs

* sdtd

* quakec

* changes

* remove dev null

* arma3

* add detect details

* config origin

* fix: cmw mkdir bug

* ini improvements

* further ini improvements

* dst ini

* revert

* httpport

* max players

* source engine

* fix: cannot iterate over null

* fix quakec

* fix(nec): no query port

* more updates

* more updated

* more

* more

* telnet ip

* first test of details checking

* more details updates

* more standardizing

* comment out steamport in not set

* kf2 master server true

* update roserver

* fix bug

* looks for file called config and uses that

* test


test


test


test


test

* download correct configs

* test


test


test


test


test


test


test


test


test


test


test


test


test


test


test


test


test


test


test

* remove blank lines

* update var names

* fail

* continue on error

* install xmllint

* adjust quakec

* fix dst

* fix java

* re order mcb

* fix query port mc

* fix mom

* fix pc

* pc add http port

* add api and http port

* change naming to http from web admin

* api port

* http

* pc2

* add query raw

* list cluster config

* servercfgparse

* update avserver

* tidy up steam ports

* more servers completed

* fix sb

* no config file

* no config file

* add emserver config install

* codacy

* add legacy vars

* add more legacy

* add xmllint

* mta xmllint

* codacy

* codacy
2023-05-16 20:56:58 +01:00
Daniel Gibbs
7eef6330d7
feat(mumble): remove support for mumble (#4128)
deprecate mumble support as Linux is no longer being supported by the Mumble dev team
2023-03-01 19:53:47 +00:00
Daniel Gibbs
e8cb43a058 feat(btl): rename bt1944 to btl (#4124)
* fix(bt1944): update binary file

* feat(btl): rename bt1944 to btl
2023-02-27 00:23:59 +00:00
Daniel Gibbs
e4e73d25f1 fix: tidy up dependency csv files 2023-02-18 00:09:46 +00:00
Christian
146b29972d
feat(newserver): Core Keeper (#3884)
Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
2023-02-17 23:56:47 +00:00
Marcin Jakubowski
3d936381fa
feat(newserver): American Truck Simulator (#4105) 2023-02-17 22:50:41 +00:00
crawforc3
fbaed94324
feat(newserver): Necesse (#3997)
* Add Necesse game server

* change github info for testing

* add defaul config

* fix config

* Update config

* revery github repo

* remove artifact

* Update _default.cfg

* Update install sequence

* Update servercfg

* Add post install

* Update nec post isntall

* update fixes

* Remove config checks

* update install config

* fix typo

* Add config check

* add config checks to post install

* fix install config

* update fix.sh

* Clean up

* correct dependencies

* add details

* add nec

* config

* update dependencies

* prettier

Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
2022-10-30 22:24:07 +00:00
Christian
bf1fc1833b
feat(newserver): add Velocity Proxy (#3904) 2022-09-22 21:26:19 +01:00
Christian
f3ad2f1655
fix(deps): remove duplicate dependencys what was added with 490cd3fa5a (#3957) 2022-08-23 20:32:22 +01:00
Christian
c68394ff62
feat(newserver): Arma Reforger (#3871)
* feat(newserver): Arma Reforger

* feat(armarserver): Add server profile name

* feat(armarserver): Add fix for create profile directory

* feat(armar): limit fps for the server to fix the performance

* feat(armar): add dependencys

Co-authored-by: FliesWithWind <w.zydecki@gmail.com>

* feat(armar): move queryport to config parser and add adminpass

* feat(armar): fix dependencys

* change ss command for armar

* add battleeyeport

* bug

* tcp

Co-authored-by: Marcin Jakubowski <marcin648@gmail.com>
Co-authored-by: FliesWithWind <w.zydecki@gmail.com>
Co-authored-by: Daniel Gibbs <me@danielgibbs.co.uk>
2022-06-02 21:58:07 +01:00
Christian
f06dfc45c3
feat(newserver): The Isle (#3720) 2021-12-20 21:28:34 +00:00
Marcin Jakubowski
54bf33264d
feat(newserver): DayZ (#3557)
* feat(dayzserver): add base dayz support

* feat(dayzserver): add game info support

* fix(dayzserver): fix dayz mods if run in debug

* feat(dayzserver): add install game config

* fix(dayzserver): fix shortname in install_config

* feat(dayzserver): download config from  remote

* fix(dayzserver): fix default server cfg file

* fix(dayzserver): temporarily use default debug cmd

* fix(dayzserver): fix DayZ info game ports

* feat(dayzserver): add change port config location

* refactor(dayzserver): cleaner reading of server variables

* fix(dayzserver): fix DayZ debug parameters.

* fix(dayzserver): add dayz to dependency files

* fix(dayzserver): add gotify allerts to dayz config
2021-12-20 21:07:23 +00:00
Christian
a0d970758c
feat(newserver): Crafting Dead (#3691) 2021-12-20 20:55:50 +00:00
Claiyc
9b6ed8580a
feat(newserver): satisfactory (#3638)
* Add satisfactory default cfg

* add fn_info_message_sf & remove lo duplicate

* add default config installation

* add sf to dependency files
2021-10-27 00:07:03 +01:00
Daniel Gibbs
490cd3fa5a
fix(install): resolve steamcmd dependency issues (#3583)
* fix(install): improve steamcmd detection
2021-09-28 22:51:41 +01:00
Daniel Gibbs
f289ebe560
feat(install): dependency refactor (#3568)
* adding data files

* adding old code back in

* added csv download code

* added debian 11

* distro detection bug

* file github

* adding url checking

* check url

* check dl

* file_url to fileurl

* remove infinite loop

* correct message

* adding file checking

* impove dep checking logic for unsupported distros

* logic

* add missing dep menu

* using update_steamcmd.sh

* added remote location

* download csv file

* download

* logic

* more logic

* speed up dependency loop

* message type change

* remove legacy code

* command only listed on install

* remove nl

* remove check requirement on stop

* missing vints

vints

* add debian based servers

* eco

* add centos8

* mono changes

* correct centos8 csv

* centos 8 fixes

* almalinux-8.4

* add centos 7 and rocky 8

* add dnf and email deps

* add steamcmd requirements

* steamcmd requirements

* dependencysteamcmd

* prevent masterserver from checking more than once per command

* uniq sort dependency array

* re-word of mono repo install

* prevent too many steam api querys

* java and mono check logic

* unset depstatus

* mono status

* java versions

* java wildcard

* depstatus


* bug

* add dodr

* remove i386 command if not needed

* added rhel

* 8.4 to just 8


* added Valheim Plus requriements
2021-09-24 23:18:11 +01:00