summaryrefslogtreecommitdiff
path: root/src/renderer/gameserver/data.ts
blob: 4ca72d61ebc99a9577cd9d443925eefd2f12c921 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// This class returns Data over the gameservers until we find a better solution
import GameServer from "./server";
import GameServerProfile from "./profile";
import { NewsType } from "./news";
import { OnlineListParser } from "./onlineCount";
import { socialLink } from "./socialLink";

const TMW2 = new GameServer(
  new GameServerProfile("server.tmw2.org", 6901, "evol2", "TMW2"),
  "TMW2",
  "TMW2: Moubootaur Legends",
  "What happens if you mix TMW with Evol and add many new Ideas",
  "https://tmw2.org/news",
  { url: "http://updates.tmw2.org/news.txt", type: NewsType.ManaPlus },
  [{ isVideo: false, file: "tmw2/background1.png" }],
  "tmw2/icon.png",
  [
    new socialLink("fas fa-home", "Website", "https://moubootaurlegends.org"),
    new socialLink("fab fa-discord", "Discord", "https://discord.gg/J4gcaqM"),
    new socialLink(
      "fab fa-patreon",
      "Patreon",
      "https://www.patreon.com/TMW2/"
    ),
    new socialLink(
      "fas fa-comments",
      "IRC Chat",
      "http://webchat.freenode.net/?channels=#tmw2"
    ),
    new socialLink(
      "fab fa-youtube",
      "Youtube",
      "https://www.youtube.com/channel/UCiwW5dTmi2xMV_vJfj5Mq5Q"
    ),
    new socialLink(
      "fab fa-steam",
      "Steam Group",
      "http://steamcommunity.com/groups/TheManaWorld2"
    ),
    new socialLink(
      "fab fa-twitter",
      "Twitter",
      "https://twitter.com/TheManaWorld2"
    ),
    new socialLink("fab fa-gitlab", "Gitlab", "https://gitlab.com/TMW2"),
  ],
  "https://tmw2.org/legal",
  { parser: OnlineListParser.JSON_ARRAY, url: "https://tmw2.org/online.json" }
);

const Evol = new GameServer(
  new GameServerProfile("world.evolonline.org", 6901, "evol2"),
  "Evol Online",
  "Evol Online",
  "[EvolDescription]",
  "https://evolonline.org/",
  undefined,
  [{ isVideo: false, file: "evol/background1.png" }],
  "evol/icon.png",
  [new socialLink("fas fa-home", "Website", "https://evolonline.org/")],
  "http://wiki.evolonline.org/rules/gamerules",
  null
);

const TMW = new GameServer(
  new GameServerProfile("server.themanaworld.org", 6901, "tmwAthena"),
  "The Mana World",
  "The Mana World",
  "The clasic TMW experience. Join adventures with people from all over the world.",
  "https://www.themanaworld.org/news",
  {
    url: "http://themanaworld.github.io/tmwa-server-data/news.txt",
    type: NewsType.ManaPlus,
  },
  [{ isVideo: false, file: "tmw/background1.png" }],
  "tmw/icon.png",
  [
    new socialLink("fas fa-home", "Website", "https://www.themanaworld.org/"),
    new socialLink("fas fa-users", "Forum", "https://forums.themanaworld.org/"),
  ],
  "https://wiki.themanaworld.org/index.php/The_Mana_World:Terms_and_Conditions",
  { parser: OnlineListParser.TMW, url: "https://server.themanaworld.org/" }
);
// https://policies.themanaworld.org/tos is still offline

const noServer = new GameServer(
  new GameServerProfile("noServer", 6901, "tmwAthena"),
  "Mana Plus",
  "Open Mana Plus",
  "Opens the ManaPlus client",
  "http://manaplus.org/changelog",
  undefined,
  [{ isVideo: false, file: "noServer/background1.png" }],
  "noServer/icon.svg",
  [
    new socialLink("fas fa-home", "Website", "http://manaplus.org/"),
    new socialLink(
      "fab fa-gitlab",
      "Gitlab",
      "https://gitlab.com/manaplus/manaplus/"
    ),
  ],
  undefined,
  null
);

export const GameServers = [TMW2, Evol, TMW, noServer];