summaryrefslogblamecommitdiff
path: root/src/renderer/gameserver/data.ts
blob: a55b74533ee10d2a661c4e03b72db60b30376c73 (plain) (tree)
1
2
3
4
5
6



                                                                               
                                  
                                                 









                            
                             
                                                                 
                          
                                                                  




                                                                            
                                                                               




                                                                                                          
    

                                                      










                            
                            
            
                                                


                                                                      
    

                                               










                                                                                    
                                               
                                                                                         
                                               



                                                                              
    

                                                                                






                            
// This class returns Data over the gameservers until we find a better solution
import {socialLink} from './server';
import GameServer from './server';
import GameServerProfile from './profile';
import { NewsType } from './news';
import { OnlineListParser } from './onlineCount';


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://tmw2.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.EXAMPLE_DATA,url:"example"}
);

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-feed.php",
  {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/"}
);

export const GameServers = [
 TMW2,
 Evol,
 TMW
]