Skip to content

Commit

Permalink
feat: deprecate Last Oasis (#4349)
Browse files Browse the repository at this point in the history
The commit removes the Last Oasis game server configuration file `_default.cfg` and the corresponding module `fix_lo.sh`. These files are no longer needed as Last Oasis is being removed from the supported games list.
  • Loading branch information
dgibbs64 authored Oct 22, 2023
1 parent 069e3bd commit 8b0d98c
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 230 deletions.
189 changes: 0 additions & 189 deletions lgsm/config-default/config-lgsm/loserver/_default.cfg

This file was deleted.

1 change: 0 additions & 1 deletion lgsm/data/serverlist.csv
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ kf,kfserver,Killing Floor,ubuntu-22.04
kf2,kf2server,Killing Floor 2,ubuntu-22.04
l4d,l4dserver,Left 4 Dead,ubuntu-22.04
l4d2,l4d2server,Left 4 Dead 2,ubuntu-22.04
lo,loserver,Last Oasis,ubuntu-22.04
mc,mcserver,Minecraft,ubuntu-22.04
mcb,mcbserver,Minecraft Bedrock,ubuntu-22.04
mh,mhserver,MORDHAU,ubuntu-22.04
Expand Down
5 changes: 0 additions & 5 deletions lgsm/modules/core_modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -396,11 +396,6 @@ fix_kf2.sh() {
fn_fetch_module
}

fix_lo.sh() {
modulefile="${FUNCNAME[0]}"
fn_fetch_module
}

fix_mcb.sh() {
modulefile="${FUNCNAME[0]}"
fn_fetch_module
Expand Down
15 changes: 0 additions & 15 deletions lgsm/modules/fix_lo.sh

This file was deleted.

10 changes: 0 additions & 10 deletions lgsm/modules/info_game.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1366,14 +1366,6 @@ fn_info_game_jk2() {
serverversion="${serverversion:-"NOT SET"}"
}

# Config Type: unknown
fn_info_game_lo() {
servername="${servername:-"NOT SET"}"
port="${port:-"0"}"
queryport="${queryport:-"0"}"
maxplayers="${slots:-"0"}"
}

# Config Type: Java properties
# Comment: # or !
# Example: motd=SERVERNAME
Expand Down Expand Up @@ -2288,8 +2280,6 @@ elif [ "${shortname}" == "kf" ]; then
fn_info_game_kf
elif [ "${shortname}" == "kf2" ]; then
fn_info_game_kf2
elif [ "${shortname}" == "lo" ]; then
fn_info_game_lo
elif [ "${shortname}" == "mc" ] || [ "${shortname}" == "pmc" ]; then
fn_info_game_mc
elif [ "${shortname}" == "mcb" ]; then
Expand Down
10 changes: 0 additions & 10 deletions lgsm/modules/info_messages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1134,14 +1134,6 @@ fn_info_message_kf2() {
} | column -s $'\t' -t
}

fn_info_message_lo() {
{
fn_port "header"
fn_port "Game" port udp
fn_port "Query" queryport udp
} | column -s $'\t' -t
}

fn_info_message_mc() {
{
fn_port "header"
Expand Down Expand Up @@ -1747,8 +1739,6 @@ fn_info_message_select_engine() {
fn_info_message_kf
elif [ "${shortname}" == "kf2" ]; then
fn_info_message_kf2
elif [ "${shortname}" == "lo" ]; then
fn_info_message_lo
elif [ "${shortname}" == "mc" ] || [ "${shortname}" == "pmc" ] || [ "${shortname}" == "wmc" ]; then
fn_info_message_mc
elif [ "${shortname}" == "mcb" ]; then
Expand Down

0 comments on commit 8b0d98c

Please sign in to comment.