Skip to content

Commit

Permalink
get rid of hns svs
Browse files Browse the repository at this point in the history
  • Loading branch information
jvnipers committed Aug 20, 2024
1 parent 2421236 commit de159e1
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 137 deletions.
28 changes: 8 additions & 20 deletions src/commands/CS2/cs2-check-gameinfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ module.exports = {
{ name: "CS2 EU - FKZ 1 - Whitelist", value: "cs2-fkz-1" },
{ name: "CS2 EU - FKZ 2 - Public KZ", value: "cs2-fkz-2" },
{ name: "CS2 EU - FKZ 3 - Public MV", value: "cs2-fkz-3" },
{ name: "CS2 EU - FKZ 4 - Public HNS", value: "cs2-fkz-4" },
{ name: "CS2 EU - FKZ 5 - Testing", value: "cs2-fkz-5" },
{ name: "CS2 NA - FKZ 1 - Public KZ", value: "cs2-fkz-6" },
{ name: "CS2 NA - FKZ 2 - Public MV", value: "cs2-fkz-7" },
{ name: "CS2 NA - FKZ 3 - Public HNS", value: "cs2-fkz-8" }
{ name: "CS2 EU - FKZ 4 - Testing", value: "cs2-fkz-4" },
{ name: "CS2 NA - FKZ 1 - Public KZ", value: "cs2-fkz-5" },
{ name: "CS2 NA - FKZ 2 - Public MV", value: "cs2-fkz-6" }
)
),

