Skip to content

Commit 8b0d98c

Browse files
authored
feat: deprecate Last Oasis (#4349)
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.
1 parent 069e3bd commit 8b0d98c

File tree

6 files changed

+0
-230
lines changed

6 files changed

+0
-230
lines changed

lgsm/config-default/config-lgsm/loserver/_default.cfg

Lines changed: 0 additions & 189 deletions
This file was deleted.

lgsm/data/serverlist.csv

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ kf,kfserver,Killing Floor,ubuntu-22.04
6363
kf2,kf2server,Killing Floor 2,ubuntu-22.04
6464
l4d,l4dserver,Left 4 Dead,ubuntu-22.04
6565
l4d2,l4d2server,Left 4 Dead 2,ubuntu-22.04
66-
lo,loserver,Last Oasis,ubuntu-22.04
6766
mc,mcserver,Minecraft,ubuntu-22.04
6867
mcb,mcbserver,Minecraft Bedrock,ubuntu-22.04
6968
mh,mhserver,MORDHAU,ubuntu-22.04

lgsm/modules/core_modules.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -396,11 +396,6 @@ fix_kf2.sh() {
396396
fn_fetch_module
397397
}
398398

399-
fix_lo.sh() {
400-
modulefile="${FUNCNAME[0]}"
401-
fn_fetch_module
402-
}
403-
404399
fix_mcb.sh() {
405400
modulefile="${FUNCNAME[0]}"
406401
fn_fetch_module

lgsm/modules/fix_lo.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

lgsm/modules/info_game.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,14 +1366,6 @@ fn_info_game_jk2() {
13661366
serverversion="${serverversion:-"NOT SET"}"
13671367
}
13681368

1369-
# Config Type: unknown
1370-
fn_info_game_lo() {
1371-
servername="${servername:-"NOT SET"}"
1372-
port="${port:-"0"}"
1373-
queryport="${queryport:-"0"}"
1374-
maxplayers="${slots:-"0"}"
1375-
}
1376-
13771369
# Config Type: Java properties
13781370
# Comment: # or !
13791371
# Example: motd=SERVERNAME
@@ -2288,8 +2280,6 @@ elif [ "${shortname}" == "kf" ]; then
22882280
fn_info_game_kf
22892281
elif [ "${shortname}" == "kf2" ]; then
22902282
fn_info_game_kf2
2291-
elif [ "${shortname}" == "lo" ]; then
2292-
fn_info_game_lo
22932283
elif [ "${shortname}" == "mc" ] || [ "${shortname}" == "pmc" ]; then
22942284
fn_info_game_mc
22952285
elif [ "${shortname}" == "mcb" ]; then

lgsm/modules/info_messages.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,14 +1134,6 @@ fn_info_message_kf2() {
11341134
} | column -s $'\t' -t
11351135
}
11361136

1137-
fn_info_message_lo() {
1138-
{
1139-
fn_port "header"
1140-
fn_port "Game" port udp
1141-
fn_port "Query" queryport udp
1142-
} | column -s $'\t' -t
1143-
}
1144-
11451137
fn_info_message_mc() {
11461138
{
11471139
fn_port "header"
@@ -1747,8 +1739,6 @@ fn_info_message_select_engine() {
17471739
fn_info_message_kf
17481740
elif [ "${shortname}" == "kf2" ]; then
17491741
fn_info_message_kf2
1750-
elif [ "${shortname}" == "lo" ]; then
1751-
fn_info_message_lo
17521742
elif [ "${shortname}" == "mc" ] || [ "${shortname}" == "pmc" ] || [ "${shortname}" == "wmc" ]; then
17531743
fn_info_message_mc
17541744
elif [ "${shortname}" == "mcb" ]; then

0 commit comments

Comments
 (0)