Expand Down Expand Up @@ -60,30 +58,20 @@ module.exports = {
id: null,
},
"cs2-fkz-4": {
name: "CS2 EU - FKZ 4 - Public HNS",
user: "cs2-fkz-4",
id: null,
},
"cs2-fkz-5": {
name: "CS2 EU - FKZ 5 - Testing",
name: "CS2 EU - FKZ 4 - Testing",
user: "cs2-fkz-5",
id: null,
},
"cs2-fkz-6": {
"cs2-fkz-5": {
name: "CS2 NA - FKZ 1 - Public KZ",
user: "cs2-fkz-6",
user: "cs2-fkz-5",
id: process.env.NA_CS2_KZ_SERVERID,
},
"cs2-fkz-7": {
"cs2-fkz-6": {
name: "CS2 NA - FKZ 1 - Public MV",
user: "cs2-fkz-7",
user: "cs2-fkz-6",
id: process.env.NA_CS2_MV_SERVERID,
},
"cs2-fkz-8": {
name: "CS2 NA - FKZ 1 - Public HNS",
user: "cs2-fkz-8",
id: process.env.NA_CS2_HNS_SERVERID,
},
}[servers];

if (!server) {
Expand Down
28 changes: 8 additions & 20 deletions src/commands/CS2/cs2-force-update.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ module.exports = {
{ name: "CS2 EU - FKZ 1 - Whitelist", value: "cs2-fkz-1" },
{ name: "CS2 EU - FKZ 2 - Public KZ", value: "cs2-fkz-2" },
{ name: "CS2 EU - FKZ 3 - Public MV", value: "cs2-fkz-3" },
{ name: "CS2 EU - FKZ 4 - Public HNS", value: "cs2-fkz-4" },
{ name: "CS2 EU - FKZ 5 - Testing", value: "cs2-fkz-5" },
{ name: "CS2 NA - FKZ 1 - Public KZ", value: "cs2-fkz-6" },
{ name: "CS2 NA - FKZ 2 - Public MV", value: "cs2-fkz-7" },
{ name: "CS2 NA - FKZ 3 - Public HNS", value: "cs2-fkz-8" }
{ name: "CS2 EU - FKZ 4 - Testing", value: "cs2-fkz-4" },
{ name: "CS2 NA - FKZ 1 - Public KZ", value: "cs2-fkz-5" },
{ name: "CS2 NA - FKZ 2 - Public MV", value: "cs2-fkz-6" }
)
),

Expand Down Expand Up @@ -58,30 +56,20 @@ module.exports = {
id: null,
},
"cs2-fkz-4": {
name: "CS2 EU - FKZ 4 - Public HNS",
user: "cs2-fkz-4",
id: null,
},
"cs2-fkz-5": {
name: "CS2 EU - FKZ 5 - Testing",
name: "CS2 EU - FKZ 4 - Testing",
user: "cs2-fkz-5",
id: null,
},
"cs2-fkz-6": {
"cs2-fkz-5": {
name: "CS2 NA - FKZ 1 - Public KZ",
user: "cs2-fkz-6",
user: "cs2-fkz-5",
id: process.env.NA_CS2_KZ_SERVERID,
},
"cs2-fkz-7": {
"cs2-fkz-6": {
name: "CS2 NA - FKZ 1 - Public MV",
user: "cs2-fkz-7",
user: "cs2-fkz-6",
id: process.env.NA_CS2_MV_SERVERID,
},
"cs2-fkz-8": {
name: "CS2 NA - FKZ 1 - Public HNS",
user: "cs2-fkz-8",
id: process.env.NA_CS2_HNS_SERVERID,
},
}[servers];

if (!server) {
Expand Down
28 changes: 8 additions & 20 deletions src/commands/CS2/cs2-restart.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ module.exports = {
{ name: "CS2 EU - FKZ 1 - Whitelist", value: "cs2-fkz-1" },
{ name: "CS2 EU - FKZ 2 - Public KZ", value: "cs2-fkz-2" },
{ name: "CS2 EU - FKZ 3 - Public MV", value: "cs2-fkz-3" },
{ name: "CS2 EU - FKZ 4 - Public HNS", value: "cs2-fkz-4" },
{ name: "CS2 EU - FKZ 5 - Testing", value: "cs2-fkz-5" },
{ name: "CS2 NA - FKZ 1 - Public KZ", value: "cs2-fkz-6" },
{ name: "CS2 NA - FKZ 2 - Public MV", value: "cs2-fkz-7" },
{ name: "CS2 NA - FKZ 3 - Public HNS", value: "cs2-fkz-8" }
{ name: "CS2 EU - FKZ 4 - Testing", value: "cs2-fkz-4" },
{ name: "CS2 NA - FKZ 1 - Public KZ", value: "cs2-fkz-5" },
{ name: "CS2 NA - FKZ 2 - Public MV", value: "cs2-fkz-6" }
)
),

Expand Down Expand Up @@ -58,30 +56,20 @@ module.exports = {
id: null,
},
"cs2-fkz-4": {
name: "CS2 EU - FKZ 4 - Public HNS",
user: "cs2-fkz-4",
id: null,
},
"cs2-fkz-5": {
name: "CS2 EU - FKZ 5 - Testing",
name: "CS2 EU - FKZ 4 - Testing",
user: "cs2-fkz-5",
id: null,
},
"cs2-fkz-6": {
"cs2-fkz-5": {
name: "CS2 NA - FKZ 1 - Public KZ",
user: "cs2-fkz-6",
user: "cs2-fkz-5",
id: process.env.NA_CS2_KZ_SERVERID,
},
"cs2-fkz-7": {
"cs2-fkz-6": {
name: "CS2 NA - FKZ 1 - Public MV",
user: "cs2-fkz-7",
user: "cs2-fkz-6",
id: process.env.NA_CS2_MV_SERVERID,
},
"cs2-fkz-8": {
name: "CS2 NA - FKZ 1 - Public HNS",
user: "cs2-fkz-8",
id: process.env.NA_CS2_HNS_SERVERID,
},
}[servers];

if (!server) {
Expand Down
28 changes: 8 additions & 20 deletions src/commands/CS2/cs2-start.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ module.exports = {
{ name: "CS2 EU - FKZ 1 - Whitelist", value: "cs2-fkz-1" },
{ name: "CS2 EU - FKZ 2 - Public KZ", value: "cs2-fkz-2" },
{ name: "CS2 EU - FKZ 3 - Public MV", value: "cs2-fkz-3" },
{ name: "CS2 EU - FKZ 4 - Public HNS", value: "cs2-fkz-4" },
{ name: "CS2 EU - FKZ 5 - Testing", value: "cs2-fkz-5" },
{ name: "CS2 NA - FKZ 1 - Public KZ", value: "cs2-fkz-6" },
{ name: "CS2 NA - FKZ 2 - Public MV", value: "cs2-fkz-7" },
{ name: "CS2 NA - FKZ 3 - Public HNS", value: "cs2-fkz-8" }
{ name: "CS2 EU - FKZ 4 - Testing", value: "cs2-fkz-4" },
{ name: "CS2 NA - FKZ 1 - Public KZ", value: "cs2-fkz-5" },
{ name: "CS2 NA - FKZ 2 - Public MV", value: "cs2-fkz-6" }
)
),

Expand Down Expand Up @@ -58,30 +56,20 @@ module.exports = {
id: null,
},
"cs2-fkz-4": {
name: "CS2 EU - FKZ 4 - Public HNS",
user: "cs2-fkz-4",
id: null,
},
"cs2-fkz-5": {
name: "CS2 EU - FKZ 5 - Testing",
name: "CS2 EU - FKZ 4 - Testing",
user: "cs2-fkz-5",
id: null,
},
"cs2-fkz-6": {
"cs2-fkz-5": {
name: "CS2 NA - FKZ 1 - Public KZ",
user: "cs2-fkz-6",
user: "cs2-fkz-5",
id: process.env.NA_CS2_KZ_SERVERID,
},
"cs2-fkz-7": {
"cs2-fkz-6": {
name: "CS2 NA - FKZ 1 - Public MV",
user: "cs2-fkz-7",
user: "cs2-fkz-6",
id: process.env.NA_CS2_MV_SERVERID,
},
"cs2-fkz-8": {
name: "CS2 NA - FKZ 1 - Public HNS",
user: "cs2-fkz-8",
id: process.env.NA_CS2_HNS_SERVERID,
},
}[servers];

if (!server) {
Expand Down
28 changes: 8 additions & 20 deletions src/commands/CS2/cs2-stop.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ module.exports = {
{ name: "CS2 EU - FKZ 1 - Whitelist", value: "cs2-fkz-1" },
{ name: "CS2 EU - FKZ 2 - Public KZ", value: "cs2-fkz-2" },
{ name: "CS2 EU - FKZ 3 - Public MV", value: "cs2-fkz-3" },
{ name: "CS2 EU - FKZ 4 - Public HNS", value: "cs2-fkz-4" },
{ name: "CS2 EU - FKZ 5 - Testing", value: "cs2-fkz-5" },
{ name: "CS2 NA - FKZ 1 - Public KZ", value: "cs2-fkz-6" },
{ name: "CS2 NA - FKZ 2 - Public MV", value: "cs2-fkz-7" },
{ name: "CS2 NA - FKZ 3 - Public HNS", value: "cs2-fkz-8" }
{ name: "CS2 EU - FKZ 4 - Testing", value: "cs2-fkz-4" },
{ name: "CS2 NA - FKZ 1 - Public KZ", value: "cs2-fkz-5" },
{ name: "CS2 NA - FKZ 2 - Public MV", value: "cs2-fkz-6" }
)
),

Expand Down Expand Up @@ -58,30 +56,20 @@ module.exports = {
id: null,
},
"cs2-fkz-4": {
name: "CS2 EU - FKZ 4 - Public HNS",
user: "cs2-fkz-4",
id: null,
},
"cs2-fkz-5": {
name: "CS2 EU - FKZ 5 - Testing",
name: "CS2 EU - FKZ 4 - Testing",
user: "cs2-fkz-5",
id: null,
},
"cs2-fkz-6": {
"cs2-fkz-5": {
name: "CS2 NA - FKZ 1 - Public KZ",
user: "cs2-fkz-6",
user: "cs2-fkz-5",
id: process.env.NA_CS2_KZ_SERVERID,
},
"cs2-fkz-7": {
"cs2-fkz-6": {
name: "CS2 NA - FKZ 1 - Public MV",
user: "cs2-fkz-7",
user: "cs2-fkz-6",
id: process.env.NA_CS2_MV_SERVERID,
},
"cs2-fkz-8": {
name: "CS2 NA - FKZ 1 - Public HNS",
user: "cs2-fkz-8",
id: process.env.NA_CS2_HNS_SERVERID,
},
}[servers];

if (!server) {
Expand Down
28 changes: 8 additions & 20 deletions src/commands/CS2/cs2-update.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ module.exports = {
{ name: "CS2 EU - FKZ 1 - Whitelist", value: "cs2-fkz-1" },
{ name: "CS2 EU - FKZ 2 - Public KZ", value: "cs2-fkz-2" },
{ name: "CS2 EU - FKZ 3 - Public MV", value: "cs2-fkz-3" },
{ name: "CS2 EU - FKZ 4 - Public HNS", value: "cs2-fkz-4" },
{ name: "CS2 EU - FKZ 5 - Testing", value: "cs2-fkz-5" },
{ name: "CS2 NA - FKZ 1 - Public KZ", value: "cs2-fkz-6" },
{ name: "CS2 NA - FKZ 2 - Public MV", value: "cs2-fkz-7" },
{ name: "CS2 NA - FKZ 3 - Public HNS", value: "cs2-fkz-8" }
{ name: "CS2 EU - FKZ 4 - Testing", value: "cs2-fkz-4" },
{ name: "CS2 NA - FKZ 1 - Public KZ", value: "cs2-fkz-5" },
{ name: "CS2 NA - FKZ 2 - Public MV", value: "cs2-fkz-6" }
)
),

Expand Down Expand Up @@ -58,30 +56,20 @@ module.exports = {
id: null,
},
"cs2-fkz-4": {
name: "CS2 EU - FKZ 4 - Public HNS",
user: "cs2-fkz-4",
id: null,
},
"cs2-fkz-5": {
name: "CS2 EU - FKZ 5 - Testing",
name: "CS2 EU - FKZ 4 - Testing",
user: "cs2-fkz-5",
id: null,
},
"cs2-fkz-6": {
"cs2-fkz-5": {
name: "CS2 NA - FKZ 1 - Public KZ",
user: "cs2-fkz-6",
user: "cs2-fkz-5",
id: process.env.NA_CS2_KZ_SERVERID,
},
"cs2-fkz-7": {
"cs2-fkz-6": {
name: "CS2 NA - FKZ 1 - Public MV",
user: "cs2-fkz-7",
user: "cs2-fkz-6",
id: process.env.NA_CS2_MV_SERVERID,
},
"cs2-fkz-8": {
name: "CS2 NA - FKZ 1 - Public HNS",
user: "cs2-fkz-8",
id: process.env.NA_CS2_HNS_SERVERID,
},
}[servers];

if (!server) {
Expand Down
17 changes: 0 additions & 17 deletions src/commands/Embeds/servers-embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ module.exports = {
const cs2WLeu = "euwl.femboy.kz";
const cs2KZeu = "eu1.femboy.kz:27016";
const cs2MVeu = "eu2.femboy.kz:27017";
const cs2HNSeu = "eu3.femboy.kz:27018";

const cs2KZna = "na1.femboy.kz:26578";
const cs2MVna = "na2.femboy.kz:26212";
const cs2HNSna = "na3.femboy.kz:26582";

const embedHeader = new EmbedBuilder()
.setTitle("**FemboyKZ Servers**")
Expand Down Expand Up @@ -185,21 +183,6 @@ module.exports = {
value: `[*${cs2MVna}*](<https://cs2.femboy.kz/connect?ip=${cs2MVna}>)`,
inline: true,
},
{
name: ":flag_eu: **HNS**",
value: `[*${cs2HNSeu}*](<https://cs2.femboy.kz/connect?ip=${cs2HNSeu}>)`,
inline: true,
},
{
name: "\u200B",
value: "\u200B",
inline: true,
},
{
name: ":flag_us: **HNS**",
value: `[*${cs2HNSna}*](<https://cs2.femboy.kz/connect?ip=${cs2HNSna}>)`,
inline: true,
},
]);

await channel.send({
Expand Down

0 comments on commit de159e1

Please sign in to comment.